diff options
author | Richard M. Stallman <[email protected]> | 1996-03-08 17:43:20 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1996-03-08 17:43:20 +0000 |
commit | 7f371164573ed5e547d9a9482356ac61f2475bb5 (patch) | |
tree | 040e583a2e9fc12c4fa5c35d08f38726b538dd20 /src/sysdep.c | |
parent | 31bc4210064165154f599ec048cd167b00578298 (diff) |
(init_sys_modes): Clear INLCR like ICRNL.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r-- | src/sysdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index bcb624e204..0180d8601e 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -1250,6 +1250,10 @@ init_sys_modes () #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 |