• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: login shell or not
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >login shell or not (From: Francis Derive <email@hidden>)

  • Prev by Date: login shell or not
  • Next by Date: Re: login shell or not
  • Previous by thread: login shell or not
  • Next by thread: Re: login shell or not
  • Index(es):
    • Date
    • Thread