From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4297 invoked by alias); 16 Sep 2016 03:06:33 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 39356 Received: (qmail 49 invoked from network); 16 Sep 2016 03:06:33 -0000 X-Qmail-Scanner-Diagnostics: from out2-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.26):SA:0(0.0/5.0):. Processed in 0.43438 secs); 16 Sep 2016 03:06:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:in-reply-to:message-id :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=zp1DH yrq9NswHGCE/CFoSzLx55A=; b=Fod7QHa1uftR26fdX4YFGd4+gLLkG6sLokcun XJsah1b9BtDRARhzpmX3HfSZ/qVvw8yG22NfmkYOqM4VXAMbSjyABvl4soSM95tQ BxuO0FCZVzmXU0Z6ukfKVQsKHW1Ia2CE98gyrp2sPbmodh7NRrApx88tsd7aX/Ub ZjxjJI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:in-reply-to:message-id :references:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=zp1D Hyrq9NswHGCE/CFoSzLx55A=; b=l9V86PV2Z8yAG4tCpT2Vw8mr8LyzuTOjxygb DA4DyndjnzHPl++/lZx7Tf/ojzKdkKBlWZ7s64I81TTupmNo3uOLueWZLPbKaODn q6KrSqzKygRKEib0UU2aOOE/3JPot/YbCISLx8DZzNzTnr6t82O++nKZtZbVSSxP 9zYlIJU= X-Sasl-enc: Bd5iZ2Eda9fjs2/U9VuKKwGGMUeM7jgI3xQ+F/YXmiPV 1473995187 From: Daniel Shahaf To: zsh-workers@zsh.org Subject: [PATCH] Etc/BUGS: Remove fixed items, add 'compset -q' item from workers/39306. Date: Fri, 16 Sep 2016 03:05:30 +0000 Message-Id: <1473995130-21781-1-git-send-email-danielsh@fujitsu.shahaf.local2> X-Mailer: git-send-email 2.1.4 In-Reply-To: <160915174039.ZM3855@torch.brasslantern.com> References: <160915174039.ZM3855@torch.brasslantern.com> The first removed hunk is fixed by ZLE_RPROMPT_INDENT. The next two removed hunks work (on my system, anyway) with current master. --- Etc/BUGS | 41 +++++++---------------------------------- 1 file changed, 7 insertions(+), 34 deletions(-) diff --git a/Etc/BUGS b/Etc/BUGS index 0547271..eeba0fb 100644 --- a/Etc/BUGS +++ b/Etc/BUGS @@ -2,40 +2,6 @@ KNOWN BUGS IN ZSH ----------------- -On some terminals, display of lines with exactly 80 characters is -problematic. zsh assumes that the terminal does not print an extra -newline in this case, but some terminals (e.g. aixterm) do. ------------------------------------------------------------------------- -When interrupting code like the following with ^C: - while true; do - sh -c '...' - done -if the `sh' is executing, zsh does not know that the sh received a ^C and -continues with the next iteration. This happens for any program which -handles the interrupt, then exits after tidying up; it does not happen for -zsh, which exits directly from the signal handler. The workaround is to -use ^Z which forks the shell and makes the loop a separate job, then kill -the suspended loop. ------------------------------------------------------------------------- -If you suspend "man", zle seems to get into cooked mode. It works ok -for plain "less". -It is not specific neither to man nor to zsh. -E.g. call the following program foo: -#include -#include - -int main(int argc, char *argv[]) -{ - int status; - - if (!fork()) /* child */ - execvp(argv[1], argv + 1); - else /* parent */ - wait(&status); -} -Then if you suspend -% foo less something -from zsh/bash, zle/readline gets into cooked mode. ------------------------------------------------------------------------ The pattern %?* matches names beginning with %? instead of names with at least two characters beginning with %. This is a hack to allow %?foo job @@ -46,3 +12,10 @@ the nonomatch and nullglob options. ------------------------------------------------------------------------ It is currently impossible to time builtins. ------------------------------------------------------------------------ +'compset -q' has a byte-counting issue, described in workers/39306: + +% compdef _f f +% _f() { compset -q } +% f $'\' +compcore.c:1684: expecting 'x' at offset 2 of "'x" +------------------------------------------------------------------------