🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #45825

Re: Starting slrn

#45825
From: Markus Sicheneder
Date: Sun, 10 Jan 1999 00:00
49 lines
2575 bytes
Stephen Reynolds <spr@127.0.0.1> wrote:
>I'm having trouble starting slrn at the command prompt. I'm can't start
>slrn without the -h option.
>
>slrn tells me that I have to set the NNTPSERVER environment variable to my
>sever name - but I don't know how to do that. It gives an example, but I
>don't understand the example. The example is (csh): setenv NTTPSERVER
>my.news.server
>
>I'm using slrn on a stand alone machine using RedHat Linux 5.2. I'm using
>leafnode so that I can use slrn as an offline newsreader, so think my
>server name should be localhost. That works if I use the following command
>to launch slrn. $slrn -f localhost
>
>Can anybody tell me how to set the environment variable?

It depends on the shell type you are using.

a) setenv NTTPSERVER localhost
   export NNTPSERVER

b) export NNTPSERVER=localhost

a) ist the (t)cshell version and b) the bash version.

I am not familiar with the Redhat ditribution, but usually in '/etc' there
is a file 'nntpserver' which consists of just one line which is the name of
the nntpserver. You should (as root, of course) insert 'localhost' here (and
nothing else) and save the file. Then in '/etc/profile' you should bound the
contents of this file to the environment variable NNTPSERVER. I am using the
bash, so in my profile-file there is:

NNTPSERVER=cat /etc/nntpserver 2> /dev/null
export NNTPSERVER

Of course you can set this env-var directly in profile (without using the
nntpserver-file) but then you can get inconsistency if you change the one
but not the other.

Hope it helps,
	Markus

-- 
>Real Men were the ones that understood computer programming<
Markus Sicheneder, Allmandring 20 C, D-70569 Stuttgart
e-mail: sichen@studbox.uni-stuttgart.de                        
www:    http://wwwcip.rus.uni-stuttgart.de/~lrt12741/ 

Technical Details
Message-ID: <slrn79h2ls.e7.guldukat@sichen.wh.uni-stuttgart.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!not-for-mail
References: <slrn79gfaj.26f.spr@dialup-ad-10-2.camtech.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <slrn79h2ls.e7.guldukat@sichen.wh.uni-stuttgart.de>
Subject: Re: Starting slrn
Date: Sun, 10 Jan 1999 00:00:00 +0000
From: guldukat@sichen.wh.uni-stuttgart.de (Markus Sicheneder)
References: <slrn79gfaj.26f.spr@dialup-ad-10-2.camtech.net.au>
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: 430842751
X-newsgroup: news.software.readers
Organization: Comp.Center (RUS), U of Stuttgart, FRG
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: sichen@studbox.uni-stuttgart.de
Newsgroups: news.software.readers