Thread View: news.software.readers
9 messages
9 total messages
Started by Ian Geldard
Tue, 20 Jul 1999 00:00
Setting environment variables
Author: Ian Geldard
Date: Tue, 20 Jul 1999 00:00
Date: Tue, 20 Jul 1999 00:00
18 lines
1371 bytes
1371 bytes
I have been trying to setup slrn on my new Linux system. The README states that the environment variable NNTPSERVER needs to be set to my news server. Yet when I enter "setenv NNTPSERVER news.demon.co.uk" I get an eror message that the command cannot be found. I'm new to Unix, and am sure that this is something pretty basic, but could someone tell me how it's done? -- Ian Geldard London, England PGP DH/DSS Key ID: 0x07CB87A6 PGP RSA Key ID: 0xE5FD80A1
Re: Setting environment variables
Author: pegri
Date: Tue, 20 Jul 1999 00:00
Date: Tue, 20 Jul 1999 00:00
21 lines
1706 bytes
1706 bytes
Rainer Temme <Rainer.Temme@Cgk.Siemens.NoSpam.de> wrote:
> Ian Geldard <igeldard@capital.demon.co.uk> wrote:
>> Yet when I enter "setenv NNTPSERVER news.demon.co.uk" I get an eror
>> message that the command cannot be found.
> it depends on the shell that you use whether setenv works or not...
> Try:
> NNTPSERVER="news.demon.co.uk"; export NNTPSERVER
> instead. That should work with all shells (hopefully)
I don't think so. `setenv VARIABLE VALUE' is used by the (t)csh,
`VARIABLE=VALUE; export VARIABLE' is used by most other
shells but unknown to csh. BTW: at least bash (Linux' default shell)
understands `export VARIABLE=VALUE'
Peter
--
Peter Gritsch <pegri@sbox.tu-graz.ac.at>
`... so I'd rather you didn't try any last-minute stuff.'
I *AM* LAST-MINUTE STUFF, said Death, standing up.
[Terry Pratchett, Hogfather]
Re: Setting environment variables
Author: Paul Black
Date: Tue, 20 Jul 1999 00:00
Date: Tue, 20 Jul 1999 00:00
23 lines
1544 bytes
1544 bytes
igeldard@capital.demon.co.uk (Ian Geldard) wrote: > I have been trying to setup slrn on my new Linux system. The README > states that the environment variable NNTPSERVER needs to be set to my > news server. > > Yet when I enter "setenv NNTPSERVER news.demon.co.uk" I get an eror > message that the command cannot be found. > > I'm new to Unix, and am sure that this is something pretty basic, but > could someone tell me how it's done? The "setenv" command is for use with csh or tcsh (your command shell). Try the following command instead: NNTPSERVER=news.demon.co.uk export NNTPSERVER For the sake of your phone bill though, setup a news server (with INN or leafnode) on your local machine and use slurp/suck/newsx to download the news quickly then disconnect. Paul
Re: Setting environment variables
Author: Rainer Temme
Date: Tue, 20 Jul 1999 00:00
Date: Tue, 20 Jul 1999 00:00
17 lines
1126 bytes
1126 bytes
Ian Geldard <igeldard@capital.demon.co.uk> wrote: > Yet when I enter "setenv NNTPSERVER news.demon.co.uk" I get an eror > message that the command cannot be found. > Ian Geldard > London, England Hi Ian, ... it depends on the shell that you use whether setenv works or not... Try: NNTPSERVER="news.demon.co.uk"; export NNTPSERVER instead. That should work with all shells (hopefully) ... Regards Rainer
Re: Setting environment variables
Author: ne...
Date: Tue, 20 Jul 1999 00:00
Date: Tue, 20 Jul 1999 00:00
23 lines
1721 bytes
1721 bytes
On Jul 20, 1999 at 12:20, Ian Geldard eloquently wrote: >I have been trying to setup slrn on my new Linux system. The README >states that the environment variable NNTPSERVER needs to be set to my >news server. > >Yet when I enter "setenv NNTPSERVER news.demon.co.uk" I get an eror >message that the command cannot be found. > >I'm new to Unix, and am sure that this is something pretty basic, but >could someone tell me how it's done? To the best of my meager knowledge, most Linux distributions have bash as the default shell. This means that you need to use the 'export' keyword instead of setenv. Try: export NNTPSERVER="news.demon.co.uk" -- I never forget a face, but in your case I'll make an exception. -- Groucho Marx
Re: Setting environment variables
Author: Ian Geldard
Date: Wed, 21 Jul 1999 00:00
Date: Wed, 21 Jul 1999 00:00
18 lines
1521 bytes
1521 bytes
In article <199907201221.AA06607@tcdec2.tcamuk.stratus.com>, on Tue, 20 Jul 1999 12:20:01 GMT, paul@canix.co.uk (Paul Black) wrote: >For the sake of your phone bill though, setup a news server (with INN >or leafnode) on your local machine and use slurp/suck/newsx to download >the news quickly then disconnect. Quite. I just want to get it working first. Then I'll be exploring things like slrnpull and leafnode etc. -- Ian Geldard London, England PGP DH/DSS Key ID: 0x07CB87A6 PGP RSA Key ID: 0xE5FD80A1
Re: Setting environment variables
Author: Mike Brown
Date: Wed, 21 Jul 1999 00:00
Date: Wed, 21 Jul 1999 00:00
14 lines
1376 bytes
1376 bytes
I was just reading one of my LINUX manuals, and came across this (we are having the same problem) - to APPEND the new "path" info, type the following: PATH="$PATH:/path/goes/here"; export path By including the "$PATH", you preclude having to define the entire path variable from scratch, which I think I might have to do. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
Re: Setting environment variables
Author: Sherilyn
Date: Wed, 21 Jul 1999 00:00
Date: Wed, 21 Jul 1999 00:00
31 lines
2067 bytes
2067 bytes
-----BEGIN PGP SIGNED MESSAGE----- In article <3795913f.1943117@news.demon.co.uk>, Ian Geldard wrote: >In article <199907201221.AA06607@tcdec2.tcamuk.stratus.com>, on Tue, >20 Jul 1999 12:20:01 GMT, paul@canix.co.uk (Paul Black) wrote: > >>For the sake of your phone bill though, setup a news server (with INN >>or leafnode) on your local machine and use slurp/suck/newsx to download >>the news quickly then disconnect. > >Quite. I just want to get it working first. Then I'll be exploring >things like slrnpull and leafnode etc. I can vouch for the effectiveness of slrnpull, which I have used for some months now with my Demon Internet account. It runs a scorefile which is similar in format to slrn's, so you can avoid wasting time pulling down articles that you would not read anyway. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBN5XVztSR8rI01qX9AQEtOwP/V2dysyqNmqVjTHVfIb88w0pce5ofJGIf ihrNHFwfMm9I9hUiS2vtJ/3JFEb1Rwcbo7d+TSiuVQSZH7T/jRiy0MDtZb7EBCUs dhkELvrcIPKtlE+b4islJxz+mohJS79sKcCwWmZom2uxofIewDigSTRrGTzfx+c3 he+e5tl+DoM= =mhcM -----END PGP SIGNATURE----- -- Sherilyn
Re: Setting environment variables
Author: Norman Levin
Date: Thu, 22 Jul 1999 00:00
Date: Thu, 22 Jul 1999 00:00
13 lines
1202 bytes
1202 bytes
> "setenv NNTPSERVER news.demon.co.uk" setenv is a c-shell command. Your default shell is the BASH shell. Try export NNTPSERVER=news.demon.co.uk ps.. I'd check the spelling on demon. -- Norman Levin vm/dynAmIX inc.
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