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 12:22:27 -0800
On 16 Nov 2007, at 10:52:42, Jeremy Huddleston wrote:
It used to do
/usr/bin/login -fp <your login> xterm
but I had problems getting .Xresources that way and it also didn't
work if "xterm" was user-modified to have command line arguments.
Francisco, what happens if you do this at a terminal?
/usr/bin/login -fp <your login> /bin/sh -c xterm
I started X11.app from the Finder and then executed the above
command. A new xterm was not open because ~/.bash_profile which adds /
usr/X11/bin to the path wasn't sourced.
If I change the line to
source .bash_profile ; /usr/bin/login -fp mcc /bin/sh -c xterm
a new xterm is opened with the correct environment.
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