Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Randy Ford <email@hidden>
- Date: Fri, 7 Feb 2003 15:32:06 -0600
On Friday, February 7, 2003, at 02:24 PM, Rene Tio wrote:
This subject has been covered before. Check the thread "dang
.xinitrc" in the archives. I put ". $HOME/.profile" in my .xinitrc
file for XDarwin, but that does not take care of the Applications menu
in Apple X11. There have been suggestions to modify the X11.app
startup script and also enabling the loginShell for XTerm resources,
all of which work but have their caveats (for example, xterm -ls -e
"some command" wouldn't work if "some command" relied on something in
.bash_login or .profile or .bash_profile; I've never found out why.)
From the xterm(1) manpage:
-ls
....
Note that this is incompatible with -e, since the
login program does not provide a way to specify
the command to run in the new shell. If you spec-
ify both, xterm uses -ls.
However, it doesn't look like apple's xterm is using the login program.
It's supposed to do a login -f, at least from past experience on other
systems, and the man page. I don't get the banners, and my environment
doesn't get reset. It looks like it's just invoking the shell as a
login shell. If it did invoke login(1), then some of the side effects
wouldn't be as bad. (Environment variables wouldn't be repeatedly
modified.)
randy.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.