From: flebbe@pluto.tat.physik.uni-tuebingen.de (Olaf Flebbe) Subject: Re: SLS/X/twm/Xterm---------bash ? Date: Wed, 10 Mar 1993 10:13:33 GMT
cheukm@aix.rpi.edu (Michael Chi-Wai Cheuk) writes:
>I have SLS new Xfree1.2 installed and using twm. I am wondering what
>profile file does bash shell Xterm use? It doesn't seem to me that it
>used /etc/profile. Any info or direction will be very appreciate !!!
The xterms are invoced without The commandline switch "-ls", thus bash
thinks it is not a login shell and sources not /etc/profile.
I consider this a bug in SLS.
To fix:
* edit /usr/lib/X11/xinit/xinitrc and add the option -ls to xterm.
* edit /usr/lib/X11/twm/system.twmrc and add the option -ls
Or the other way round: If you think it is not ok to have a login
shell in every xterm, put your favourite aliases etc in ~/.bashrc
Olaf