Re: basics about env variables
Robert.Land@t-online.de (Robert Land) writes:
> The slrnpull program provides the option to
> use the env variable NNTPSERVER instead of
> passing the newsserver by argument.
>
> As being not that experienced in unix I had
> a look at the rcS script to look how this
> might be done.
As in, the very first script that gets run when the system is booted?
That's way too early; in particular, the login process will completely
wipe your environment. You probably want to put this:
> NNTPSERVER=news.btx.dtag.de
> export NNTPSERVER
in your shell's dotfiles, probably .bashrc. ('man bash' and look
under INVOCATION to see what files get read when.)
--
David Maze dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: