Re: Starting order for xterm vs. terminal
Re: Starting order for xterm vs. terminal
- Subject: Re: Starting order for xterm vs. terminal
- From: Nick Phillips <email@hidden>
- Date: Wed, 2 Jul 2003 09:51:21 +1200
On Wednesday, July 2, 2003, at 02:32 AM, Adrian Umpleby wrote:
Can someone give a clear explanation of exactly what files are read
and executed as
(1) Apple's terminal program opens a new window
(2) Apple's X11 xterm program opens a new window
The reason I ask is that for the former, I get a path with /usr/bin
before /usr/local/bin
while with the latter it /usr/local/bin comes before /usr/bin.
Try adding the "-ls" option to your xterm command - this ensures it is
a full login shell (so it will 'run' your .cshrc/.login etc.),
otherwise it inherits env.vars from the X11.app environment (which
will probably not be set up the way you want, unless you fiddle with
various other files).
Better still, run xterm with "-ls" and "+ls" to see what happens (and
hopefully understand
why). Then sort out your .login & .cshrc (or .bash_profile and .bashrc,
or...) to do the right
thing in all situations. If you use ssh, don't forget to check that it
works "right" (i.e. how you
would expect) with that too.
Cheers,
Nick
--
Nick Phillips / +64 3 479 7073 / email@hidden
# these statements are my own, not those of the University of Otago
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.