From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24711 invoked by alias); 2 Jun 2010 07:05:35 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27989 Received: (qmail 17454 invoked from network); 2 Jun 2010 07:05:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 74.125.121.35 as permitted sender) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1275462326; bh=gmUo6EQOBC2X2/NcKw+rakeNT9I=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=d4jv+qZemnWnycadSclK4V6lvWGK54TUQJ5478DWsflQQOvI5w284FxyEMB2FBBJ4 tn01r9UphLbSgc2j43NMQ== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding:x-system-of-record; b=RQC6xKfZJy2mAymzyi9gn7H38yOVbbE0TYEp8W8+zjjH1eT1uGgpSdRLbnntzJ8tT fCwS6a9pyzOfKIBf3jkXA== MIME-Version: 1.0 In-Reply-To: <201006012145.o51LjhGg005724@pws-pc.ntlworld.com> References: <201006012145.o51LjhGg005724@pws-pc.ntlworld.com> Date: Wed, 2 Jun 2010 00:05:20 -0700 Message-ID: Subject: Re: zsh ignores the arguments on its first command. From: Martin Buchholz To: Peter Stephenson Cc: zsh-workers@zsh.org, Joel Ebel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true On Tue, Jun 1, 2010 at 14:45, Peter Stephenson wrote: > Martin Buchholz wrote: > I think your terminal is being screwed up somehow. =A0That explains both > why you can't see the echo output and can't see the ${+terminfo}. I expect ${+terminfo} to be 0, not to give an error. > It usually helps if you can boil bugs down to what happens with the "-f" > option, so we're not relying on unseen side effects of initialisation > scripts. Alright, let's try again to report the bug with the terminfo special parameter and the zsh/terminfo module: $ (unset TERM; zsh -fic 'echo $ZSH_VERSION; echo ${+terminfo}') 4.3.10 zsh:1: unknown parameter: terminfo $ (unset TERM; zsh -fic 'echo $ZSH_VERSION; echo ${+terminfo}') 4.3.4 0 The behavior in 4.3.4 is the expected one, and the behavior in 4.3.10 is a regression introduced since then. My guess is that the zsh core is not prepared to deal with the NULL return from getterminfo. Martin