comparison src/sysdep.c @ 40932:103ddc9d157a

(child_setup_tty): Don't clear ICRNL or INLCR.
author Richard M. Stallman <rms@gnu.org>
date Sun, 11 Nov 2001 20:11:14 +0000
parents 4a487543a226
children c8f21aec2f62
comparison
equal deleted inserted replaced
40931:50b111aed6d5 40932:103ddc9d157a
586 s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); 586 s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY);
587 /* No output delays */ 587 /* No output delays */
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 #if 0
591 s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ 592 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 #ifdef INLCR /* Just being cautious, since I can't check how
593 widespread INLCR is--rms. */ 594 widespread INLCR is--rms. */
594 s.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */ 595 s.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */
596 #endif
595 #endif 597 #endif
596 #ifdef IUCLC 598 #ifdef IUCLC
597 s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ 599 s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */
598 #endif 600 #endif
599 #ifdef ISTRIP 601 #ifdef ISTRIP