> 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 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
