From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9925 invoked from network); 19 Jun 2004 02:06:57 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 19 Jun 2004 02:06:57 -0000 Received: (qmail 19853 invoked from network); 19 Jun 2004 02:06:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Jun 2004 02:06:46 -0000 Received: (qmail 26586 invoked by alias); 19 Jun 2004 02:06:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20078 Received: (qmail 21486 invoked from network); 19 Jun 2004 01:51:39 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 19 Jun 2004 01:51:36 -0000 Received: (qmail 11944 invoked from network); 19 Jun 2004 01:51:35 -0000 Received: from gull.mail.pas.earthlink.net (207.217.120.84) by a.mx.sunsite.dk with SMTP; 19 Jun 2004 01:51:34 -0000 Received: from user227.net111.lv.sprint-hsd.net ([208.13.129.227] helo=nevada.edu) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BbV10-0002Yk-00; Fri, 18 Jun 2004 18:51:30 -0700 From: Steven Lumos To: Dan Nelson cc: zsh-workers@sunsite.dk Subject: Re: beep and garbage with long commands In-Reply-To: Message from Dan Nelson of "Fri, 18 Jun 2004 01:52:59 CDT." <20040618065259.GF67368@dan.emsphone.com> X-Mailer: MH-E 7.4.3; nmh 1.0.4; GNU Emacs 20.7.1 Date: Fri, 18 Jun 2004 18:50:50 -0700 Message-Id: X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=BAYES_50 autolearn=no version=2.63 X-Spam-Hits: 0.0 Dan Nelson : >In the last episode (Jun 16), slumos@unlv.nevada.edu said: >> When entering certain long commands, zsh (at least 4.0.7 and 4.2.0 on >> at least FreeBSD and Solaris) beeps and echos parts of the command. >> Here's a stupid made-up example: >> >> [~]0% ls -la | while read line; do echo $line | awk '{print $1 " " $2 " " $3 > " " $4 " " $5 "\n"}'; done >|/dev/null; echo >> >> "}'; done >|/dev/null; echo >> [~]0% > >I bet you have a preexec function that sets your xterm's title bar, >right? Either the backslashes or the embedded newline is aborting the >escape sequence, you end up with the rest of your command printed >onscreen, plus the ^G that was supposed to end the titlebar escape >string. Of course! I *never* would have guessed that. Thanks! Steve