From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23553 invoked from network); 24 Jul 1999 03:01:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Jul 1999 03:01:48 -0000 Received: (qmail 26443 invoked by alias); 24 Jul 1999 03:01:36 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2465 Received: (qmail 26436 invoked from network); 24 Jul 1999 03:01:35 -0000 From: "Bart Schaefer" Message-Id: <990724030122.ZM10119@candle.brasslantern.com> Date: Sat, 24 Jul 1999 03:01:22 +0000 In-Reply-To: <19990724104134.J1881@tertius.net.au> Comments: In reply to Bek Oberin ""login" shell" (Jul 24, 10:41am) References: <19990724104134.J1881@tertius.net.au> X-Mailer: Z-Mail (5.0.0 30July97) To: Bek Oberin , Zsh Users Subject: Re: "login" shell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 24, 10:41am, Bek Oberin wrote: } Subject: "login" shell } } What does the -l argument to zsh do? It sets the LOGIN option, which causes zsh to source the /etc/zprofile, ~/.zprofile, /etc/zlogin, and ~/.zlogin files at startup, and if the shell is also interactive, to source the ~/.zlogout file at exit. Hmm, it's probably a bug that the shell need only be a login shell to source the zlogin files, but must be both a login shell and interactive to source the zlogout files. Nevertheless, that's the way it's been for a very long time. } Not sure I understand the difference between a shell and a } "login shell". There isn't any other difference between a shell and a login shell. } Also, does zsh update wtmp/utmp files on login, or is this the } getty's job? Yes, that's the job of whatever process starts zsh; usually getty (more accurately, /bin/login as started from getty), but sometimes "xterm -ls" or the like. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com