Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird behavior with redirecting stdin
- X-seq: zsh-users 24197
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Aryn Starr <whereislelouch@xxxxxxxxxx>
- Subject: Re: Weird behavior with redirecting stdin
- Date: Mon, 2 Sep 2019 16:36:20 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=hn81ZaFoh0g/tmrhRCpLRDBYjABDVzrHm/EWUVtFlb4=; b=XhjxDpG11kFlQadhFXA+v8tvRN3676oE7idRwhVRKPPYYIOFyCniPOg2zus+WvbxGb qDWundwfkSHrZOxsttUUjUj41obbZtIdmuIEJKNT+PJN8OOBYjrEoV+L5J2uvetcZ9Uu nt1+92o4psgbIX4RvIY+lDcx+jWkUUoYCCXbbdMgl5j0oeDBAlcvl2x4CxKzGTqyUxHF jbVmIXZ6cZwOJB7KVMjZWMzXX4rQU2gyMiSX2z2JJCrtvcdYJ0qcuKgEemaOsDY02vXh tdQV6AbA8z7qnOhqzhZU/QEgtRU2HpgDje2nOqNpH2ISZzUBsxzD1OmjVMJv+1FcRNP5 Wmmw==
- In-reply-to: <3A161CB3-442A-4E0B-9A0E-1C62A72DF6DB@icloud.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <3A161CB3-442A-4E0B-9A0E-1C62A72DF6DB@icloud.com>
On Mon, Sep 2, 2019 at 3:59 PM Aryn Starr <whereislelouch@xxxxxxxxxx> wrote:
> Then running `fcm | teec` hangs (after printing `hi`) and doesn’t even get interrupted with ^D or ^C.
> I don’t understand why these problems occur at all, and I have no idea how to go about fixing them ...
I don't know what's going on but here's a simplified test case that hangs:
echo | fzf | { /bin/true; : "$(cat)" }
This also hangs:
fzf | { /bin/true; : "$(cat)" }
I think this might be caused by fzf getting suspended when it tries to
write to the terminal. I'm just speculating though.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author