summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watch
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-12-17 15:26:40 +0000
committerjkh <jkh@FreeBSD.org>1996-12-17 15:26:40 +0000
commitfe58599a09bf2eb853e3e1659df7ec0e27375e63 (patch)
treeb4ec31300ddfab88fc1ffeab9630696127d12c02 /usr.sbin/watch
parent1bef33b7a080e3af5f56e0755d6782e2c11827b4 (diff)
downloadFreeBSD-src-fe58599a09bf2eb853e3e1659df7ec0e27375e63.zip
FreeBSD-src-fe58599a09bf2eb853e3e1659df7ec0e27375e63.tar.gz
Use RAW, not CBREAK
Diffstat (limited to 'usr.sbin/watch')
-rw-r--r--usr.sbin/watch/watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/watch/watch.c b/usr.sbin/watch/watch.c
index 8add801..50094e7 100644
--- a/usr.sbin/watch/watch.c
+++ b/usr.sbin/watch/watch.c
@@ -96,7 +96,7 @@ set_tty()
ioctl(std_in, TIOCGETC, &tco);
sgn = sgo;
tc = tco;
- sgn.sg_flags |= CBREAK;
+ sgn.sg_flags |= RAW;
sgn.sg_flags &= ~ECHO;
ospeed = sgo.sg_ospeed;
tc.t_intrc = 17; /* ^Q */
OpenPOWER on IntegriCloud