From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26581 invoked from network); 26 Jun 2006 18:16:22 -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.4 required=5.0 tests=AWL,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 18:16:22 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 28727 invoked from network); 26 Jun 2006 18:16:16 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Jun 2006 18:16:16 -0000 Received: (qmail 24007 invoked by alias); 26 Jun 2006 18:16:09 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10444 Received: (qmail 23998 invoked from network); 26 Jun 2006 18:16:09 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Jun 2006 18:16:09 -0000 Received: (qmail 27575 invoked from network); 26 Jun 2006 18:16:09 -0000 Received: from cluster-c.mailcontrol.com (168.143.177.190) by a.mx.sunsite.dk with SMTP; 26 Jun 2006 18:16:08 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly21c.srv.mailcontrol.com (MailControl) with ESMTP id k5QIG4SJ024884 for ; Mon, 26 Jun 2006 19:16:06 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Mon, 26 Jun 2006 19:15:53 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.4/8.13.4) with ESMTP id k5QIFrjo004417 for ; Mon, 26 Jun 2006 19:15:53 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.13.4/8.13.4/Submit) with ESMTP id k5QIFqr1004414 for ; Mon, 26 Jun 2006 19:15:52 +0100 Message-Id: <200606261815.k5QIFqr1004414@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-users@sunsite.dk Subject: Re: setopt returns both "interactive and login" In-reply-to: <5FC432DB-3CD1-401C-A936-5C776120EE14@petmystone.com> References: <200606261734.k5QHYbYs028065@news01.csr.com> <5FC432DB-3CD1-401C-A936-5C776120EE14@petmystone.com> Comments: In-reply-to Timothy Stone message dated "Mon, 26 Jun 2006 13:56:45 -0400." Date: Mon, 26 Jun 2006 19:15:52 +0100 From: Peter Stephenson X-OriginalArrivalTime: 26 Jun 2006 18:15:53.0452 (UTC) FILETIME=[8FB9CAC0:01C6994C] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-07-00-10 (www.mailcontrol.com) on 10.67.0.131 Timothy Stone wrote: > 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? Yes, this too is standard behaviour. (Plug: It's described explicitly in "From Bash to Z Shell", chapter 5.) -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php