aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index bcc50e3d432..a88c7ec0174 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1137,6 +1137,10 @@ init_sys_modes ()
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
@@ -1200,6 +1204,12 @@ init_sys_modes ()
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