# HG changeset patch # User Richard M. Stallman # Date 826307000 0 # Node ID 70553c5459767b8a57288bb4a6019e2ab643356e # Parent d68b71228abdb37a888f7ff50172c3d88e07b633 (init_sys_modes): Clear INLCR like ICRNL. diff -r d68b71228abd -r 70553c545976 src/sysdep.c --- 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