idle (or inactivity) timeout in ash

Harald Becker ralda at gmx.de
Tue Feb 8 00:22:15 UTC 2011


> Shells have historically always used STDIN for the tty settings, due
> to the extremely common cases where stdout/stderr are redirected.
True ... but have you ever used an interactive shell where
stdin/stdout/stderr are redirected to different sources/destinations?
... and restoring terminal settings on none tty's doesn't harm in any way.

It would be better to restore terminal settings on stdin just before
closing, if this is possible ... but if not, it could be a possible
solution to consider using stdout/stderr for this.

> Y'all are starting to swim in some pretty shark-infested waters...
Programming in environments used/controlled by others is probably
(always?) like swimming in shark-infested waters ... and modifying big
programs of others is like calling that big white shark ... have I nice
time! :-)

--
Harald


More information about the busybox mailing list