HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b51aeef
)
(child_setup_tty): Make the pty handle 8-bit characters.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 6 Nov 1993 05:14:07 +0000
(
05:14
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 6 Nov 1993 05:14:07 +0000
(
05:14
+0000)
src/sysdep.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index
7778bd8
..
63ddbd4
100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-447,6
+447,7
@@
child_setup_tty (out)
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
@@
child_setup_tty (out)
| 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 */