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: login shell or not



On Oct 14, 2004, at 10:15 AM, Francis Derive wrote:

When I start an Xterm, I can quit the window only but with "exit" ( doing "logout" explicitly says "not login shell" ).
I am surprised - shouldn't I be ?
Because when I start a Terminal session, I can quit the window doing a "logout" ( "exit" do it also ) - but I am not surprised, as I understand in both cases I am running login shells. I was wrong ? how ? and why this difference ?

xterms do not run login shells by default; you can force them to by running xterm with the -ls flag.


Or you could add this to your .tcshrc:

if ( ! $?loginsh ) alias logout exit

Ronnie

_______________________________________________
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: 
 >login shell or not (From: Francis Derive <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.