Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default PATH in X11



X doesn't have a path, per se. If you start an xterm, the path is inherited from the environment that launched it (like Terminal.app) assuming PATH was exported. This in turn was set via path_helper (referencing /etc/paths). If you use /A/U/11.app to launch the xterm, it starts a bash login shell which uses /etc/profile to run path_helper and any user preferences in ~/.login (or ~/.bash_login). xterm is started from this login shell inheriting its $PATH. xterm then starts a non-login shell which uses your ~/.bashrc

Hope that helps,
Jeremy

On Nov 29, 2007, at 15:12, Ian Kaufman wrote:

Hey all,

Where does X11 set/get its default PATH from? It currently appears
to inherit a default PATH from the actual build (via config) and does
not seem to reference /etc/paths nor /etc/paths.d .

Thanks,

Ian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >default PATH in X11 (From: Ian Kaufman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.