[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100491: * sysdep.c (child_setup_tty)
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100491: * sysdep.c (child_setup_tty): Move the non-canonical initialization to |
Date: |
Mon, 31 May 2010 21:49:15 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100491
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Mon 2010-05-31 21:49:15 -0400
message:
* sysdep.c (child_setup_tty): Move the non-canonical initialization to
the HAVE_TERMIO where it belongs.
modified:
src/ChangeLog
src/sysdep.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-05-31 15:30:13 +0000
+++ b/src/ChangeLog 2010-06-01 01:49:15 +0000
@@ -1,3 +1,8 @@
+2010-06-01 Stefan Monnier <address@hidden>
+
+ * sysdep.c (child_setup_tty): Move the non-canonical initialization to
+ the HAVE_TERMIO where it belongs (bug#6149).
+
2010-05-30 Eli Zaretskii <address@hidden>
* bidi.c (bidi_move_to_visually_next): Make sure the sentinel
=== modified file 'src/sysdep.c'
--- a/src/sysdep.c 2010-05-04 07:40:53 +0000
+++ b/src/sysdep.c 2010-06-01 01:49:15 +0000
@@ -537,15 +537,6 @@
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 @@
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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100491: * sysdep.c (child_setup_tty): Move the non-canonical initialization to,
Stefan Monnier <=