comparison src/sysdep.c @ 284:558f606b08ae r21-0b40

Import from CVS: tag r21-0b40
author cvs
date Mon, 13 Aug 2007 10:34:13 +0200
parents c42ec1d1cded
children 57709be46d1b
comparison
equal deleted inserted replaced
283:fa3d41851a08 284:558f606b08ae
473 or via TELNET or the like, but does no harm elsewhere. */ 473 or via TELNET or the like, but does no harm elsewhere. */
474 s.main.c_iflag &= ~IGNBRK; 474 s.main.c_iflag &= ~IGNBRK;
475 s.main.c_iflag &= ~BRKINT; 475 s.main.c_iflag &= ~BRKINT;
476 #endif /* AIX */ 476 #endif /* AIX */
477 #ifdef SIGNALS_VIA_CHARACTERS 477 #ifdef SIGNALS_VIA_CHARACTERS
478 /* the QUIT and INTR character are used in process_send_signal 478 /* TTY `special characters' are used in process_send_signal
479 so set them here to something useful. */ 479 so set them here to something useful. */
480 s.main.c_cc[VQUIT] = '\\'&037; /* Control-\ */ 480 s.main.c_cc[VQUIT] = '\\'&037; /* Control-\ */
481 s.main.c_cc[VINTR] = 'C' &037; /* Control-C */ 481 s.main.c_cc[VINTR] = 'C' &037; /* Control-C */
482 s.main.c_cc[VSUSP] = 'Z' &037; /* Control-Z */
482 #else /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */ 483 #else /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */
483 /* QUIT and INTR work better as signals, so disable character forms */ 484 /* TTY `special characters' work better as signals, so disable
485 character forms */
484 s.main.c_cc[VQUIT] = CDISABLE; 486 s.main.c_cc[VQUIT] = CDISABLE;
485 s.main.c_cc[VINTR] = CDISABLE; 487 s.main.c_cc[VINTR] = CDISABLE;
488 s.main.c_cc[VSUSP] = CDISABLE;
486 s.main.c_lflag &= ~ISIG; 489 s.main.c_lflag &= ~ISIG;
487 #endif /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */ 490 #endif /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */
488 s.main.c_cc[VEOL] = CDISABLE; 491 s.main.c_cc[VEOL] = CDISABLE;
489 #if defined (CBAUD) 492 #if defined (CBAUD)
490 /* <mdiers> ### This is not portable. ### 493 /* <mdiers> ### This is not portable. ###