Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: query terminal properties on ZLE startup



More on signals when I have more time.  Meanwhile ...

On Tue, Mar 4, 2025 at 10:53 AM Oliver Kiddle <opk@xxxxxxx> wrote:
>
> Bart Schaefer wrote:
> > But didn't we change zsh I/O to intentionally stop reading at newlines
> > to prevent this sort of thing?
>
> Not quite sure which changes that might refer to.

commit 1640457f4755a4a5248f5e9c0106fa01f8f1e9ff
Author: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Date:   Thu Mar 3 19:19:35 2022 +0000

    49792: Non-interative shell input is line buffered.

commit df0c783f4bcbeb93bccd24c33160863563e2f3dc
Author: Bart Schaefer <schaefer@xxxxxxx>
Date:   Thu Apr 28 21:06:51 2022 -0700

    50133: use read-ahead and lseek-rewind for efficient line-buffered input
----------

Those might not both be able to apply to a terminal paste (lseek
probably doesn't work, so that optimization would not be used) but the
stdio stream should (?) at least be set to non-buffered.




Messages sorted by: Reverse Date, Date, Thread, Author