🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #125185

Re: Little OT: script to start slrn

#125185
From: Stephen Chadfield
Date: Tue, 20 May 2003 20:13
27 lines
1762 bytes
DjB <dick@nospam.please.bolderman.xs4all.nl> wrote:
> Hi,
> 
> I'm using slrn with 2 servers and now I'm looking to create a little
> script in which you can choose which server you want to use, eg: 1. isp
> 2. pay server...
> 
> Also, is it possible to include a check if slrn is alread running, and
> display a message if this is the case ?
> 
> Must be very simple to make, but I'm an absolute beginner when it comes
> to scripting :(

I just use aliases (from my ~/.bashrc):

  alias ntl='slrn -n -h text.news.ntlworld.com '
  alias cis='slrn -n -h news.cis.dfn.de '

Specifying the newsrc in ~/.slrnrc:

  server "text.news.ntlworld.com" ".jnewsrc-ntl"
  server "news.cis.dfn.de" ".jnewsrc-cis"

-- 
Stephen Chadfield
http://www.chadfield.com/
Technical Details
Message-ID: <bae2a2$r7pqp$2@ID-174070.news.dfncis.de>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.tu-darmstadt.de!fu-berlin.de!uni-berlin.de!pc1-swin3-4-cust3.oxfd.cable.ntl.COM!not-for-mail
References: <slrnb5pdt1.2at.dick@dbhome.bolderman.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <bae2a2$r7pqp$2@ID-174070.news.dfncis.de>
Subject: Re: Little OT: script to start slrn
Date: Tue, 20 May 2003 20:13:54 +0000
From: Stephen Chadfield <stephen@chadfield.com>
References: <slrnb5pdt1.2at.dick@dbhome.bolderman.xs4all.nl>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.tu-darmstadt.de!fu-berlin.de!uni-berlin.de!pc1-swin3-4-cust3.oxfd.cable.ntl.COM!not-for-mail
Newsgroups: news.software.readers
Lines: 26
NNTP-Posting-Host: pc1-swin3-4-cust3.oxfd.cable.ntl.com (81.104.38.3)
X-Trace: fu-berlin.de 1053461634 28567385 81.104.38.3 (16 [174070])
Mail-Copies-To: nobody
User-Agent: slrn/0.9.7.4 (Linux)