diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/termios/cfmakeraw.c | 4 |
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); |