Re: Xterm not reading dotfiles
Re: Xterm not reading dotfiles
- Subject: Re: Xterm not reading dotfiles
- From: Merton Campbell Crockett <email@hidden>
- Date: Fri, 16 Nov 2007 10:36:15 -0800
On 15 Nov 2007, at 19:39:56, Jeremy Huddleston wrote:
On Nov 15, 2007, at 7:31 PM, Francisco De La Cruz wrote:
Ok since you launch your xterm from the apps menu in X11 did you
manage to keep it from launching an xterm at startup?
I think you're missing the point. /Applications/Utilities/X11.app
*IS* xterm. Launching that just runs xterm. launchd notices this
and starts /usr/X11/X11.app. If you don't like having launchd
support, check out the first item in our FAQ: http://www.x.org/wiki/XDarwin_FAQ
I could be wrong but I believe that the "real" issue being raised in
this thread is that there is an inconsistent behavior between how
Apple and X terminals.
When /Applications/Utilities/Terminal.app is started from the Finder,
the default action is to execute /usr/bin/login and ensures that
~/.bash_profile is read and the environment changed accordingly before
opening the Terminal window.
When /Applications/Utilities/X11.app is started from the Finder, the
default action is to, simply, open an X window in the user's current
environment. The problem with this is that the environment is that of
the user's login to Mac OS X. The user is provided, in effect, a bash
environment that has not been initialized.
If you have a ~/.xinitrc file defined that opens an X terminal with
your desired options and exec quartz-wm, you will get two X terminal
windows. The first displayed will be a default X terminal window with
the Mac OS X environment. The second will be an X terminal configured
with your options and an initialized bash environment.
Personally, I want X11.app to behave the same as Terminal.app. I want
it to initialize the environment. X11.app should have a Preferences
panel that is, essentially, identical to that of Terminal.app.
Merton Campbell Crockett
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden