summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-20 19:45:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-20 19:45:58 +0000
commit63209a03c3fa1635f8997c6e3479e1e879713dd8 (patch)
treebd16048d55a8c2934f6b45d5eca8aaed39ad4a42 /lib
parentc1de51873c764569263f1decd65bcdd152a1df97 (diff)
clear IMAXBEL bit; msaitoh
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/termios/cfmakeraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/termios/cfmakeraw.c b/lib/libc/termios/cfmakeraw.c
index 99f06186b15..af983fe100f 100644
--- a/lib/libc/termios/cfmakeraw.c
+++ b/lib/libc/termios/cfmakeraw.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: cfmakeraw.c,v 1.2 1996/08/19 08:34:35 tholo Exp $";
+static char rcsid[] = "$OpenBSD: cfmakeraw.c,v 1.3 1998/08/20 19:45:57 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <termios.h>
@@ -45,7 +45,7 @@ void
cfmakeraw(t)
struct termios *t;
{
- t->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
+ t->c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
t->c_oflag &= ~OPOST;
t->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
t->c_cflag &= ~(CSIZE|PARENB);