🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40179

Re: How to change slrn.rc parameters on the commandline?

#40179
From: Hans-Joachim Zierke
Date: Thu, 16 Apr 1998 00:00
38 lines
1709 bytes

Jan Hlavacek schrieb:


> Try to put this to your .slrn.sl:
> 
> define perform_scoring ()
> {
>    !if (is_group_mode ()) call("quit");
>    call ("bob");
>    while (group_down_n (1))
>    {
>       if (-1 != select_group ()) call("quit");
>    }
>    call ("bob");
> }
> 
> #ifdef REF
> define group_mode_startup_hook ()
> {
>    perform_scoring ();
> }
> #endif


This stops to do its work, as soon as it has set the first group to 0 
messages. 

If there are any unkilled messages in the newsgroup, the function jumps to
the next newsgroup as intended, but if there aren't any, and it has set 
the newsgroup to 0, it stops working.


hajo


Technical Details
Message-ID: <slrn6jd5pe.10k.hajo@quijote.Huellhorst.Zierke.com>
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: <slrn6impoq.3ja.hajo@quijote.Huellhorst.Zierke.com> <slrn6imvjj.ca3.hezu@tuuri.ling.helsinki.fi> <slrn6inano.3n1.hajo@quijote.Huellhorst.Zierke.com> <slrn6iq37f.499.lahvak@math.mps.ohio-state.edu> <slrn6jc5r9.o8.hajo@quijote.Huellhorst.Zierke.com> <slrn6jcerq.j3o.lahvak@math.mps.ohio-state.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6jd5pe.10k.hajo@quijote.Huellhorst.Zierke.com>
Subject: Re: How to change slrn.rc parameters on the commandline?
Date: Thu, 16 Apr 1998 00:00:00 +0000
From: hajo@quijote.Huellhorst.Zierke.com (Hans-Joachim Zierke)
References: <slrn6impoq.3ja.hajo@quijote.Huellhorst.Zierke.com> <slrn6imvjj.ca3.hezu@tuuri.ling.helsinki.fi> <slrn6inano.3n1.hajo@quijote.Huellhorst.Zierke.com> <slrn6iq37f.499.lahvak@math.mps.ohio-state.edu> <slrn6jc5r9.o8.hajo@quijote.Huellhorst.Zierke.com> <slrn6jcerq.j3o.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: 344958094
Sender: hajo@quijote.Huellhorst.Zierke.com
Organization: Büro für ungewöhnliche Maßnahmen
Reply-To: hajo@Zierke.com
Newsgroups: news.software.readers
X-Copyright: Alle Rechte beim Autor.