diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sshtty.c | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -9,6 +9,9 @@ | |||
9 | - markus@cvs.openbsd.org 2003/07/16 10:34:53 | 9 | - markus@cvs.openbsd.org 2003/07/16 10:34:53 |
10 | [ssh.c sshd.c] | 10 | [ssh.c sshd.c] |
11 | don't exit on multiple -v or -d; ok deraadt@ | 11 | don't exit on multiple -v or -d; ok deraadt@ |
12 | - markus@cvs.openbsd.org 2003/07/16 10:36:28 | ||
13 | [sshtty.c] | ||
14 | clear IUCLC in enter_raw_mode; from rob@pitman.co.za; ok deraadt@, fgs@ | ||
12 | 15 | ||
13 | 20030714 | 16 | 20030714 |
14 | - (dtucker) [acconfig.h configure.ac port-aix.c] Older AIXes don't declare | 17 | - (dtucker) [acconfig.h configure.ac port-aix.c] Older AIXes don't declare |
@@ -705,4 +708,4 @@ | |||
705 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 708 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
706 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 709 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
707 | 710 | ||
708 | $Id: ChangeLog,v 1.2859 2003/07/19 09:54:31 dtucker Exp $ | 711 | $Id: ChangeLog,v 1.2860 2003/07/19 09:56:18 dtucker Exp $ |
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: sshtty.c,v 1.3 2002/03/04 17:27:39 stevesk Exp $"); | 38 | RCSID("$OpenBSD: sshtty.c,v 1.4 2003/07/16 10:36:28 markus Exp $"); |
39 | 39 | ||
40 | #include "sshtty.h" | 40 | #include "sshtty.h" |
41 | #include "log.h" | 41 | #include "log.h" |
@@ -80,6 +80,9 @@ enter_raw_mode(void) | |||
80 | _saved_tio = tio; | 80 | _saved_tio = tio; |
81 | tio.c_iflag |= IGNPAR; | 81 | tio.c_iflag |= IGNPAR; |
82 | tio.c_iflag &= ~(ISTRIP | INLCR | IGNCR | ICRNL | IXON | IXANY | IXOFF); | 82 | tio.c_iflag &= ~(ISTRIP | INLCR | IGNCR | ICRNL | IXON | IXANY | IXOFF); |
83 | #ifdef IUCLC | ||
84 | tio.c_iflag &= ~IUCLC; | ||
85 | #endif | ||
83 | tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL); | 86 | tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL); |
84 | #ifdef IEXTEN | 87 | #ifdef IEXTEN |
85 | tio.c_lflag &= ~IEXTEN; | 88 | tio.c_lflag &= ~IEXTEN; |