comparison src/sysdep.c @ 8104:5434ea918f34

(init_sys_modes): Turn off VSTART and VSTOP chars. On DGUX, turn off INPCK.
author Richard M. Stallman <rms@gnu.org>
date Fri, 01 Jul 1994 15:34:42 +0000
parents 2d605a73a1fd
children 6609af160f16
comparison
equal deleted inserted replaced
8103:b0d56b9856c4 8104:5434ea918f34
1135 if (!read_socket_hook && EQ (Vwindow_system, Qnil)) 1135 if (!read_socket_hook && EQ (Vwindow_system, Qnil))
1136 { 1136 {
1137 tty = old_tty; 1137 tty = old_tty;
1138 1138
1139 #if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS) 1139 #if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS)
1140 #ifdef DGUX
1141 /* This allows meta to be sent on 8th bit. */
1142 tty.main.c_iflag &= ~INPCK; /* don't check input for parity */
1143 #endif
1140 tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */ 1144 tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */
1141 tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ 1145 tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */
1142 #ifdef ISTRIP 1146 #ifdef ISTRIP
1143 tty.main.c_iflag &= ~ISTRIP; /* don't strip 8th bit on input */ 1147 tty.main.c_iflag &= ~ISTRIP; /* don't strip 8th bit on input */
1144 #endif 1148 #endif
1198 tty.main.c_cc[VWERASE] = CDISABLE; 1202 tty.main.c_cc[VWERASE] = CDISABLE;
1199 #endif /* VWERASE */ 1203 #endif /* VWERASE */
1200 #ifdef VDISCARD 1204 #ifdef VDISCARD
1201 tty.main.c_cc[VDISCARD] = CDISABLE; 1205 tty.main.c_cc[VDISCARD] = CDISABLE;
1202 #endif /* VDISCARD */ 1206 #endif /* VDISCARD */
1207 #ifdef VSTART
1208 tty.main.c_cc[VSTART] = CDISABLE;
1209 #endif /* VSTART */
1210 #ifdef VSTOP
1211 tty.main.c_cc[VSTOP] = CDISABLE;
1212 #endif /* VSTOP */
1203 #endif /* mips or HAVE_TCATTR */ 1213 #endif /* mips or HAVE_TCATTR */
1204 #ifdef AIX 1214 #ifdef AIX
1205 #ifndef IBMR2AIX 1215 #ifndef IBMR2AIX
1206 /* AIX enhanced edit loses NULs, so disable it */ 1216 /* AIX enhanced edit loses NULs, so disable it */
1207 tty.main.c_line = 0; 1217 tty.main.c_line = 0;