diff options
Diffstat (limited to 'crypto/openssh/sshtty.c')
-rw-r--r-- | crypto/openssh/sshtty.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/openssh/sshtty.c b/crypto/openssh/sshtty.c index 5c016f8..2f47b06 100644 --- a/crypto/openssh/sshtty.c +++ b/crypto/openssh/sshtty.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshtty.c,v 1.3 2002/03/04 17:27:39 stevesk Exp $"); +RCSID("$OpenBSD: sshtty.c,v 1.4 2003/07/16 10:36:28 markus Exp $"); #include "sshtty.h" #include "log.h" @@ -80,6 +80,9 @@ enter_raw_mode(void) _saved_tio = tio; tio.c_iflag |= IGNPAR; tio.c_iflag &= ~(ISTRIP | INLCR | IGNCR | ICRNL | IXON | IXANY | IXOFF); +#ifdef IUCLC + tio.c_iflag &= ~IUCLC; +#endif tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL); #ifdef IEXTEN tio.c_lflag &= ~IEXTEN; |