From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20989 invoked from network); 26 Jun 2006 17:57:14 -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 17:57:14 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 6814 invoked from network); 26 Jun 2006 17:57:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Jun 2006 17:57:06 -0000 Received: (qmail 19870 invoked by alias); 26 Jun 2006 17:56:57 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10442 Received: (qmail 19860 invoked from network); 26 Jun 2006 17:56:56 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Jun 2006 17:56:56 -0000 Received: (qmail 5835 invoked from network); 26 Jun 2006 17:56:56 -0000 Received: from mout.perfora.net (217.160.230.40) by a.mx.sunsite.dk with SMTP; 26 Jun 2006 17:56:55 -0000 Received: from [63.238.186.10] (helo=[10.0.139.45]) by mrelay.perfora.net (node=mrelayus0) with ESMTP (Nemesis), id 0MKoyl-1FuvKK3ZyE-0002UI; Mon, 26 Jun 2006 13:56:51 -0400 In-Reply-To: <200606261734.k5QHYbYs028065@news01.csr.com> References: <200606261734.k5QHYbYs028065@news01.csr.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5FC432DB-3CD1-401C-A936-5C776120EE14@petmystone.com> Cc: Peter Stephenson Content-Transfer-Encoding: 7bit From: Timothy Stone Subject: Re: setopt returns both "interactive and login" Date: Mon, 26 Jun 2006 13:56:45 -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 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: % ssh luser@box Password: [luser@box] ~% setopt ... interactive login ... [luser@box] ~% zsh [luser@box] ~% setopt ... interactive ... Am I on the right path here? Thanks, Tim