diff options
| author | Jim Blandy | 1993-02-22 14:50:42 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-02-22 14:50:42 +0000 |
| commit | 31be8d24679fdbd2aa94db6b19c30664638b391d (patch) | |
| tree | 0307194a298cc8f75f0d03e20a479143cd15fec7 | |
| parent | b37902c85cccb00cc1d97229780cb95eaabcdeed (diff) | |
| download | emacs-31be8d24679fdbd2aa94db6b19c30664638b391d.tar.gz emacs-31be8d24679fdbd2aa94db6b19c30664638b391d.zip | |
* sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as
HAVE_TERMIO.
| -rw-r--r-- | src/sysdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 60145e93de9..489a9e571d1 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -380,7 +380,7 @@ child_setup_tty (out) | |||
| 380 | 380 | ||
| 381 | EMACS_GET_TTY (out, &s); | 381 | EMACS_GET_TTY (out, &s); |
| 382 | 382 | ||
| 383 | #ifdef HAVE_TERMIO | 383 | #if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS) |
| 384 | s.main.c_oflag |= OPOST; /* Enable output postprocessing */ | 384 | s.main.c_oflag |= OPOST; /* Enable output postprocessing */ |
| 385 | s.main.c_oflag &= ~ONLCR; /* Disable map of NL to CR-NL on output */ | 385 | s.main.c_oflag &= ~ONLCR; /* Disable map of NL to CR-NL on output */ |
| 386 | s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); | 386 | s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); |
| @@ -770,7 +770,7 @@ init_sys_modes () | |||
| 770 | { | 770 | { |
| 771 | tty = old_tty; | 771 | tty = old_tty; |
| 772 | 772 | ||
| 773 | #ifdef HAVE_TERMIO | 773 | #if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS) |
| 774 | tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */ | 774 | tty.main.c_iflag |= (IGNBRK); /* Ignore break condition */ |
| 775 | tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ | 775 | tty.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ |
| 776 | #ifdef ISTRIP | 776 | #ifdef ISTRIP |