1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-22 20:42:26 -08:00

(child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]:

Clear ICRNL and INLCR.  From Daiki Ueno <ueno@unixuser.org>.
This commit is contained in:
Gerd Moellmann 2001-10-08 09:07:19 +00:00
parent bb09fc6a7d
commit ce233a5ff7
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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-04 Andrew Innes <andrewi@gnu.org>
* w32fns.c (x_to_w32_color): Fix argument to alloca.

View file

@ -590,6 +590,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