Mercurial > emacs
changeset 4916:83db42883f64
(child_setup_tty): Make the pty handle 8-bit characters.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 06 Nov 1993 05:14:07 +0000 |
parents | c0523a78e6a5 |
children | 550746214170 |
files | src/sysdep.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sysdep.c Sat Nov 06 04:16:34 1993 +0000 +++ b/src/sysdep.c Sat Nov 06 05:14:07 1993 +0000 @@ -447,6 +447,7 @@ input */ s.main.c_oflag &= ~OLCUC; /* Disable map of lower case to upper on output */ + s.main.c_cflag = (s.main.c_cflag & ~CSIZE) | CS8; /* Don't strip 8th bit */ #if 0 /* Said to be unnecessary: */ s.main.c_cc[VMIN] = 1; /* minimum number of characters to accept */ @@ -497,6 +498,7 @@ | CBREAK | TANDEM); s.main.sg_erase = 0377; s.main.sg_kill = 0377; + s.lmode = LLITOUT | s.lmode; /* Don't strip 8th bit */ #endif /* not HAVE_TERMIO */