Mercurial > emacs
comparison src/sysdep.c @ 14390:d16ba81e278a
(child_setup_tty): Turn off ISTRIP to pass 8bit. Turn off TAB3 so
don't expand tabs.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 27 Jan 1996 08:22:36 +0000 |
parents | ee40177f6c68 |
children | 70553c545976 |
comparison
equal
deleted
inserted
replaced
14389:f349b035e009 | 14390:d16ba81e278a |
---|---|
520 s.main.c_lflag &= ~ECHO; /* Disable echo */ | 520 s.main.c_lflag &= ~ECHO; /* Disable echo */ |
521 s.main.c_lflag |= ISIG; /* Enable signals */ | 521 s.main.c_lflag |= ISIG; /* Enable signals */ |
522 #ifdef IUCLC | 522 #ifdef IUCLC |
523 s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ | 523 s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ |
524 #endif | 524 #endif |
525 #ifdef ISTRIP | |
526 s.main.c_iflag &= ~ISTRIP; /* don't strip 8th bit on input */ | |
527 #endif | |
525 #ifdef OLCUC | 528 #ifdef OLCUC |
526 s.main.c_oflag &= ~OLCUC; /* Disable upcasing on output. */ | 529 s.main.c_oflag &= ~OLCUC; /* Disable upcasing on output. */ |
527 #endif | 530 #endif |
531 s.main.c_oflag &= ~TAB3; /* Disable tab expansion */ | |
528 s.main.c_cflag = (s.main.c_cflag & ~CSIZE) | CS8; /* Don't strip 8th bit */ | 532 s.main.c_cflag = (s.main.c_cflag & ~CSIZE) | CS8; /* Don't strip 8th bit */ |
529 #if 0 | 533 #if 0 |
530 /* Said to be unnecessary: */ | 534 /* Said to be unnecessary: */ |
531 s.main.c_cc[VMIN] = 1; /* minimum number of characters to accept */ | 535 s.main.c_cc[VMIN] = 1; /* minimum number of characters to accept */ |
532 s.main.c_cc[VTIME] = 0; /* wait forever for at least 1 character */ | 536 s.main.c_cc[VTIME] = 0; /* wait forever for at least 1 character */ |