🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #60892

Re: slrn multiple servers

#60892
From: Heikki Kantola
Date: Mon, 24 Apr 2000 00:00
38 lines
2160 bytes
John E. Davis <davis@space.mit.edu> informed
news.software.readers with the following:
>On 23 Apr 2000 19:00:54 GMT, billy chan <bilchan@bigfoot.com>
>wrote:
>>read news:
>>slrn -i .slrnrc.news1 -f .newsrc.news1
>>slrn -i .slrnrc.news2 -f .newsrc.news2
>>slrn -i .slrnrc.news3 -f .newsrc.news3
>>
>>If you come up with better ideas, share with us.
>
>You could use one .slrnrc file with something like:
>#v+
>    server "news1.bigfoot.com" ".newsrc.news1"
>    server "news2.bigfoot.com" ".newsrc.news2"
>    server "news3.bigfoot.com" ".newsrc.news3"
>    #ifdef NEWS1
>       % news1 settings
>    #endif
>    #ifdef NEWS2
>       % news2 settings
>    #endif
>    #ifdef NEWS3
>       % news3 settings
>    #endif
>#v-
>and then to use news2 settings, run slrn via `slrn -DNEWS2'.

You could also use NNTPSERVER enviroment variable to select the server
and then change the #ifdefs into "#if$NNTPSERVER news1" and so on. 

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Technical Details
Message-ID: <slrn8g98ju.89e7.hezu@tuuri.ling.helsinki.fi>
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: <slrn8g3rt7.21o.kmoffat@halcyon.com> <956510227@bc.org> <slrn8g78vm.602.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8g98ju.89e7.hezu@tuuri.ling.helsinki.fi>
Subject: Re: slrn multiple servers
Date: Mon, 24 Apr 2000 00:00:00 +0000
From: Heikki Kantola <hezu@iki.fi>
References: <slrn8g3rt7.21o.kmoffat@halcyon.com> <956510227@bc.org> <slrn8g78vm.602.davis@aluche.mit.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: 615104619
Content-Transfer-Encoding: 8bit
Mail-Copies-To: nobody
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: usenet@news.helsinki.fi
X-Trace: oravannahka.helsinki.fi 956605054 26578 128.214.78.4 (24 Apr 2000 19:37:34 GMT)
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
User-Agent: slrn/0.9.6.2 (OSF1)
Mime-Version: 1.0
NNTP-Posting-Date: 24 Apr 2000 19:37:34 GMT
Newsgroups: news.software.readers