🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Arthur Tue, 09 Feb 1999 00:00
slrn help please
#46366
Author: Arthur
Date: Tue, 09 Feb 1999 00:00
11 lines
1006 bytes
A simple slrn question from a linux beginner. I'm running Redhat 5.2
using the bash shell. Trying to start slrn gives me an error message
about needing to set the NNTPSERVER environment variable to your server
name.

I'd appreciate it if someone could give me the proper syntax for this
and where the line goes.

Thanks

Re: slrn help please
#46405
Author: walt moffett
Date: Wed, 10 Feb 1999 00:00
26 lines
1486 bytes
On Tue, 09 Feb 1999 21:39:06 -0500, Arthur <augie@interport.net> wrote:
>A simple slrn question from a linux beginner. I'm running Redhat 5.2
>using the bash shell. Trying to start slrn gives me an error message
>about needing to set the NNTPSERVER environment variable to your server
>name.
>
>I'd appreciate it if someone could give me the proper syntax for this
>and where the line goes.

Should be in /etc/profile something like this:

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

wherein /etc/nntpserver is a text file containing the name of your news 
server.  try echo "news.server.do" > /etc/nntpserver as root.

however instead of logging out to activate this change try (at a prompt)
NNTPSERVER=news.whereever.doo
 
or use the -h switch slrn -h news.bunny.foo.foo

The deck is now clear for the real bash wizards to step up...


Re: slrn help please
#46429
Author: korthals
Date: Thu, 11 Feb 1999 00:00
29 lines
1816 bytes
On Tue, 09 Feb 1999 21:39:06 -0500, Arthur <augie@interport.net> wrote:
>A simple slrn question from a linux beginner. I'm running Redhat 5.2
>using the bash shell. Trying to start slrn gives me an error message
>about needing to set the NNTPSERVER environment variable to your server
>name.
>
>I'd appreciate it if someone could give me the proper syntax for this
>and where the line goes.
>
>Thanks

Hi Arthur, the syntax for bash: export NNTPSERVER=your.news.server
where your.news.server is the news server you are trying to
connect to. I have placed that line in my home .bashrc file
although it should probably be in my home .bash_profile <shrug>
it does the trick. To see the dotfiles in your home dir: ls -a
To see if the enviroment has been set type: echo $NNTPSERVER
it should return your.news.server. If you just place it in
your .bashrc or .bash_profile without typing it at the 
command prompt I think you will have to logout and back in
so the .bash_profile and .bashrc are read.
Hope this helps you.

korthals

--
remove insert to reply

Re: slrn help please
#46441
Author: Urko Lusa
Date: Fri, 12 Feb 1999 00:00
18 lines
1363 bytes
Arthur <augie@interport.net> wrote:

>A simple slrn question from a linux beginner. I'm running Redhat 5.2
>using the bash shell. Trying to start slrn gives me an error message
>about needing to set the NNTPSERVER environment variable to your server
>name.

export NNTPSERVER=your.news.server
(in bash command line)

>I'd appreciate it if someone could give me the proper syntax for this
>and where the line goes.

If you don't want to type that line everytime you want to read news, you
can add it to ~/.profile (or to /etc/profile if you want the NNTPSERVER
variable exported to all users).

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads