zsh-workers
 help / color / mirror / code / Atom feed
From: Steven Lumos <slumos@unlv.nevada.edu>
To: Dan Nelson <dnelson@allantgroup.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: beep and garbage with long commands
Date: Fri, 18 Jun 2004 18:50:50 -0700	[thread overview]
Message-ID: <E1BbV10-0002Yk-00@gull.mail.pas.earthlink.net> (raw)
In-Reply-To: Message from Dan Nelson <dnelson@allantgroup.com>  of "Fri, 18 Jun 2004 01:52:59 CDT." <20040618065259.GF67368@dan.emsphone.com>

Dan Nelson <dnelson@allantgroup.com>:
>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


      reply	other threads:[~2004-06-19  2:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-17  1:55 slumos
2004-06-18  6:52 ` Dan Nelson
2004-06-19  1:50   ` Steven Lumos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1BbV10-0002Yk-00@gull.mail.pas.earthlink.net \
    --to=slumos@unlv.nevada.edu \
    --cc=dnelson@allantgroup.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).