From: Bart Schaefer <schaefer@brasslantern.com>
To: Paolo Perego <paolo.perego@suse.com>
Cc: zsh-workers@zsh.org
Subject: Re: [BUG] zsh fails to resume function
Date: Wed, 29 Nov 2023 10:25:02 -0800 [thread overview]
Message-ID: <CAH+w=7aFU13i7m+SE=K-5Zg4sSAH7x3C4vk2zXt1vMbmNOnFtg@mail.gmail.com> (raw)
In-Reply-To: <4a7436b9-e444-4858-ad0d-a9913657ddef@DB9PR04MB9626.eurprd04.prod.outlook.com>
(Note, we received this twice as workers/52330 and workers/52331, I'm
responding to 52330.)
On Wed, Nov 29, 2023 at 9:17 AM Paolo Perego <paolo.perego@suse.com> wrote:
>
> It seems zsh fails to re-enter a nested command putted in background
> when defined in a function.
> [...]
> Can you please confirm that this is a bug for you and give us a link to
> backtrack the progress?
This is fixed in current git HEAD by workers/50874 and workers/50922.
https://www.zsh.org/mla/workers/2022/msg01204.html
https://www.zsh.org/mla/workers/2022/msg01252.html
Note the subject of the latter refers to "problem with 'ls | less'
shell function".
In the specific example in your test case, "less" was known to trigger
the bug due to its internal handling of the terminal (stdin/out/err
descriptors) and signals. Thread starts at
https://www.zsh.org/mla/workers/2022/msg01115.html
It might be possible to backport those two patches into your build.
next prev parent reply other threads:[~2023-11-29 18:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 16:52 Paolo Perego
2023-11-29 18:25 ` Bart Schaefer [this message]
2023-11-29 17:22 Paolo Perego
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='CAH+w=7aFU13i7m+SE=K-5Zg4sSAH7x3C4vk2zXt1vMbmNOnFtg@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=paolo.perego@suse.com \
--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).