Re: Xterm not reading dotfiles
Re: Xterm not reading dotfiles
- Subject: Re: Xterm not reading dotfiles
- From: Merton Campbell Crockett <email@hidden>
- Date: Fri, 16 Nov 2007 16:34:04 -0800
On 16 Nov 2007, at 15:41:26, Jochen Pawletta wrote:
Am Friday, 2007-11-16 um 10:52:42 -0800 schrieb Jeremy Huddleston:
Hi
That is all the code there is for /A/U/X11.app . It just does:
/usr/bin/login -fp <your login> /bin/sh -c xterm
It used to do
/usr/bin/login -fp <your login> xterm
Wouldn't it help if it would be changed to:
/usr/bin/login -fp <your login> xterm -ls
The /usr/bin/login doesn't seem to have the right behavior. I think
what we want to do is the following.
/bin/sh -l
This will start bash as a login shell. It will create its environment
from the following files.
/etc/bashrc // system-wide bashrc
/etc/profile // system-wide profile
$HOME/.bashrc // user's bashrc extensions
For some reason, it appears to ignore $HOME/.profile. This, at least,
help me discover that I had changed /etc/profile to get things to work
in Mac OS X 10.4.
The problem with /usr/bin/login -fp is that it preserves the existing
environment, i.e. it will not change any environmental variables. It
presumes that the environment has already been initialized.
Merton Campbell Crockett
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden