Re: reset tty modes on TMOUT

Bart Schaefer <[email protected]> Fri, 24 Jul 2026 19:36:35 -0700
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAH+w=7YNnsxGEbJp08c3ruiJsv=0deRNZRGgQnKRF-kSL_hOeQ@mail.gmail.com>
On Fri, Jul 24, 2026 at 10:26=E2=80=AFAM J.R. Oldroyd <[email protected]> wrote=
:
>
> +               if (zleactive)
> +                   settyinfo(&shttyinfo);
>                 stopmsg =3D 1;
>                 zexit(SIGALRM, ZEXIT_SIGNAL);

Shouldn't this happen inside zexit() for any ZEXIT_SIGNAL ?

Workaround:  Use "ttyctl -f" in the parent.