Article View: news.software.readers
Article #58584Re: newsrc file for slrn?
From: Heikki Kantola
Date: Sat, 26 Feb 2000 00:00
Date: Sat, 26 Feb 2000 00:00
35 lines
2394 bytes
2394 bytes
<pzion@yahoo.com> informed news.software.readers with the following: >I've been trying to setup slrn so that it will use different newsrc files >for different users. Stupid question: why need different newsrc-filenames for different _users_, shouldn't each user have their own home directories where Slrn puts the newsrc... Or is this some non-Un*x system? >I had put alias slrn1="slrn -f jnewsrc" for example, into the .profile >file. This used to function ok, but now the isp seems to be overriding >this command and it keeps using .newsrc and won't use anything I put >into .profile. > >Anyone know a way to fix this? In .slrnrc (or slrn.rc for global settings and on inferior OSs ;)) you can set newsrc-file location based on newsserver (and enviroment variables if you use S-Lang preprocessor conditionals[1]) with "server" command. For example you can define: server nntp.somewhe.re .newsrc server news.mozilla.org .newsrc-mozilla And the server name comes either from 1) compile time setting 2) file (eg. /usr/local/lib/news/nntp_server) containing the server name set at compile time, 3) NNTPSERVER-enviroment variable or 4) command line option -h. [1] <URL:http://www.s-lang.org/docs/slprep.html> -- 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:
<slrn8bfsk6.1c0o.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-mailReferences:
<slrn8bfkka.ie7.pzion@amanda.dorsai.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn8bfsk6.1c0o.hezu@tuuri.ling.helsinki.fi> Subject: Re: newsrc file for slrn? Date: Sat, 26 Feb 2000 00:00:00 +0000 From: Heikki Kantola <hezu@iki.fi> References: <slrn8bfkka.ie7.pzion@amanda.dorsai.org> 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: 590281371 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 951579270 26507 128.214.78.4 (26 Feb 2000 15:34:30 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: 26 Feb 2000 15:34:30 GMT Newsgroups: news.software.readers