🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #82981

Re: setting up slrn-0.9.7.1

#82981
From: Zeshan
Date: Wed, 15 Aug 2001 21:04
55 lines
2395 bytes
On Wed, 15 Aug 2001 19:23:14 GMT, Galtx <galtx@telus.net> wrote:

><term_quote>
> slrn 0.9.7.1 [2001-06-06]
> You need to set the NNTPSERVER environment variable to your server name.
> Example (csh): setenv NNTPSERVER my.news.server
> slrn fatal error:
> Unable to select server/post object.
></term_quote>

<snip>
 
> I figure that means I need need to set up the news server (of course).
> I have edited the;
> /home/~/slrn-0.9.7.1/doc/slrn.rc
> /usr/local/share/slrn.rc
> 
> I've renamed them;
> ~/~/.slrnrc
> 
> And in the file, I have added the;
> 
> %setenv NNTPSERVER 'news.foo.net' (with and without the percentage)

I think you're getting slightly confused about environmental variables.
These variables are usually set using your shell. In your case its probably 
bash (rather than csh which the example refers to). You have a couple of
options:

1. You can set it by hand each time, like so:

$ NNTPSERVER=news.foo.net
$ export NNTPSERVER

Note that the '$' here represents your shell prompt (as did the '%' in the
csh example), so don't enter it !

2. You can put these two commands in your .bash_profile file.

3. You can do something like 

$ slrn -h news.foo.net

to launch slrn.

None of these methods require any editing of your .slrnrc (although it may
be possible to specify your server in there).

You might also wish to read some sort of tutorial about using your
particular shell.


Zeshan 

Technical Details
Message-ID: <slrn9nlouh.1ra.zeshan.ghory@blue.ghory.btinternet.co.uk>
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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!host213-122-47-80.btinternet.COM!not-for-mail
References: <C_ze7.63369$b_3.5918160@news0.telusplanet.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9nlouh.1ra.zeshan.ghory@blue.ghory.btinternet.co.uk>
Subject: Re: setting up slrn-0.9.7.1
Date: Wed, 15 Aug 2001 22:04:18 +0100
From: zeshan.ghory@btinternet.com (Zeshan)
References: <C_ze7.63369$b_3.5918160@news0.telusplanet.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.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!host213-122-47-80.btinternet.COM!not-for-mail
Newsgroups: news.software.readers
Lines: 54
NNTP-Posting-Host: host213-122-47-80.btinternet.com (213.122.47.80)
X-Trace: fu-berlin.de 997910669 9488115 213.122.47.80 (16 [77162])
X-Orig-Path: blue.ghory.btinternet.co.uk!nobody
User-Agent: slrn/0.9.7.1 (Linux)