summaryrefslogtreecommitdiff
path: root/sshtty.c
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 /sshtty.c
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@
Diffstat (limited to 'sshtty.c')
-rw-r--r--sshtty.c5
1 files changed, 4 insertions, 1 deletions
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;