On Tuesday 08 February 2011 00:23, Harald Becker wrote: > > > 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.
I plan to remove the hack of closing stdin and implement it properly in lineedit. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
