aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2008-05-17 20:07:09 +0000
committerGlenn Morris2008-05-17 20:07:09 +0000
commit07cfc4e77dd33ecc63f3626a4892d1817002a83a (patch)
tree1ac478b64a03c3a80d325d520d4578aafa3a45fb /src
parent53b2b69f6f0f465cc2a7f13d2a5f8075fd5ad1c4 (diff)
downloademacs-07cfc4e77dd33ecc63f3626a4892d1817002a83a.tar.gz
emacs-07cfc4e77dd33ecc63f3626a4892d1817002a83a.zip
(child_setup_tty): Handle systems with NLDLY, without FFDLY.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/sysdep.c7
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 795819b75eb..d1ffac62b53 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-05-17 Glenn Morris <rgm@gnu.org>
2
3 * sysdep.c (child_setup_tty): Handle systems with NLDLY, without FFDLY.
4
12008-05-16 Eli Zaretskii <eliz@gnu.org> 52008-05-16 Eli Zaretskii <eliz@gnu.org>
2 6
3 * dired.c (Ffile_attributes): Shut up GCC warnings about st_uid 7 * dired.c (Ffile_attributes): Shut up GCC warnings about st_uid
diff --git a/src/sysdep.c b/src/sysdep.c
index f4922944ba4..6c3e0e4a54e 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -600,8 +600,15 @@ child_setup_tty (out)
600 s.main.c_oflag |= OPOST; /* Enable output postprocessing */ 600 s.main.c_oflag |= OPOST; /* Enable output postprocessing */
601 s.main.c_oflag &= ~ONLCR; /* Disable map of NL to CR-NL on output */ 601 s.main.c_oflag &= ~ONLCR; /* Disable map of NL to CR-NL on output */
602#ifdef NLDLY 602#ifdef NLDLY
603 /* http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00406.html
604 Some versions of GNU Hurd do not have FFDLY? */
605#ifdef FFDLY
603 s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); 606 s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY);
604 /* No output delays */ 607 /* No output delays */
608#else
609 s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY);
610 /* No output delays */
611#endif
605#endif 612#endif
606 s.main.c_lflag &= ~ECHO; /* Disable echo */ 613 s.main.c_lflag &= ~ECHO; /* Disable echo */
607 s.main.c_lflag |= ISIG; /* Enable signals */ 614 s.main.c_lflag |= ISIG; /* Enable signals */