/[emacs]/emacs/src/sysdep.c
ViewVC logotype

Diff of /emacs/src/sysdep.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.256 by tamm, Mon Jul 19 06:38:14 2004 UTC revision 1.257 by rms, Mon Aug 16 23:02:19 2004 UTC
# Line 610  child_setup_tty (out) Line 610  child_setup_tty (out)
610    s.main.c_cflag = (s.main.c_cflag & ~CBAUD) | B9600; /* baud rate sanity */    s.main.c_cflag = (s.main.c_cflag & ~CBAUD) | B9600; /* baud rate sanity */
611  #endif /* HPUX */  #endif /* HPUX */
612    
613    #ifdef SIGNALS_VIA_CHARACTERS
614      /* the QUIT and INTR character are used in process_send_signal
615         so set them here to something useful.  */
616      if (s.main.c_cc[VQUIT] == 0377)
617        s.main.c_cc[VQUIT] = '\\'&037;      /* Control-\ */
618      if (s.main.c_cc[VINTR] == 0377)
619        s.main.c_cc[VINTR] = 'C'&037;       /* Control-C */
620    #endif /* not SIGNALS_VIA_CHARACTERS */
621    
622  #ifdef AIX  #ifdef AIX
623  /* AIX enhanced edit loses NULs, so disable it */  /* AIX enhanced edit loses NULs, so disable it */
624  #ifndef IBMR2AIX  #ifndef IBMR2AIX
# Line 620  child_setup_tty (out) Line 629  child_setup_tty (out)
629       don't ignore break, but don't signal either, so it looks like NUL.  */       don't ignore break, but don't signal either, so it looks like NUL.  */
630    s.main.c_iflag &= ~IGNBRK;    s.main.c_iflag &= ~IGNBRK;
631    s.main.c_iflag &= ~BRKINT;    s.main.c_iflag &= ~BRKINT;
632    /* QUIT and INTR work better as signals, so disable character forms */    /* rms: Formerly it set s.main.c_cc[VINTR] to 0377 here
633    s.main.c_cc[VINTR] = 0377;       unconditionally.  Then a SIGNALS_VIA_CHARACTERS conditional
634  #ifdef SIGNALS_VIA_CHARACTERS       would force it to 0377.  That looks like duplicated code.  */
635    /* the QUIT and INTR character are used in process_send_signal  #ifndef SIGNALS_VIA_CHARACTERS
      so set them here to something useful.  */  
   if (s.main.c_cc[VQUIT] == 0377)  
     s.main.c_cc[VQUIT] = '\\'&037;      /* Control-\ */  
   if (s.main.c_cc[VINTR] == 0377)  
     s.main.c_cc[VINTR] = 'C'&037;       /* Control-C */  
 #else /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */  
636    /* QUIT and INTR work better as signals, so disable character forms */    /* QUIT and INTR work better as signals, so disable character forms */
637    s.main.c_cc[VQUIT] = 0377;    s.main.c_cc[VQUIT] = 0377;
638    s.main.c_cc[VINTR] = 0377;    s.main.c_cc[VINTR] = 0377;

Legend:
Removed from v.1.256  
changed lines
  Added in v.1.257

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26