This came up in a Usenet newsgroup. When I start X11, the initial xterm is not a login shell (no -ls argument). Some other people find that theirs is a login shell. Is this something that has changed between versions? I would have thought it made sense for it to be a login shell, so that you get your expected PATH and so on. -- Richard -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
Richard, The xterm is launched from a login shell, so even though the xterm itself isn't a login shell, it has inherited from a true login shell. So, you get the same effect if you are using bash as your shell. If you use some other shell as your login, then I'd recommend a minor change to the X11 preferences so that its login shell corresponds to what you are using: defaults write org.x.X11 login_shell /bin/tcsh replacing "/bin/tcsh" with your appropriate shell. You can use defaults read org.x.X11 to check before and after. Merle On Dec 1, 2008, at 7:17 AM, Richard Tobin wrote:
This came up in a Usenet newsgroup. When I start X11, the initial xterm is not a login shell (no -ls argument). Some other people find that theirs is a login shell. Is this something that has changed between versions?
I would have thought it made sense for it to be a login shell, so that you get your expected PATH and so on.
-- Richard
-- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
participants (2)
-
Merle Reinhart
-
Richard Tobin