comparison src/sysdep.c @ 95063:b309a7cbf6e1

(child_setup_tty): Handle systems with NLDLY, without FFDLY.
author Glenn Morris <rgm@gnu.org>
date Sat, 17 May 2008 20:06:42 +0000
parents 8971ddf55736
children d6a4488883dc
comparison
equal deleted inserted replaced
95062:c876006d2de2 95063:b309a7cbf6e1
598 598
599 #if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS) 599 #if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS)
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 */
608 #if 0 /* This causes bugs in (for instance) telnet to certain sites. */ 615 #if 0 /* This causes bugs in (for instance) telnet to certain sites. */
609 s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ 616 s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */