Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] Ctrl-C stops working after process substitution
- X-seq: zsh-workers 43161
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: [BUG] Ctrl-C stops working after process substitution
- Date: Tue, 10 Jul 2018 19:57:14 +0200
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wph7hN6xU24dOz1o0CUb5d0i81+76EDBQByTNlXDwuc=; b=oLcJSD2JC8lqZjGrS70zQfKbQwWVx8lD0X0l73vvy+5gaVIUpZmTjhHxnuOUnA9Q/O M0TC7qO5wtfXSRbbqtVckPMogekhPKMbWxKw55u+r861ZwpeOrDNS3OrGfDQGCYPe3gC lg5//VCxxBq3GeN+zA25hCGhdhSIcp2VDlTX1LMkHEQWBs/SdlgFPkMyOzlBdszttt2f OLmH6QMi8oBUhmxkQ+TYx/WYv/zvo+JMwZPdD67c0h3CP71ChmIseguWTPg+7sW7bYug l/cIPw4m3MC0QuIgX2yDR3OzgDxA52kq3VzM0DPDxfNYvTfpiCpU7hfokCLKm+ub3Aif bPsQ==
- In-reply-to: <20180710152136eucas1p2a805a445f3687ad8a8eef97fe4bd2566~ACx3zdmM93266432664eucas1p2R@eucas1p2.samsung.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVAkph0UJGRojp3+H2VVYOHWsTCLQo9iONh0TnuvMwL_=Q@mail.gmail.com> <1530706152.948208.1429754600.66E3F94F@webmail.messagingengine.com> <CGME20180704170810epcas5p29840028fd34c40ae2a91008f8c25eb79@epcas5p2.samsung.com> <CAKc7PVB5fd-aqgFeuTTpBU9TYUkAfcVT1+PmCGmMFJEij2azVw@mail.gmail.com> <20180705084448eucas1p244dbcec9f6d915655cd8bb035fb72f6e~_bI-T7ynp0198101981eucas1p2S@eucas1p2.samsung.com> <CAKc7PVDk1SFj8QopEZLkEo997O3NwmUP6cXRHd_4_cakSbTmLw@mail.gmail.com> <CAKc7PVBPsVJYgWmqCo=wtHNmUfQzXsb7vZzbuRH4KXig7fMcDQ@mail.gmail.com> <20180710152136eucas1p2a805a445f3687ad8a8eef97fe4bd2566~ACx3zdmM93266432664eucas1p2R@eucas1p2.samsung.com>
On 10 July 2018 at 17:21, Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> On Tue, 10 Jul 2018 17:06:42 +0200
> Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
>> So what can mask SIGINT?
>
> This is usually a call to holdintr().
I tried setting breakpoint on holdintr and it wasn't called.
I had some realization that maybe child-process created by <() masks
SIGINT, and as it holds /dev/tty, this somehow leaks-out to the main
zsh-process, but this is naive theory, as currently I kill -9 the
child process instantly after reading needed data from it, so the
"leak" of SIGINT mask should at that moment be withdrawn. Who knows..
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author