Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: query terminal properties on ZLE startup
- X-seq: zsh-workers 53403
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <opk@xxxxxxx>
- Cc: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: PATCH: query terminal properties on ZLE startup
- Date: Tue, 4 Mar 2025 11:09:04 -0800
- Archived-at: <https://zsh.org/workers/53403>
- In-reply-to: <160-1741114413.341514@HFn2.2coT.Pn_T>
- List-id: <zsh-workers.zsh.org>
- References: <42572-1740099942.836692@_3BM.v5Iz.JqiS> <F07C8421-2663-440A-82AD-0748D39511B1@kba.biglobe.ne.jp> <CAH+w=7a9hye-2BxQUjkHw-=zFo5T7vXjVwQRnKnKEoZ3W0-_ug@mail.gmail.com> <40483-1740433325.086036@2QZo.3hhS.-9FG> <CAH+w=7Zf3vL6BYg0t61uskLmDD_gOwE7XhuwxB9SSwv+z0qOKw@mail.gmail.com> <69272-1740474756.308875@TCCj.PrGv.2vsI> <CAH+w=7ZJNRy2zV7t4wRhzcnW1jn2LgRKbMByCOrtbr9VVM2emw@mail.gmail.com> <5355-1740527169.384113@fufd.0HLy.otw9> <CAN=4vMpHQyTmXBScGZDn+OTc=cDWKSt7vJ_2+hmTe1zViQyU8w@mail.gmail.com> <73847-1740613975.581764@cI3H.WJge.amo7> <CAN=4vMrvw_sz65Q5hnCi+e0FLzpMhcY7LCxkMBVNXTc9F4hBGg@mail.gmail.com> <34349-1741036030.024371@cbbt.z2rh.FRwQ> <CAH+w=7Zd3+q=qgPUFgb-5EXfcn2BrScdBxHuTfVawBK57Pv0ig@mail.gmail.com> <160-1741114413.341514@HFn2.2coT.Pn_T>
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