On Wed, Oct 2, 2019 at 8:16 PM Andreas Schwab <sch...@linux-m68k.org> wrote:
>
> On Okt 02 2019, Matteo Croce <mcr...@redhat.com> wrote:
>
> > It seems to me that bash restores the flag, cat prints an error when not:
> >
> > $ cat
> > $
> >
> > the same is not true if running multiple commands:
> >
> > $ ./foo; cat
> > cat: -: Resource temporarily unavailable
> > $
> >
> > Why this different behaviour?
>
> Because it's reset immediately before reading the next line with
> readline.
>
> Andreas.
>
> --
> Andreas Schwab, sch...@linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
> "And now for something completely different."

Exactly, while in my bug I can do any command I want without resetting it.
Only `exec bash` restores it.

-- 
Matteo Croce
per aspera ad upstream


Reply via email to