🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #147159

Re: [slrn] macro help please

#147159
From: J.B. Nicholson-Owens
Date: Tue, 27 Apr 2004 15:45
19 lines
1764 bytes
Mike Vanecek wrote:
> definekey("my_quit_group", "\033[24~", "article");

Here you need to include the name of the namespace ("my").

> .slrnrc has [...]
> setkey article my->my_quit_group "%"

If you want to define the key to be F12 and set that in the macro proper,
you don't need this setkey statement.  Generally, it's better to define the
keys in your slrnrc so the key definitions are all in one place and it's
easier to coordinate which keys call which function.

> S-Lang Error: Undefined Name: my_quit_group is undefined
> Why am I getting the error message?

Because my_quit_group is the same as Global->my_quit_group() which does not
exist.  my->my_quit_group() exists and should run if you press the percent
sign key.
Technical Details
Message-ID: <slrnc8t01h.6s8.jbn@forestfield.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!12-221-67-248.client.insightbb.COM!not-for-mail
References: <rc32m1-4mc.ln1@news.invalid.99computer>

Show Full Headers
Complete Article Headers
Message-ID: <slrnc8t01h.6s8.jbn@forestfield.org>
Subject: Re: [slrn] macro help please
Date: Tue, 27 Apr 2004 15:45:55 +0000
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <rc32m1-4mc.ln1@news.invalid.99computer>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!12-221-67-248.client.insightbb.COM!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 19
NNTP-Posting-Host: 12-221-67-248.client.insightbb.com (12.221.67.248)
X-Trace: news.uni-berlin.de 1083080755 14173490 I 12.221.67.248 ([35848])
Mail-Copies-To: nobody
User-Agent: slrn/0.9.7.4 (Linux)