Article View: news.software.readers
Article #205949Re: [slrn] Using slrn to read from multiple servers
From: Pseudo Silk Kimono
Date: Sun, 16 Sep 2007 02:02
Date: Sun, 16 Sep 2007 02:02
49 lines
3147 bytes
3147 bytes
On 2007-09-14, Blinky the Shark <no.spam@box.invalid> wrote: > Troy Piggins wrote: >> * Pseudo Silk Kimono is quoted & my replies are inline below : >>> >>> Greetings, >>> >>> Not only do I read news from motzarella, I also frequent the grc news >>> server. Is there a way to configure slrn so that I can use multiple >>> .slrn files, one for each server? Or better yet, add something to >>> the .slrnrc file like a switch or flag that will tell slrn which >>> server to connect to. >> >> You could do as Blinky suggests and run different instances of slrn >> for different servers, or you could use slrnpull, a part of slrn, to >> download messages from all mail servers and slrn reads from slrnpull >> as a local spool. > > And, Pseudo, there's another option, I believe from PJR, that uses IF > logic within .slnrrc to determine what server-specific settings are to > be used, based on fiddling around with the otherwise irrelevant > NNTPSERVER environment variable. > > I got it working. It's kind of brute force. I create a script called runslrn and make it executable. server=$1 if [[ $server = "grc" ]] then export NNTPSERVER=news.grc.com slrn -i ~/.slrnrc-grc else export NNTPSERVER=news.motzarella.org slrn -i ~/.slrnrc fi .slrnrc-grc is basically a copy of .slrnrc except that I changed the details for motzarella to grc. Then I simply run ./runslrn grc or ./runslrn motza and I have both And I can have both at the same time, in separate terminals. I suppose I could change the script to run slrn in background, but it's not too bad for a 5 minute hack. -- PSK - RLU 452647 http://improve-usenet.org Killing GG and Supernews now on Ubuntu, Vista and XP http://www.grc.com/stevegibson.htm
Technical Details
Message-ID:
<fci2sg$f2f$1@registered.motzarella.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mailReferences:
<fcdp1i$amc$1@registered.motzarella.org> <20070914232220@usenet.piggo.com> <slrnfelmpv.4u6.no.spam@thurston.blinkynet.net>Show Full Headers
Complete Article Headers
Message-ID: <fci2sg$f2f$1@registered.motzarella.org> Subject: Re: [slrn] Using slrn to read from multiple servers Date: Sun, 16 Sep 2007 02:02:57 +0000 From: Pseudo Silk Kimono <Pseudo_Silk_Kimono@marillion.com> References: <fcdp1i$amc$1@registered.motzarella.org> <20070914232220@usenet.piggo.com> <slrnfelmpv.4u6.no.spam@thurston.blinkynet.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: I Am The Walrus Lines: 49 X-Trace: tomate.motzarella.org U2FsdGVkX1//u4t/4SmENOgjj70xUWmQk4dP1NfMcyoi6x8NBUrSMPeoe9NIrhq+0zYpGp3fg66ibskuF6pGlURTfMb27Za14zj/6l10l/NKqYuiS4t2AO7f9SjEL3tiRmMelI3zcXD2R5Pg01xxYx5gWArWMP1V X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sun, 16 Sep 2007 02:02:57 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/WuFA06NGR8BqOl+v6f1H89SLJ87G3n82R4iBOH5ZeUxqAQOLmeVvycCLyueEJz/Q= Cancel-Lock: sha1:jMvQqZEG8s+xDIiogFbqm8Fy2HY= User-Agent: slrn/0.9.8.1pl1 (Debian)