Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: broken pipe with prompt -h
- X-seq: zsh-workers 17396
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: broken pipe with prompt -h
- Date: Wed, 3 Jul 2002 18:08:39 +0100
- In-reply-to: <1020629171715.ZM8921@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxx on Sat, Jun 29, 2002 at 05:17:15PM +0000
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20020629123440.A28494@xxxxxxxxxxxxxxxxxxxx> <1020629171715.ZM8921@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
- Sender: "Adam Spiers,,07775562717,020 88 30 30 35" <adam@xxxxxxxxxxxxxxxxxxxx>
Bart Schaefer (schaefer@xxxxxxxxxxxxxxxx) wrote:
> On Jun 29, 12:34pm, Adam Spiers wrote:
> } Subject: broken pipe with prompt -h
> }
> } $ prompt -h adam2 | grep -q plain
> } set_prompt:52: write error: broken pipe
> } set_prompt:53: write error: broken pipe
>
> This is a result of the changes in zsh-workers/16503 to cause bin_print()
> to report write errors. There was a follow-on patch in 16556 to suppress
> the errors when stdout is closed. EPIPE might be another error worthy of
> suppression.
Ahah.
> } Can anyone please tell me the correct fix?
>
> Other than redirecting stderr, I don't think there is one. It'd be the
> right idea to do trap 'ERRNO=0' PIPE but ERRNO is read-only.
I just upgraded from RedHat 7.3's rpm of 4.0.4 to 4.1.0-dev-5 and the
warning's gone. Was that supposed to happen?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author