diff 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
line wrap: on
line diff
--- a/src/sysdep.c	Mon Aug 13 10:33:19 2007 +0200
+++ b/src/sysdep.c	Mon Aug 13 10:34:13 2007 +0200
@@ -475,14 +475,17 @@
   s.main.c_iflag &= ~BRKINT;
 #endif /* AIX */
 #ifdef SIGNALS_VIA_CHARACTERS
-  /* the QUIT and INTR character are used in process_send_signal
+  /* TTY `special characters' are used in process_send_signal
      so set them here to something useful.  */
   s.main.c_cc[VQUIT] = '\\'&037; /* Control-\ */
   s.main.c_cc[VINTR] = 'C' &037; /* Control-C */
+  s.main.c_cc[VSUSP] = 'Z' &037; /* Control-Z */
 #else /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */
-  /* QUIT and INTR work better as signals, so disable character forms */
+  /* TTY `special characters' work better as signals, so disable
+     character forms */
   s.main.c_cc[VQUIT] = CDISABLE;
   s.main.c_cc[VINTR] = CDISABLE;
+  s.main.c_cc[VSUSP] = CDISABLE;
   s.main.c_lflag &= ~ISIG;
 #endif /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */
   s.main.c_cc[VEOL] = CDISABLE;