freebsd-dev/usr.sbin/watch
Jilles Tjoelker 79e6a2c01e watch: Do not mess up the tty modes on early error.
Record the initial state earlier, so it is always safe to restore it.

One way this happens is if watch(8) is started by a user that does not have
access to /dev/snp. The result is "staircase effect" during later commands.

PR:		bin/153052
MFC after:	1 week
2013-09-05 19:02:03 +00:00
..
Makefile
watch.8
watch.c watch: Do not mess up the tty modes on early error. 2013-09-05 19:02:03 +00:00