> Yes, 'reset' fixes the terminal.
>
> In Denys' fix, he closes STDIN when the inactivity timer pops. I
> wonder why that messes up the terminal?
Oh thats nothing to wonder about: The shell has to fiddle with the
terminal settings (raw/cooked) to allow line (advanced) editing.
Normally the terminal settings get saved and restored on shell exit ...
but if Denys closes stdio on alarm, that restore of the settings get
lost ...

... hey Denys, could you try to close only stdin on alarm and do the
terminal restore on stdout/stderr instead? ... just as a hint for a
possible solution.

--
Harald

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to