🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40056

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

#40056
From: Peppe
Date: Thu, 09 Apr 1998 00:00
41 lines
2165 bytes
Thus wrote Hans-Joachim Zierke <hajo@quijote.Huellhorst.Zierke.com>
[--- snip ---]
> Reason for my change is, that I'm going to change my newsserver from changi
> (OS/2) to INN (Linux). The changi newsserver has a function newsgroup 
> called local.reference, which is not available with INN.

> So I want a slrn mode, that will show replies to my postings only. For 
> this, I have set
> [*]
> Score: 8000
> References: zierke\.com

> I need this when I'm in a hurry, so this mode should be either a .cmd-Icon 
> under OS/2, or a shell command under Linux. Start, have a look, bye.

You can put the following in a slang macro file (eg .slrn.sl):

    define article_mode_hook ()
    {
        if (current_newsgroup () == "local.reference")
            set_integer_variable ("kill_score", 5000);
        else
            set_integer_variable ("kill_score", -9999);
    }    

To source and interpret the macro file, put the following line in you
slrnrc:

    interpret .slrn.sl

Hope this helps,

Peppe
-- 
Preben Guldberg         __/-\__       "God created Man in His own image,
c928400@student.dtu.dk   (o o)         and we have been returning the
---------------------oOOo (_) oOOo     compliment ever since."
http://www.student.dtu.dk/~c928400                            --Voltaire

Technical Details
Message-ID: <slrn6io6i3.13r.c928400@urdybet.bergsoe.dtu.dk>
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>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6io6i3.13r.c928400@urdybet.bergsoe.dtu.dk>
Subject: Re: How to change slrn.rc parameters on the commandline?
Date: Thu, 09 Apr 1998 00:00:00 +0000
From: c928400@student.dtu.dk (Peppe)
References: <slrn6impoq.3ja.hajo@quijote.Huellhorst.Zierke.com> <slrn6imvjj.ca3.hezu@tuuri.ling.helsinki.fi> <slrn6inano.3n1.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: 342254179
X-Complaints-To: usenet@news.net.uni-c.dk
X-Trace: news.net.uni-c.dk 892082766 15366 (None) 130.225.71.226
Organization: Home of Peppe
Reply-To: c928400@student.dtu.dk
Newsgroups: news.software.readers