changeset 14790:70553c545976

(init_sys_modes): Clear INLCR like ICRNL.
author Richard M. Stallman <rms@gnu.org>
date Fri, 08 Mar 1996 17:43:20 +0000
parents d68b71228abd
children 7d2e0f0d9bf7
files src/sysdep.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Fri Mar 08 17:42:30 1996 +0000
+++ b/src/sysdep.c	Fri Mar 08 17:43:20 1996 +0000
@@ -1250,6 +1250,10 @@
 #endif
       tty.main.c_iflag |= (IGNBRK);	/* Ignore break condition */
       tty.main.c_iflag &= ~ICRNL;	/* Disable map of CR to NL on input */
+#ifdef INLCR  /* I'm just being cautious,
+		 since I can't check how widespread INLCR is--rms.  */
+      tty.main.c_iflag &= ~INLCR;	/* Disable map of NL to CR on input */
+#endif
 #ifdef ISTRIP
       tty.main.c_iflag &= ~ISTRIP;	/* don't strip 8th bit on input */
 #endif