aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-07-01 15:34:42 +0000
committerRichard M. Stallman1994-07-01 15:34:42 +0000
commit421dd92fa7c73167ab46c2bb40cdb406441d7979 (patch)
treed4979493a86369944e99e7eddeb55df84f488830
parentf8ea84991a6f781e96f7a3fa6cfdbfc562ca2bcd (diff)
downloademacs-421dd92fa7c73167ab46c2bb40cdb406441d7979.tar.gz
emacs-421dd92fa7c73167ab46c2bb40cdb406441d7979.zip
(init_sys_modes): Turn off VSTART and VSTOP chars. On
DGUX, turn off INPCK.
-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