Article View: news.software.readers
Article #40178Re: How to change slrn.rc parameters on the commandline?
From: Jan Hlavacek
Date: Thu, 16 Apr 1998 00:00
Date: Thu, 16 Apr 1998 00:00
59 lines
2504 bytes
2504 bytes
On Thu, 16 Apr 1998 14:36:25 GMT, Hans-Joachim Zierke
<hajo@quijote.Huellhorst.Zierke.com> wrote:
>
> Jan Hlavacek schrieb:
>
>
> > If you call slrn with the -DREF option, it will kill everything except
> > the replies you want to see.
>
> Additionally, I have set up a second newsserver in .slrnrc (just a
> different name for the same server), and defined a different jnewsrc for
> this, to have an unchanged jnewsrc for normal newsreading.
Of course, I didn't think of that.
> Is there any way, to tell slrn to open and close every subscribed newsgroup
> at startup, within this "#if"-Statement?
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
If you have a lot of groups with a lot of articles, it may take a
while.
If you don't have .slrn.sl, put the above to ~/.slrn.sl, and put the
following line in your .slrnrc:
iterpret ".slrn.sl"
If you want to know more about slrn S-Lang macros, read README.macros
in your slrn distribution, and visit
http://www.math.ohio-state.edu/%7Elahvak/slrn/
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:
<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-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <slrn6jcerq.j3o.lahvak@math.mps.ohio-state.edu> Subject: Re: How to change slrn.rc parameters on the commandline? Date: Thu, 16 Apr 1998 00:00:00 +0000 From: lahvak@math.mps.ohio-state.edu (Jan Hlavacek) 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> 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: 344723145 Organization: Department of Mathematics, The Ohio State University Reply-To: lahvak@math.mps.ohio-state.edu Newsgroups: news.software.readers