summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-07-01 15:34:42 +0000
committerRichard M. Stallman <rms@gnu.org>1994-07-01 15:34:42 +0000
commit421dd92fa7c73167ab46c2bb40cdb406441d7979 (patch)
treed4979493a86369944e99e7eddeb55df84f488830 /src/sysdep.c
parentf8ea84991a6f781e96f7a3fa6cfdbfc562ca2bcd (diff)
downloademacs-421dd92fa7c73167ab46c2bb40cdb406441d7979.tar.gz
(init_sys_modes): Turn off VSTART and VSTOP chars. On
DGUX, turn off INPCK.
Diffstat (limited to 'src/sysdep.c')
-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 ()
tty = old_tty;
#if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS)
+#ifdef DGUX
+ /* This allows meta to be sent on 8th bit. */
+ tty.main.c_iflag &= ~INPCK; /* don't check input for parity */
+#endif
tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */
tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */
#ifdef ISTRIP
@@ -1200,6 +1204,12 @@ init_sys_modes ()
#ifdef VDISCARD
tty.main.c_cc[VDISCARD] = CDISABLE;
#endif /* VDISCARD */
+#ifdef VSTART
+ tty.main.c_cc[VSTART] = CDISABLE;
+#endif /* VSTART */
+#ifdef VSTOP
+ tty.main.c_cc[VSTOP] = CDISABLE;
+#endif /* VSTOP */
#endif /* mips or HAVE_TCATTR */
#ifdef AIX
#ifndef IBMR2AIX