🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #37326

Re: Multiple .slrnrc to have multiple usernames

#37326
From: Heikki Kantola
Date: Fri, 28 Nov 1997 00:00
32 lines
1650 bytes
Ken Keen <TroubleEveryDay@Dangerous.Kitchen> informed
news.software.readers with the following:
>I utilize multiple nntps *with* different user names (and other
>configs). I want to have multiple .slrnrc's that can be set via the command
>line, say:
>
>          slrn -r .slrnrc_alt
>
>Is there a way to do this; the doc does not indicate a way to do this.
>
>My ISP is using slrn 0.9.4.3 on Sun.

I can think about one solution that does nearly what you're wanting to:
 1) Set some enviroment variable to certain value.
 2) Then in your "master" .slrnrc use the preprocessor commands to
 select which slrnrc's you want to load, eg.
	#if$VARIABLE value1
	source .slrnrc_1
	#elif$VARIABLE value2
	source .slrnrc_2
	#else
	source .slrnrc_alt
	#endif
	
-- 
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: <slrn67tgou.gdg.hezu@polva.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: <slrn67rnm2.pvk.TroubleEveryDay@user1.teleport.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn67tgou.gdg.hezu@polva.ling.helsinki.fi>
Subject: Re: Multiple .slrnrc to have multiple usernames
Date: Fri, 28 Nov 1997 00:00:00 +0000
From: hezu@iki.fi (Heikki Kantola)
References: <slrn67rnm2.pvk.TroubleEveryDay@user1.teleport.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: 293395334
Mail-Copies-To: never
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
Newsgroups: news.software.readers