Article View: news.software.readers
Article #39724Re: [slrn] changing from line per newsgroup?
From: Zebee Johnstone
Date: Mon, 23 Mar 1998 00:00
Date: Mon, 23 Mar 1998 00:00
32 lines
1688 bytes
1688 bytes
On 23 Mar 1998 06:25:04 GMT, Jan Hlavacek wrote:
>
>Or you can use post_hook and followup_hook, and it will always work.
>
> define post_hook ()
> {
> variable newsheader = extract_article_header ("Newsgroups:");
Which gives me an error:
Reading startup file /home1/zebee/.slrnrc.
S-Lang Error: extract_article_header: Undefined Name
S-Lang Error: : Undefined Name
S-Lang Error: at or before line 3: file: /home1/zebee/.slrn.sl: Undefined Name
And the previous one whinged about "realname" not being a variable.
.slrn.sl was cut and pasted from the article, and I just changed:
define post_hook ()
{
variable newsheader = extract_article_header ("Newsgroups:");
if (is_substr (newsheader, "zip")
or is_substr (newsheader, "test"))
zipper:~$ slrn --version
slrn version: 0.9.0.0 (BETA) (Sep 5 1996 00:23:12)
S-Lang version: 0.99.34
Technical Details
Message-ID:
<slrn6hc1vv.pbp.zebee@lute.orchestra.cse.unsw.EDU.AU>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-mailReferences:
<slrn6hbim4.hqr.zebee@lute.orchestra.cse.unsw.EDU.AU> <slrn6hbodl.1pp.c928400@urdybet.bergsoe.dtu.dk> <slrn6hc01u.4hu.lahvak@math.mps.ohio-state.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn6hc1vv.pbp.zebee@lute.orchestra.cse.unsw.EDU.AU> Subject: Re: [slrn] changing from line per newsgroup? Date: Mon, 23 Mar 1998 00:00:00 +0000 From: zebee@lute.orchestra.cse.unsw.EDU.AU (Zebee Johnstone) References: <slrn6hbim4.hqr.zebee@lute.orchestra.cse.unsw.EDU.AU> <slrn6hbodl.1pp.c928400@urdybet.bergsoe.dtu.dk> <slrn6hc01u.4hu.lahvak@math.mps.ohio-state.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 X-Deja-AN: 336750380 Reply-To: zebee@cse.unsw.edu.au Organization: University of New South Wales Newsgroups: news.software.readers