> 
> This is a multi-part message in MIME format...
> 
> ------------=_1020551414-31891-195
> Content-Type: text/plain;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> 
> I need a convient way to script setting up a path variable within a single
> console so that I may set up multiple consoles running different setups.  I
> wrote a script and ran in it in the console window to set the path but it

Hmm. As you probably figured out, each instance of bash (or the shell
xterm runs) is independent of the others. So any enviroment settings
(such as PATH) are unique to that instance of bash. This is no doubt
frustrating at times, but it can be very convenient, letting you run
special setups in one xterm (with their corresponding settings) and isolate
those from 'ordinary' sessions. I took advantage of that when I needed to
run against special versions of libc to run something like Word Perfect
or Star Office. 

Probably what might work for you is to put the PATH setting statement
along with the command (i.e., xterm) to run, but put all of that in
a subshell like:

( export PATH=whatever; xterm) &

That should work. I've tried it before with other environment variables,
with success.

> Kevin



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to