From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25252 invoked from network); 21 Apr 2009 18:49:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Apr 2009 18:49:23 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 65996 invoked from network); 21 Apr 2009 18:49:16 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Apr 2009 18:49:16 -0000 Received: (qmail 1049 invoked by alias); 21 Apr 2009 18:49:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26865 Received: (qmail 1035 invoked from network); 21 Apr 2009 18:49:09 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 21 Apr 2009 18:49:09 -0000 Received: from sdf.lonestar.org (mx.freeshell.org [192.94.73.19]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 0F1978028C72 for ; Tue, 21 Apr 2009 20:48:07 +0200 (CEST) Received: from sdf.lonestar.org (IDENT:pda@svalbard.freeshell.org [192.94.73.10]) by sdf.lonestar.org (8.14.3/8.13.8) with ESMTP id n3LIn2LJ001488 for ; Tue, 21 Apr 2009 18:49:02 GMT Received: (from pda@localhost) by sdf.lonestar.org (8.14.3/8.12.8/Submit) id n3LIn1Y4011613 for zsh-workers@sunsite.dk; Tue, 21 Apr 2009 18:49:01 GMT From: Paul Ackersviller Date: Tue, 21 Apr 2009 18:49:01 +0000 To: zsh-workers@sunsite.dk Subject: Re: zsh 4.3.9-dev-2, two test failures on NetBSD Message-ID: <20090421184901.GC2989@svalbard.freeshell.org> Mail-Followup-To: zsh-workers@sunsite.dk References: <26804.1239987872@csr.com> <20090420040018.GA2989@svalbard.freeshell.org> <20090420174808.40d3f9f9@news01> <20090420214822.GB2989@svalbard.freeshell.org> <20090421103537.76769226@news01> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090421103537.76769226@news01> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV 0.92.1/9268/Tue Apr 21 17:10:12 2009 on bifrost X-Virus-Status: Clean On Tue, Apr 21, 2009 at 10:35:37AM +0100, Peter Stephenson wrote: > On Mon, 20 Apr 2009 21:48:22 +0000 > Paul Ackersviller wrote: > > Thanks, you're right it was /bin/sh. The system turns out to have a > > stty in /etc/profile that's really intended only for interactive shells. > > The test is for login shells, so that makes sense. Could there be a way to > > work around such breakage to /etc/profile? I can't think of anything easy. > > It might help to use zsh instead of sh here; zsh respects -f for login > shells and all we need to know is whether the "-" is at the start of the > line. Perfect, that does get around the problem. I wasn't even aware -f had that effect!