🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49973

Re: Setting environment variables

#49973
From: pegri
Date: Tue, 20 Jul 1999 00:00
21 lines
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]

Technical Details
Message-ID: <7n29dc$5k6$1@mozart.no.where>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.setup.mbox.zip!not-for-mail
References: <3795674f.1261708@news.demon.co.uk> <01bed2b0$dd5eb0c0$2f9bca95@samospc2>

Show Full Headers
Complete Article Headers
Message-ID: <7n29dc$5k6$1@mozart.no.where>
Subject: Re: Setting environment variables
Date: Tue, 20 Jul 1999 00:00:00 +0000
From: pegri@sbox.tu-graz.ac.at
References: <3795674f.1261708@news.demon.co.uk> <01bed2b0$dd5eb0c0$2f9bca95@samospc2>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.setup.mbox.zip!not-for-mail
X-Deja-AN: 503236141
Sender: Peter Gritsch <pegri@beethoven.no.where>
Organization: Graz University of Technology
X-Server-Date: 20 Jul 1999 16:50:52 GMT
Newsgroups: comp.os.linux.setup,comp.unix.questions,linux.redhat.install,news.software.readers