And if you want it available to child processes you need to export it too:

export DISPLAY=127.0.0.1

----- Original Message -----
From: "Peter Jay Salzman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 30, 2001 12:29 PM
Subject: Re: [vox-tech] Environment variable.


> under AT&T type shells...
>
> % echo $BASH
> /bin/bash
> % BASH=/bin/csh
> % echo $BASH
> /bin/csh
>
> under berkeley type shells...
>
> satan:~> echo $DISPLAY
> :0.0
> satan:~> setenv DISPLAY linux
> satan:~> echo $DISPLAY
> linux
>
> pete
>
>
> begin: Erik Mullinix <[EMAIL PROTECTED]> quote
> > How do you set or modify an environment variable?
> >
> > Thank you to anyone who can help me with this issue ;-)
> >
> > Hesperant ieger
> >
>
> --
> "The following addresses had permanent fatal errors..."      [EMAIL PROTECTED]
>                                -- Mailer Daemon
www.dirac.org/p


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to