diff options
| author | Richard M. Stallman | 2001-11-11 20:11:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-11 20:11:14 +0000 |
| commit | 5a04bfa9849cddb5feb93f4e539b363c50962c24 (patch) | |
| tree | b1db0ea7cb52e3c90dfedd1563be32da7f4bdcf5 /src/sysdep.c | |
| parent | da3b886d00afe9a9bc5f8120a71fb544d644087f (diff) | |
| download | emacs-5a04bfa9849cddb5feb93f4e539b363c50962c24.tar.gz emacs-5a04bfa9849cddb5feb93f4e539b363c50962c24.zip | |
(child_setup_tty): Don't clear ICRNL or INLCR.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index e69c2b1ab74..26fd3923ff0 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -588,11 +588,13 @@ child_setup_tty (out) | |||
| 588 | #endif | 588 | #endif |
| 589 | s.main.c_lflag &= ~ECHO; /* Disable echo */ | 589 | s.main.c_lflag &= ~ECHO; /* Disable echo */ |
| 590 | s.main.c_lflag |= ISIG; /* Enable signals */ | 590 | s.main.c_lflag |= ISIG; /* Enable signals */ |
| 591 | #if 0 | ||
| 591 | s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ | 592 | s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ |
| 592 | #ifdef INLCR /* Just being cautious, since I can't check how | 593 | #ifdef INLCR /* Just being cautious, since I can't check how |
| 593 | widespread INLCR is--rms. */ | 594 | widespread INLCR is--rms. */ |
| 594 | s.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */ | 595 | s.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */ |
| 595 | #endif | 596 | #endif |
| 597 | #endif | ||
| 596 | #ifdef IUCLC | 598 | #ifdef IUCLC |
| 597 | s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ | 599 | s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ |
| 598 | #endif | 600 | #endif |