From: Paolo Perego <pperego@suse.de>
To: zsh-workers@zsh.org
Subject: [BUG] zsh fails to resume function
Date: Wed, 29 Nov 2023 18:22:15 +0100 [thread overview]
Message-ID: <ac42zlnexgxyuk47lqd5cgijdsd4vba3cbvyo6vd7g2yg6o3qz@et6wyoha3g23> (raw)
[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]
Hi list, I'm Paolo the zsh maintainer for openSUSE and SUSE Linux
Enterprise distributions.
We were reported by a customer, that zsh fails to re-enter a command on
the right side of a pipe when command is suspended and the program combo
is defined in a function.
To make sure no changes from downstream introduced this bug, I
replicated using a vanilla zsh version 5.9 downloaded from zsh.org
mirror.
Since the problem is still present, I wrote to you to fix it upstream.
% zsh -f
% fc -l 1 -1 2>&1|less +G #enter less without using a function
^Z #suspend less
zsh: done fc -l 1 -1 2>&1 |
zsh: suspended less +G
% fg #zsh re-enters less properly
: q
[1] - done fc -l 1 -1 2>&1 |
continued less +G
% h(){ fc -l 1 -1 2>&1|less +G;}
% h #enter less in a function
^Z #suspend less
zsh: done fc -l 1 -1 2>&1 |
zsh: suspended
% fg #zsh fails to re-enter less
[1] + done fc -l 1 -1 2>&1 |
continued
zsh: done fc -l 1 -1 2>&1 |
zsh: suspended (tty output)
zsh: done fc -l 1 -1 2>&1 |
zsh: suspended (tty output)
%
Can you please acknowledge the issue and give me a link to backtrack and
follow fix progress in our systems?
Thank you so much
Paolo
[1] https://bugzilla.suse.com/show_bug.cgi?id=1217304
--
(*_ Paolo Perego @thesp0nge
//\ Software security engineer suse.com
V_/_ 0A1A 2003 9AE0 B09C 51A4 7ACD FC0D CEA6 0806 294B
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2023-11-29 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 17:22 Paolo Perego [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-29 16:52 Paolo Perego
2023-11-29 18:25 ` Bart Schaefer
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=ac42zlnexgxyuk47lqd5cgijdsd4vba3cbvyo6vd7g2yg6o3qz@et6wyoha3g23 \
--to=pperego@suse.de \
--cc=zsh-workers@zsh.org \
/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).