Article View: news.software.readers
Article #205835Re: [slrn] Using slrn to read from multiple servers
From: Blinky the Shark
Date: Fri, 14 Sep 2007 11:37
Date: Fri, 14 Sep 2007 11:37
43 lines
3160 bytes
3160 bytes
Pseudo Silk Kimono wrote: > > 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. This is what I've done to accomplish that. 1. Create a mini .slrnrc for each server that only contains the few lines that are server specific. Name it something like, for instance, .slrnrc-motz 2. Create a master .slrnrc file that *excludes* the server-specific commands that you have included in your mini .slrnrc files, above. 3. In the mini .slrnrc files, use an include command to pull in the master .slrnrc file at run time. This will create a complete .slrnrc file for the server you're using. And when you want to change general (non-server-specific) settings you only have to change them once - in the master .slrnrc file. 4. Run slrn from a shell script that includes the slrn -i switch that designates the .slrnrc file to use (.slrnrc-motz, in this example) and the -h switch that designates the server (news.motzarella.org, in this example). Note: you do *not* need to screw with the NNTPSERVER environment variable; you're specifying your host in this script, so the value of the environment variable is irrelevant. If I were doing this for motzarella, my bash script would look like this: #!/bin/bash cleanscore -f ~/News/Score -e 2 rxvt -title 'Blinky Motz' +sb -e slrn -i .slrnrc-motz -h news.motzarella.org -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <----------- New Site Aug 28
Technical Details
Message-ID:
<slrnfekslc.ukn.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!npeer.de.kpn-eurorings.net!npeer2.kpn.DE!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<fcdp1i$amc$1@registered.motzarella.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnfekslc.ukn.no.spam@thurston.blinkynet.net> Subject: Re: [slrn] Using slrn to read from multiple servers Date: Fri, 14 Sep 2007 11:37:40 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <fcdp1i$amc$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!npeer.de.kpn-eurorings.net!npeer2.kpn.DE!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 43 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net KnYLZwRruzzESODYUbEV+gDjrx9Zs31upipMQ6QcP1eXqPjFpy Cancel-Lock: sha1:ihsXxJ8+24TULnWAJ8MHZTTs+t0= X-The-Usenet-Improvement-Project: http://improve-usenet.org X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E X-OS: Mandriva 2006 Linux; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=black; TextColor=black User-Agent: slrn/0.9.8.1pl2.1 (Linux)