[Xquartz-dev] Initial xterm a login shell?

Jeremy Huddleston jeremyhu at apple.com
Mon Dec 1 09:11:30 PST 2008


Maybe they're using an old version of X11.  That used to be a bug.


On Dec 1, 2008, at 05:00, Richard Tobin wrote:

>> 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.
>
> The ancestry of the shell in the inital xterm (as shown by ps l) is
>
>  bash
>  xterm
>  login
>  X11
>  launchd
>  launchd (process 1)
>
> Where is the login shell?
>
> In my case it does appear to inherit the correct $PATH, but evidently
> it doesn't for some people - that was the origin of this discussion.
>
> But because it doesn't run my .bash_login, other things (in particular
> stty settings) are wrong.
>
> -- Richard
>
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev



More information about the Xquartz-dev mailing list