aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-08 08:59:50 +0000
committerGerd Moellmann2001-10-08 08:59:50 +0000
commit402c9a512185f6748803868c1c0ed503227d3301 (patch)
tree1c4461810f8e441d22219f238caf64ac073a8dc7 /src
parent3fe81fdfd29e9d2d367076c3a323255e4aa3d6d4 (diff)
downloademacs-402c9a512185f6748803868c1c0ed503227d3301.tar.gz
emacs-402c9a512185f6748803868c1c0ed503227d3301.zip
(child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]:
Clear ICRNL and INLCR. From Daiki Ueno <ueno@unixuser.org>.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/sysdep.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c4030bffbb6..526ec3146e6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12001-10-08 Gerd Moellmann <gerd@gnu.org>
2
3 * sysdep.c (child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]:
4 Clear ICRNL and INLCR. From Daiki Ueno <ueno@unixuser.org>.
5
12001-10-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 62001-10-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 7
3 * keyboard.c: Don't define min/max. 8 * keyboard.c: Don't define min/max.
diff --git a/src/sysdep.c b/src/sysdep.c
index ba68a9d4e93..e0def2027a5 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -588,6 +588,11 @@ child_setup_tty (out)
588#endif 588#endif
589 s.main.c_lflag &= ~ECHO; /* Disable echo */ 589 s.main.c_lflag &= ~ECHO; /* Disable echo */
590 s.main.c_lflag |= ISIG; /* Enable signals */ 590 s.main.c_lflag |= ISIG; /* Enable signals */
591 s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */
592#ifdef INLCR /* Just being cautious, since I can't check how
593 widespread INLCR is--rms. */
594 s.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */
595#endif
591#ifdef IUCLC 596#ifdef IUCLC
592 s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ 597 s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */
593#endif 598#endif