diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-07-16 10:36:29 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-07-16 10:36:29 +0000 |
commit | 38f63e57aae6ac8a478eae6653110f551ed5bebb (patch) | |
tree | 5a0a629b5f25f837c9b96f9f008ecc107dbe9fbc /usr.bin/ssh | |
parent | c638b07c6bd31ef05d551080d0f7e0ff1ff515b5 (diff) |
clear IUCLC in enter_raw_mode; from rob@pitman.co.za; ok deraadt@, fgs@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/sshtty.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshtty.c b/usr.bin/ssh/sshtty.c index 5c016f80af8..2f47b06d12e 100644 --- a/usr.bin/ssh/sshtty.c +++ b/usr.bin/ssh/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; |