From 111a42870b92f1f381a101e945d129aaa4923827 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 19 Nov 2001 14:48:18 +0000 Subject: [PATCH] (child_setup_tty): Don't clear ICRNL or INLCR. --- src/ChangeLog | 4 ++++ src/sysdep.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index eb7f695e97e..0f9b2feaba0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-11-19 Richard M. Stallman + + * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. + 2001-11-18 Jason Rumney * w32term.c (x_draw_bar_cursor): Get glyph's face. diff --git a/src/sysdep.c b/src/sysdep.c index f981ef6541c..10014c52d57 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -590,11 +590,13 @@ child_setup_tty (out) #endif s.main.c_lflag &= ~ECHO; /* Disable echo */ s.main.c_lflag |= ISIG; /* Enable signals */ +#if 0 /* This causes bugs in (for instance) telnet to certain sites. */ 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.2