🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #57186

Re: [slrn] "*" behaviour

#57186
From: Dawn Owens-Nicholson
Date: Mon, 24 Jan 2000 00:00
45 lines
2827 bytes
Markus Becker wrote:
> Err, if I knew how. Up to now, there was no need to know how macros
> function in slrn. So I never read the related parts of the
> documentation. Sorry.

I'm not sure if the docs cover all this, but here's a brief way to run that
(or virtually any) macro:

(1) Make a file in your homedir (or wherever you can keep S-Lang files)
    called "my_macros.sl".  The name doesn't *really* matter, but it's what
    I use and what I'll use for the rest of this documentation.

(2) Put that macro in this file.  Save and close the file.

(3) In your slrn.rc, append this line:

       interpret "my_macros.sl"
       setkey article my->toggle_header_tag "*"

    This, in case you didn't know, the first line loads the file into slrn.
    The second line binds the function (in the "my" namespace) to the
    asterisk key.  If you put the S-Lang file in some place slrn can't find,
    either adjust slrn's S-Lang path (see the sample slrn.rc for details) or
    put a fully qualified path before 'my_macros.sl' in the 'interpret'
    line.

(4) If you are running slrn, quit slrn.  Run slrn.

I said:
> Of course, replace "Looptastic->toggle_header_tag ();" with
> call("toggle_header_tag") if you don't use the Looptastic macros.

You replied:
> I suppose I don't use it, since I never heard of it.

I posted a few versions of it to Usenet a while ago.  Deja.com should have
the last version I posted, or I can e-mail you a copy if you want.  It's a
macro set that lets you make the cursor wrap (or "loop") around the group
and article header lists.  I use it all the time so I make my personal
macros use its functions as well.

Check out S-Lang's documentation and slrn's doc/README.macros and
doc/slrnfuns.txt for info on slrn's S-Lang API.

Technical Details
Message-ID: <slrn88pmcp.o5f.bluemoon@ux6.cso.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn88c1da.52.markus.becker@gl241.appl2.hrz.uni-siegen.de> <slrn88ej8h.ocl.bluemoon@ux6.cso.uiuc.edu> <slrn88eufv.83.markus.becker@gl241.appl2.hrz.uni-siegen.de> <slrn88n5he.239.bluemoon@ux6.cso.uiuc.edu> <slrn88phnk.40.markus.becker@gl241.appl2.hrz.uni-siegen.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn88pmcp.o5f.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: [slrn] "*" behaviour
Date: Mon, 24 Jan 2000 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn88c1da.52.markus.becker@gl241.appl2.hrz.uni-siegen.de> <slrn88ej8h.ocl.bluemoon@ux6.cso.uiuc.edu> <slrn88eufv.83.markus.becker@gl241.appl2.hrz.uni-siegen.de> <slrn88n5he.239.bluemoon@ux6.cso.uiuc.edu> <slrn88phnk.40.markus.becker@gl241.appl2.hrz.uni-siegen.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 577130083
X-Complaints-To: abuse@uiuc.edu
X-Trace: vixen.cso.uiuc.edu 948754839 128.174.5.9 (Mon, 24 Jan 2000 17:00:39 CST)
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.6.2 (HP-UX)
NNTP-Posting-Date: Mon, 24 Jan 2000 17:00:39 CST
Newsgroups: news.software.readers