summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-01-27 08:22:36 +0000
committerRichard M. Stallman <rms@gnu.org>1996-01-27 08:22:36 +0000
commit79ea2306fbe76bd497e97bf164d078656794acf0 (patch)
treeea7fbf09c13d7f80ac108f64e262431c0c990ae6 /src/sysdep.c
parent3f995d045d693d0e5452d9d998648ac7c34f7bc1 (diff)
downloademacs-79ea2306fbe76bd497e97bf164d078656794acf0.tar.gz
(child_setup_tty): Turn off ISTRIP to pass 8bit. Turn off TAB3 so
don't expand tabs.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 693f131489b..bcb624e2040 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -522,9 +522,13 @@ child_setup_tty (out)
#ifdef IUCLC
s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */
#endif
+#ifdef ISTRIP
+ s.main.c_iflag &= ~ISTRIP; /* don't strip 8th bit on input */
+#endif
#ifdef OLCUC
s.main.c_oflag &= ~OLCUC; /* Disable upcasing on output. */
#endif
+ s.main.c_oflag &= ~TAB3; /* Disable tab expansion */
s.main.c_cflag = (s.main.c_cflag & ~CSIZE) | CS8; /* Don't strip 8th bit */
#if 0
/* Said to be unnecessary: */