Re: Terminal versus xterm anomaly
Re: Terminal versus xterm anomaly
- Subject: Re: Terminal versus xterm anomaly
- From: Martin Costabel <email@hidden>
- Date: Mon, 21 Mar 2005 10:49:14 +0100
Tommy Nordgren wrote:
It appears that the bash shell don't read it's initialisation files
correctly in the xterm window.
The bash initaliation files .bash_profile or .bash_login are not read.
Because of this, the
PATH environment variable is not setup to include the /usr/local/bin and
~/bin directrories.
I've managed to correct this in the FIRST xterm window opened when the
x11 App launches,
but subsequent windows don't get correctly initialised.
Thankful for any useful idea on how to fix this.
If there were a FAQ for this list, this one would have to be a prominent
entry; it is rehashed rather regularly.
Short answer: Just as there are 25 different methods for starting xterm,
there are 25 different ways of getting it a decent environment (OK,
maybe not 25, but 4 or 5).
Shorter answer: Replace "xterm" by "xterm -ls".
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden