Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
06ac62b4
Commit
06ac62b4
authored
May 31, 2010
by
Stefan Monnier
Browse files
* sysdep.c (child_setup_tty): Move the non-canonical initialization to
the HAVE_TERMIO where it belongs. Fixes: debbugs:6149
parent
86d7a550
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
src/ChangeLog
src/ChangeLog
+5
-0
src/sysdep.c
src/sysdep.c
+9
-9
No files found.
src/ChangeLog
View file @
06ac62b4
2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
* sysdep.c (child_setup_tty): Move the non-canonical initialization to
the HAVE_TERMIO where it belongs (bug#6149).
2010-05-30 Eli Zaretskii <eliz@gnu.org>
* bidi.c (bidi_move_to_visually_next): Make sure the sentinel
...
...
src/sysdep.c
View file @
06ac62b4
...
...
@@ -537,15 +537,6 @@ child_setup_tty (out)
s
.
main
.
c_cflag
=
(
s
.
main
.
c_cflag
&
~
CBAUD
)
|
B9600
;
/* baud rate sanity */
#endif
/* AIX */
#else
/* not HAVE_TERMIO */
s
.
main
.
sg_flags
&=
~
(
ECHO
|
CRMOD
|
ANYP
|
ALLDELAY
|
RAW
|
LCASE
|
CBREAK
|
TANDEM
);
s
.
main
.
sg_flags
|=
LPASS8
;
s
.
main
.
sg_erase
=
0377
;
s
.
main
.
sg_kill
=
0377
;
s
.
lmode
=
LLITOUT
|
s
.
lmode
;
/* Don't strip 8th bit */
/* We used to enable ICANON (and set VEOF to 04), but this leads to
problems where process.c wants to send EOFs every once in a while
to force the output, which leads to weird effects when the
...
...
@@ -558,6 +549,15 @@ child_setup_tty (out)
s
.
main
.
c_cc
[
VMIN
]
=
1
;
s
.
main
.
c_cc
[
VTIME
]
=
0
;
#else
/* not HAVE_TERMIO */
s
.
main
.
sg_flags
&=
~
(
ECHO
|
CRMOD
|
ANYP
|
ALLDELAY
|
RAW
|
LCASE
|
CBREAK
|
TANDEM
);
s
.
main
.
sg_flags
|=
LPASS8
;
s
.
main
.
sg_erase
=
0377
;
s
.
main
.
sg_kill
=
0377
;
s
.
lmode
=
LLITOUT
|
s
.
lmode
;
/* Don't strip 8th bit */
#endif
/* not HAVE_TERMIO */
EMACS_SET_TTY
(
out
,
&
s
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment