[Xquartz-dev] Initial xterm a login shell?

Peter Collinson pc at hillside.co.uk
Mon Dec 1 05:08:00 PST 2008


It takes your environment from the environment plist.

These links seem to help:

http://www.astro.washington.edu/owen/AquaEnvVar.html
http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html

On 1 Dec 2008, at 13: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
>



Regards
_____________________________________________
Peter Collinson





More information about the Xquartz-dev mailing list