(child_setup_tty): Turn off ISTRIP to pass 8bit. Turn off TAB3 so
don't expand tabs.
This commit is contained in:
parent
f27bd275a9
commit
f7097b2aa1
1 changed files with 4 additions and 0 deletions
|
@ -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: */
|
||||
|
|
Loading…
Add table
Reference in a new issue