summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-07-19 19:56:18 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-07-19 19:56:18 +1000
commit538d180395609462130ef28e92cbb05f3a987dcb (patch)
treed544a965048e6c973d5dc0257ed03b509e651d3c
parente98dfa323e7f7dc57afb70f99851a596f3194047 (diff)
- markus@cvs.openbsd.org 2003/07/16 10:36:28
[sshtty.c] clear IUCLC in enter_raw_mode; from rob@pitman.co.za; ok deraadt@, fgs@
-rw-r--r--ChangeLog5
-rw-r--r--sshtty.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 78e70b107..43f42843d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
1320030714 1620030714
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 $
diff --git a/sshtty.c b/sshtty.c
index 5c016f80a..2f47b06d1 100644
--- a/sshtty.c
+++ b/sshtty.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: sshtty.c,v 1.3 2002/03/04 17:27:39 stevesk Exp $"); 38RCSID("$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;