Article View: news.software.readers
Article #39719Re: [slrn] changing from line per newsgroup?
From: Jan Hlavacek
Date: Mon, 23 Mar 1998 00:00
Date: Mon, 23 Mar 1998 00:00
46 lines
2592 bytes
2592 bytes
On 23 Mar 1998 06:58:07 GMT, Zebee Johnstone
<zebee@lute.orchestra.cse.unsw.EDU.AU> wrote:
> 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)
With this version, you are kind of out of luck. This was the last
version of slrn which didn't have extract_article_header function and
which didn't have realname variable. Both were introduced in 0.9.1.0.
The latest version is 0.9.4.6, which requires s-lang version 1.0 or
later. Version 0.9.3.0 (which you used to post your article, unless
your X-Newsreader header is wrong) can be compiled with older slang.
lahvak
--
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu> (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/
Technical Details
Message-ID:
<slrn6hc5f6.56j.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-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> <slrn6hc1vv.pbp.zebee@lute.orchestra.cse.unsw.EDU.AU>Show Full Headers
Complete Article Headers
Message-ID: <slrn6hc5f6.56j.lahvak@math.mps.ohio-state.edu> Subject: Re: [slrn] changing from line per newsgroup? Date: Mon, 23 Mar 1998 00:00:00 +0000 From: lahvak@math.mps.ohio-state.edu (Jan Hlavacek) 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> <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-mail X-Deja-AN: 336757167 Reply-To: lahvak@math.mps.ohio-state.edu Organization: Department of Mathematics, The Ohio State University Newsgroups: news.software.readers