From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15702 invoked from network); 26 Jun 2006 19:03:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Jun 2006 19:03:30 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 87304 invoked from network); 26 Jun 2006 19:03:22 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Jun 2006 19:03:22 -0000 Received: (qmail 2624 invoked by alias); 26 Jun 2006 19:03:14 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10446 Received: (qmail 2614 invoked from network); 26 Jun 2006 19:03:13 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Jun 2006 19:03:13 -0000 Received: (qmail 86331 invoked from network); 26 Jun 2006 19:03:13 -0000 Received: from mout.perfora.net (217.160.230.41) by a.mx.sunsite.dk with SMTP; 26 Jun 2006 19:03:11 -0000 Received: from [63.238.186.10] (helo=[10.0.139.45]) by mrelay.perfora.net (node=mrelayus1) with ESMTP (Nemesis), id 0MKp2t-1FuwMY0YGd-0003OH; Mon, 26 Jun 2006 15:03:11 -0400 Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: <3EBBCB06-AA3E-44B0-9F18-189D3A8BAE7B@gmail.com> References: <200606261734.k5QHYbYs028065@news01.csr.com> <5FC432DB-3CD1-401C-A936-5C776120EE14@petmystone.com> <3EBBCB06-AA3E-44B0-9F18-189D3A8BAE7B@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3F21BE21-17D6-4CB5-85C6-677F2C9BC3E5@petmystone.com> Content-Transfer-Encoding: 7bit From: Timothy Stone Subject: Re: setopt returns both "interactive and login" Date: Mon, 26 Jun 2006 15:03:09 -0400 To: zsh-users@sunsite.dk X-Mailer: Apple Mail (2.750) X-Provags-ID: perfora.net abuse@perfora.net login:cc8f2e2326446829c1b030dcda0c3df2 On Jun 26, 2006, at 2:14 PM, Michael Hernandez wrote: > On Jun 26, 2006, at 1:56 PM, Timothy Stone wrote: > >> >> On Jun 26, 2006, at 1:34 PM, Peter Stephenson wrote: >> >>> Timothy Stone wrote: >>>> Can my shell be both 'interactive' and 'login' at the same time? >>> >>> Yes, that's the normal case for a login shell. >> >> Hmmm... I'm beginning to understand something is occurring behind >> the scenes here... the *NIX /login/ utility. >> >> So, when I open a new terminal window, with /insert favorite >> terminal application here/, the /login/ utility is invoked and I >> get a *login* shell, this is *interactive*. Following that, I >> request a new shell at the command line, barring the /-l/ switch, >> I get a new, but /interactive/ shell: >> Am I on the right path here? > > > The "user friendly user guide" and the book "From Bash to Z Shell" > both cover this, and are both very helpful (the Bash to Z Shell > book especially, if you want to see comparisons between shells). I have the latter, so I may have missed something in the text. I'll take a peek at the /User Friendly User Guide/ as a supplement. Peter, just saw your reply. Thanks. (No need to plug the book. Excellent material!) I'm just trying all of this out in a real world environment and syncing my mental expectations with the actual practice of it. Many thanks! Tim > > Hope this helps! > > Mike