diff options
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 */ |