zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Pasting of long lines to ZLE is buggy under Mac OS X
Date: Thu, 02 Oct 2008 08:36:23 -0700	[thread overview]
Message-ID: <081002083624.ZM14301@torch.brasslantern.com> (raw)
In-Reply-To: <20081002081758.GA5772@sc.homeunix.net>

On Oct 2,  9:17am, Stephane Chazelas wrote:
}
} Here (4.3.6-dev-0+0925), it seems zsh reads one character at a time, and for
} every character, surprisingly, it does:

[ a bunch of signal handling stuff and a dup of stdin ]

} It doesn't do that on another machine with 4.3.6-dev-0+0925

Check whether $BAUD has a value on the first machine but not on the
second.  If it's nonzero then zsh attempts to compensate for an
expected slow terminal by using poll() or select() which might
account for extra activity (though I'd expect those to show up
directly as system calls).

Also remember that every keystroke executes a zle widget.  Normally
that's self-insert that doesn't do anything special, but it could be
overridden with a user-defined widget that does other things.  For
example, if you're running the predictive typing widget on one of
those machines, every keystroke calls the completion system.


  reply	other threads:[~2008-10-02 15:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02  6:55 Vincent Lefevre
2008-10-02  8:17 ` Stephane Chazelas
2008-10-02 15:36   ` Bart Schaefer [this message]
2008-10-03  8:36   ` Vincent Lefevre
2008-10-16  5:57     ` Bart Schaefer
2008-10-19 22:18       ` Vincent Lefevre

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=081002083624.ZM14301@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).