590 |
#endif |
#endif |
591 |
s.main.c_lflag &= ~ECHO; /* Disable echo */ |
s.main.c_lflag &= ~ECHO; /* Disable echo */ |
592 |
s.main.c_lflag |= ISIG; /* Enable signals */ |
s.main.c_lflag |= ISIG; /* Enable signals */ |
593 |
|
#if 0 /* This causes bugs in (for instance) telnet to certain sites. */ |
594 |
s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ |
s.main.c_iflag &= ~ICRNL; /* Disable map of CR to NL on input */ |
595 |
#ifdef INLCR /* Just being cautious, since I can't check how |
#ifdef INLCR /* Just being cautious, since I can't check how |
596 |
widespread INLCR is--rms. */ |
widespread INLCR is--rms. */ |
597 |
s.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */ |
s.main.c_iflag &= ~INLCR; /* Disable map of NL to CR on input */ |
598 |
#endif |
#endif |
599 |
|
#endif |
600 |
#ifdef IUCLC |
#ifdef IUCLC |
601 |
s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ |
s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */ |
602 |
#endif |
#endif |