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: Eliminating the xterm



xterm -ls just causes the shell launched by xterm to be a login shell. That is, it runs 'bash --login' rather than 'bash' for the shell. A login shell uses ~/.bash_profile when it starts.

--Jeremy

On Nov 17, 2007, at 5:19 PM, Francisco De La Cruz wrote:

Perhaps. What are consequences of this action?
-f
On Nov 17, 2007, at 7:07 PM, Jeremy Huddleston wrote:

This is pretty philosophical... I don't see the launhced xterm as a login terminal, so I don't really agree that it should use -ls to force bash to load .profile (or .bash_profile)... It should just load ~/.bashrc

--Jeremy

On Nov 17, 2007, at 3:21 PM, Mark E. Perkins wrote:

On 2007/11/17 17:23, Francisco De La Cruz wrote:
Well that did it.
Added "XTerm*LoginShell: true" tothe top of my new ~/Xterm so that it
loads my ~/.bash_profile.

BTW, that's equivalent to running 'xterm -ls' (which I think was suggested
earlier as a fix for this issue).


Mark
_______________________________________________
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


_______________________________________________ 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: 
 >Fwd: Eliminating the xterm (From: "Nathaniel Gray" <email@hidden>)
 >Re: Eliminating the xterm (From: "Nathaniel Gray" <email@hidden>)
 >Re: Eliminating the xterm (From: Peter Collinson <email@hidden>)
 >Re: Eliminating the xterm (From: Ben Byer <email@hidden>)
 >Re: Eliminating the xterm (From: Francisco De La Cruz <email@hidden>)
 >Re: Eliminating the xterm (From: Bill Campbell <email@hidden>)
 >Re: Eliminating the xterm (From: Francisco De La Cruz <email@hidden>)
 >Re: Eliminating the xterm (From: "Mark E. Perkins" <email@hidden>)
 >Re: Eliminating the xterm (From: Jeremy Huddleston <email@hidden>)
 >Re: Eliminating the xterm (From: Francisco De La Cruz <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.