From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14004 invoked from network); 31 Jul 2007 12:46:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 31 Jul 2007 12:46:51 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 69478 invoked from network); 31 Jul 2007 12:46:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 Jul 2007 12:46:45 -0000 Received: (qmail 20927 invoked by alias); 31 Jul 2007 12:46:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23731 Received: (qmail 20918 invoked from network); 31 Jul 2007 12:46:42 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 31 Jul 2007 12:46:42 -0000 Received: (qmail 69129 invoked from network); 31 Jul 2007 12:46:42 -0000 Received: from cluster-g.mailcontrol.com (85.115.41.190) by a.mx.sunsite.dk with SMTP; 31 Jul 2007 12:46:38 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly05g.srv.mailcontrol.com (MailControl) with ESMTP id l6VCiLe3022315 for ; Tue, 31 Jul 2007 13:46:34 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Tue, 31 Jul 2007 13:45:39 +0100 Date: Tue, 31 Jul 2007 13:45:38 +0100 From: Peter Stephenson To: Subject: Re: Zsh looping on commands that produce long output Message-ID: <20070731134538.57876c34@news01.csr.com> In-Reply-To: References: Organization: CSR X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.13; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 Jul 2007 12:45:39.0199 (UTC) FILETIME=[B2BEB8F0:01C7D370] X-Scanned-By: MailControl A-07-08-00 (www.mailcontrol.com) on 10.71.0.115 On Mon, 30 Jul 2007 19:40:33 -0700 Jeffrey Merrick wrote: > I've repeatedly run into the problem of zsh looping when running commands > that produce many (like, 200 or more) lines of output. >... > Thus, it's as if there is some shared state across all running zsh > instances that triggers the looping behavior, and the state is cleared only > by killing all the zsh instances. This doesn't sound like any previously reported problem. The nearest thing to shared state between shells is the history mechanism; if you have the SHARE_HISTORY option set it will try to read history just written by other shells, but it won't try to execute it. Do you have any precmd, preexec or chpwd functions, or anything similar, or some session management layer such as screen? -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 .