Thread View: news.software.readers
5 messages
5 total messages
Started by Stephen Reynolds
Sun, 10 Jan 1999 00:00
Starting slrn
Author: Stephen Reynolds
Date: Sun, 10 Jan 1999 00:00
Date: Sun, 10 Jan 1999 00:00
23 lines
1344 bytes
1344 bytes
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? Steve -- Stephen Reynolds Adelaide South Australia
Re: Starting slrn
Author: Dawn Owens-Nicholson
Date: Sun, 10 Jan 1999 00:00
Date: Sun, 10 Jan 1999 00:00
15 lines
1421 bytes
1421 bytes
Markus Sicheneder wrote: > [...Usually] in '/etc' there is a file 'nntpserver' which consists of > [...]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. You don't need to do both. slrn (and any other newsreader) can be configured (usually at compile time) to get its first choice news server from some file (say, /etc/newsserver). Setting this file to the name or IP address of your preferred news server is enough. Setting the NNTPSERVER environment variable or using the CLI option will override the server set in /etc/newsserver.
Re: Starting slrn
Author: Markus Sicheneder
Date: Sun, 10 Jan 1999 00:00
Date: Sun, 10 Jan 1999 00:00
49 lines
2575 bytes
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/
Re: Starting slrn
Author: Michael Perry
Date: Sun, 10 Jan 1999 00:00
Date: Sun, 10 Jan 1999 00:00
38 lines
2065 bytes
2065 bytes
On Sun, 10 Jan 1999 16:10:35 +1030, 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? > >Steve > >-- >Stephen Reynolds >Adelaide >South Australia Its my understanding with leafnode that one sets the name of the upstream news node in its config file but sets /etc/NNTPSERVER to the name of the machine running leafnode. You should have a file in /etc called NNTPSERVER or you can set it in .bashrc by adding a line like: export NNTPSERVER=<your.newsserver.here> In SuSE its settable through a global config file. Is your host name localhost? -- Michael E. Perry mperry@basin.com ------------------
Re: Starting slrn
Author: John E. Davis
Date: Mon, 11 Jan 1999 00:00
Date: Mon, 11 Jan 1999 00:00
20 lines
1168 bytes
1168 bytes
On Sun, 10 Jan 1999 16:10:35 +1030, Stephen Reynolds <spr@127.0.0.1>
wrote:
>Can anybody tell me how to set the environment variable?
Setting it depends upon your shell. If using tcsh or csh, then put
setenv NNTPSERVER localhost
in your .(t)cshrc file.
will suffice. If using bash, then you need
export NNTPSERVER=localhost
in your .bashrc file.
--John
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