From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2857 invoked by alias); 1 Jun 2010 22:24:13 -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: 27987 Received: (qmail 28732 invoked from network); 1 Jun 2010 22:24:11 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at ntlworld.com designates 81.103.221.56 as permitted sender) Message-Id: <201006012145.o51LjhGg005724@pws-pc.ntlworld.com> From: Peter Stephenson To: Martin Buchholz cc: zsh-workers@zsh.org Subject: Re: zsh ignores the arguments on its first command. In-Reply-To: Message from Martin Buchholz of "Tue, 01 Jun 2010 14:23:50 PDT." Date: Tue, 01 Jun 2010 22:45:43 +0100 X-Cloudmark-Analysis: v=1.1 cv=W3tOLUehizD4qj6VhtReFuw5MKb8d+XqjIxlDsIazEA= c=1 sm=0 a=kC4C4bchyn8A:10 a=GQCbJdZ--msA:10 a=DogomfpGjd0A:10 a=NLZqzBF-AAAA:8 a=qLuRNAsIgSe_u-fKrEkA:9 a=kevVF3bv9l9TiSjKCYHbdSWXpJsA:4 a=_dQi-Dcv4p4A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Martin Buchholz wrote: > Hi zsh maintainers, > > This is a bug report. > > It seems that when the shell is invoked using > zsh -i -c 'COMMAND1; COMMAND2' > then COMMAND1 is executed without its arguments! I think your terminal is being screwed up somehow. That explains both why you can't see the echo output and can't see the ${+terminfo}. 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. Also, I'm afraid we don't have the spare time to go poking around in distribution's zshrc files, but if you think there's some effect we (rather than the distribution) should know about, please do report it. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/