Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Weird delay on long command lines
- X-seq: zsh-workers 22066
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Weird delay on long command lines
- Date: Fri, 9 Dec 2005 21:36:03 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=h3y6Xwd2P2DSsyfwR5ssaQTdLF++Lji8jyNYY4xJ3epaVg3YWiNAeFagD/9YngzmicBogiNYLGLmiMgiESG8Su8yRK1jkEpsMMYEzjx0sr8qmTbO8rFB4/S28peXz9r99/KaC7K0u+7d+Ao8n0wScIH3R5JWNphzZNL/yI+W/MU=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
This mostly happens when i paste gcc commands from autoconf, but it's
easy to reproduce with the alt-number keybinds. For example type
alt-1000 and press a, then press left arrow. You'll notice it takes a
second or two before anything happens. I've confirmed the same thing
happens with zsh -f. Attaching with strace shows the final argument to
poll() seems to be O(n) with the command line length but I really have
no idea why (or what the poll is for, haven't looked at the code).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author