Re: reset tty modes on TMOUT
"J.R. Oldroyd" <[email protected]> Sat, 25 Jul 2026 14:22:44 -0400
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 24 Jul 2026 19:36:35 -0700 Bart Schaefer <[email protected]= > wrote: > > On Fri, Jul 24, 2026 at 10:26=E2=80=AFAM J.R. Oldroyd <[email protected]> wro= te: > > > > + if (zleactive) > > + settyinfo(&shttyinfo); > > stopmsg =3D 1; > > zexit(SIGALRM, ZEXIT_SIGNAL); =20 >=20 > Shouldn't this happen inside zexit() for any ZEXIT_SIGNAL ? >=20 > Workaround: Use "ttyctl -f" in the parent. >=20 I am not really familiar with the zsh code, so can't really answer. The patch as provided has worked since 2023. If you wish to send any alternate patches, I am happy to try and post back if they work or not. Also, if you wish to add: #ifdef __FreeBSD__ around it to make it FreeBSD only, that works. -jr