From 5a04bfa9849cddb5feb93f4e539b363c50962c24 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 11 Nov 2001 20:11:14 +0000 Subject: [PATCH] (child_setup_tty): Don't clear ICRNL or INLCR. --- src/sysdep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sysdep.c b/src/sysdep.c index e69c2b1ab74..26fd3923ff0 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -588,11 +588,13 @@ child_setup_tty (out) #endif s.main.c_lflag &= ~ECHO; /* Disable echo */ s.main.c_lflag |= ISIG; /* Enable signals */ +#if 0 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 +#endif #ifdef IUCLC s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ #endif -- 2.39.5