🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #79539

Re: {SLRN} Working Out Hooks and Macros ...

#79539
From: Thomas Schultz
Date: Tue, 29 May 2001 18:05
24 lines
2189 bytes
* Des Coughlan [2001-05-26 20:05] :
[...]
> What is a hook ?  How do I 'add' anything to it ?  There seems to be
> no mention of hooks in my .slrnrc ...

A hook is a macro that automatically gets executed on certain events.
A list of all available hooks can be found in doc/README.macros in the
slrn source distribution.  If you never heard of this, you probably
don't have any of them defined yet, so you can just create a new file
for them and "interpret" it in your slrnrc file.  If you want to
change signatures on a per-group basis, group_mode_hook may be a good
place to call the function that does it from.

BTW, current drafts suggest the keyword "nobody" rather than "never"
in the "Mail-Copies-To:" header line. Moreover (the way I understood
it), those keywords are case sensitive, so "Never" is currently not
recognized by slrn (although I might as well change this for the
future; it is no valid e-mail address anyway).
-- 
Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
 -> [2001-04-19] Full documentation online
 -> [2001-03-28] slrn 0.9.7.0 released
 -> [2001-03-15] Public preview of slrn 0.9.7.0
Technical Details
Message-ID: <slrn9h7p7c.mr.tststs@starflower.tststs.ddns.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.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!colt.net!newsfeed.esat.net!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
References: <slrn9h0342.1aea.desmond@lievre.voute.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9h7p7c.mr.tststs@starflower.tststs.ddns.org>
Subject: Re: {SLRN} Working Out Hooks and Macros ...
Date: Tue, 29 May 2001 18:05:32 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <slrn9h0342.1aea.desmond@lievre.voute.net>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!colt.net!newsfeed.esat.net!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
Newsgroups: news.software.readers
Organization: Pinguin online.
Lines: 23
NNTP-Posting-Host: 149.225.33.54
NNTP-Posting-Date: 29 May 2001 18:39:19 GMT
X-Complaints-To: abuse@cityweb.de
X-Server-Date: 29 May 2001 18:35:14 GMT
User-Agent: slrn/0.9.7.0apl3 (Linux)