Re: login shell or not
Re: login shell or not
- Subject: Re: login shell or not
- From: Ronnie Misra <email@hidden>
- Date: Thu, 14 Oct 2004 10:27:15 -0700
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)
This email sent to email@hidden