[sshtty.c]
     clear IUCLC in enter_raw_mode; from rob@pitman.co.za; ok deraadt@, fgs@
This commit is contained in:
Darren Tucker 2003-07-19 19:56:18 +10:00
parent e98dfa323e
commit 538d180395
2 changed files with 8 additions and 2 deletions

View File

@ -9,6 +9,9 @@
- markus@cvs.openbsd.org 2003/07/16 10:34:53
[ssh.c sshd.c]
don't exit on multiple -v or -d; ok deraadt@
- 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@
20030714
- (dtucker) [acconfig.h configure.ac port-aix.c] Older AIXes don't declare
@ -705,4 +708,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2859 2003/07/19 09:54:31 dtucker Exp $
$Id: ChangeLog,v 1.2860 2003/07/19 09:56:18 dtucker Exp $

View File

@ -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;