Commit 402c9a51 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]:

Clear ICRNL and INLCR.  From Daiki Ueno <ueno@unixuser.org>.
parent 3fe81fdf
2001-10-08 Gerd Moellmann <gerd@gnu.org>
* sysdep.c (child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]:
Clear ICRNL and INLCR. From Daiki Ueno <ueno@unixuser.org>.
2001-10-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* keyboard.c: Don't define min/max.
......
......@@ -588,6 +588,11 @@ child_setup_tty (out)
#endif
s.main.c_lflag &= ~ECHO; /* Disable echo */
s.main.c_lflag |= ISIG; /* Enable signals */
s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */
#ifdef INLCR /* Just being cautious, since I can't check how
widespread INLCR is--rms. */
s.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */
#endif
#ifdef IUCLC
s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment