🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #120834

Re: Little OT: script to start slrn

#120834
From: Rupert
Date: Wed, 26 Feb 2003 14:10
25 lines
1568 bytes
In article <slrnb5pdt1.2at.dick@dbhome.bolderman.xs4all.nl>, DjB wrote:
> 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...

-- cut here --
#!/bin/sh
export NNTPSERVER="$1"
slrn
-- cut here --

Then run myscript nntp.isp.com or myscript nntp.pay.server.com

> Also, is it possible to include a check if slrn is alread running,
> and display a message if this is the case ?

My slrn complains if there's another copy running anyway.

Anyway, the better solution would probably be to use leafnode as
someone else suggested.

HTH,

Rupert
Technical Details
Message-ID: <slrnb5pilp.a9i.rupert.debian@levene.dyndns.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!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!lon1-news.nildram.net!195.149.20.147.MISMATCH!mercury.nildram.co.uk!not-for-mail
References: <slrnb5pdt1.2at.dick@dbhome.bolderman.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb5pilp.a9i.rupert.debian@levene.dyndns.org>
Subject: Re: Little OT: script to start slrn
Date: Wed, 26 Feb 2003 14:10:01 +0000
From: Rupert <rupert.debian@hotpop.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!lon1-news.nildram.net!195.149.20.147.MISMATCH!mercury.nildram.co.uk!not-for-mail
Newsgroups: news.software.readers
User-Agent: slrn/0.9.7.4 (Linux)
Lines: 24
NNTP-Posting-Host: 81.6.221.97
X-Trace: 1046268718 mercury.nildram.net 59851 81.6.221.97