Mercurial > emacs
comparison src/sysdep.c @ 14790:70553c545976
(init_sys_modes): Clear INLCR like ICRNL.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 08 Mar 1996 17:43:20 +0000 |
parents | d16ba81e278a |
children | 497b73cc5818 |
comparison
equal
deleted
inserted
replaced
14789:d68b71228abd | 14790:70553c545976 |
---|---|
1248 /* This allows meta to be sent on 8th bit. */ | 1248 /* This allows meta to be sent on 8th bit. */ |
1249 tty.main.c_iflag &= ~INPCK; /* don't check input for parity */ | 1249 tty.main.c_iflag &= ~INPCK; /* don't check input for parity */ |
1250 #endif | 1250 #endif |
1251 tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */ | 1251 tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */ |
1252 tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ | 1252 tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ |
1253 #ifdef INLCR /* I'm just being cautious, | |
1254 since I can't check how widespread INLCR is--rms. */ | |
1255 tty.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */ | |
1256 #endif | |
1253 #ifdef ISTRIP | 1257 #ifdef ISTRIP |
1254 tty.main.c_iflag &= ~ISTRIP; /* don't strip 8th bit on input */ | 1258 tty.main.c_iflag &= ~ISTRIP; /* don't strip 8th bit on input */ |
1255 #endif | 1259 #endif |
1256 tty.main.c_lflag &= ~ECHO; /* Disable echo */ | 1260 tty.main.c_lflag &= ~ECHO; /* Disable echo */ |
1257 tty.main.c_lflag &= ~ICANON; /* Disable erase/kill processing */ | 1261 tty.main.c_lflag &= ~ICANON; /* Disable erase/kill processing */ |