aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-01-27 08:22:36 +0000
committerRichard M. Stallman1996-01-27 08:22:36 +0000
commitf7097b2aa1de21ef7ece9d76e420a8c90965de70 (patch)
tree445265660a70b5a54ca2bc2a3ceae7ad12da184c /src
parentf27bd275a933776ab34a2efea0a10b415d44f588 (diff)
downloademacs-f7097b2aa1de21ef7ece9d76e420a8c90965de70.tar.gz
emacs-f7097b2aa1de21ef7ece9d76e420a8c90965de70.zip
(child_setup_tty): Turn off ISTRIP to pass 8bit. Turn off TAB3 so
don't expand tabs.
Diffstat (limited to 'src')
-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)
522#ifdef IUCLC 522#ifdef IUCLC
523 s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ 523 s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */
524#endif 524#endif
525#ifdef ISTRIP
526 s.main.c_iflag &= ~ISTRIP; /* don't strip 8th bit on input */
527#endif
525#ifdef OLCUC 528#ifdef OLCUC
526 s.main.c_oflag &= ~OLCUC; /* Disable upcasing on output. */ 529 s.main.c_oflag &= ~OLCUC; /* Disable upcasing on output. */
527#endif 530#endif
531 s.main.c_oflag &= ~TAB3; /* Disable tab expansion */
528 s.main.c_cflag = (s.main.c_cflag & ~CSIZE) | CS8; /* Don't strip 8th bit */ 532 s.main.c_cflag = (s.main.c_cflag & ~CSIZE) | CS8; /* Don't strip 8th bit */
529#if 0 533#if 0
530 /* Said to be unnecessary: */ 534 /* Said to be unnecessary: */