/[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.235.2.7 by miles, Sat Sep 4 09:24:38 2004 UTC revision 1.235.2.8 by miles, Sat Sep 4 09:26:26 2004 UTC
# Line 613  child_setup_tty (out) Line 613  child_setup_tty (out)
613  #ifdef SIGNALS_VIA_CHARACTERS  #ifdef SIGNALS_VIA_CHARACTERS
614    /* the QUIT and INTR character are used in process_send_signal    /* the QUIT and INTR character are used in process_send_signal
615       so set them here to something useful.  */       so set them here to something useful.  */
616    if (s.main.c_cc[VQUIT] == 0377)    if (s.main.c_cc[VQUIT] == CDISABLE)
617      s.main.c_cc[VQUIT] = '\\'&037;      /* Control-\ */      s.main.c_cc[VQUIT] = '\\'&037;      /* Control-\ */
618    if (s.main.c_cc[VINTR] == 0377)    if (s.main.c_cc[VINTR] == CDISABLE)
619      s.main.c_cc[VINTR] = 'C'&037;       /* Control-C */      s.main.c_cc[VINTR] = 'C'&037;       /* Control-C */
620  #endif /* not SIGNALS_VIA_CHARACTERS */  #endif /* not SIGNALS_VIA_CHARACTERS */
621    
# Line 634  child_setup_tty (out) Line 634  child_setup_tty (out)
634       would force it to 0377.  That looks like duplicated code.  */       would force it to 0377.  That looks like duplicated code.  */
635  #ifndef SIGNALS_VIA_CHARACTERS  #ifndef SIGNALS_VIA_CHARACTERS
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] = CDISABLE;
638    s.main.c_cc[VINTR] = 0377;    s.main.c_cc[VINTR] = CDISABLE;
639    s.main.c_lflag &= ~ISIG;    s.main.c_lflag &= ~ISIG;
640  #endif /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */  #endif /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */
641    s.main.c_cc[VEOL] = 0377;    s.main.c_cc[VEOL] = CDISABLE;
642    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 */
643  #endif /* AIX */  #endif /* AIX */
644    
# Line 1479  nil means don't delete them until `list- Line 1479  nil means don't delete them until `list-
1479        tty.main.c_line = 0;        tty.main.c_line = 0;
1480        tty.main.c_iflag &= ~ASCEDIT;        tty.main.c_iflag &= ~ASCEDIT;
1481  #else  #else
1482        tty.main.c_cc[VSTRT] = 255;        tty.main.c_cc[VSTRT] = CDISABLE;
1483        tty.main.c_cc[VSTOP] = 255;        tty.main.c_cc[VSTOP] = CDISABLE;
1484        tty.main.c_cc[VSUSP] = 255;        tty.main.c_cc[VSUSP] = CDISABLE;
1485        tty.main.c_cc[VDSUSP] = 255;        tty.main.c_cc[VDSUSP] = CDISABLE;
1486  #endif /* IBMR2AIX */  #endif /* IBMR2AIX */
1487        if (flow_control)        if (flow_control)
1488          {          {

Legend:
Removed from v.1.235.2.7  
changed lines
  Added in v.1.235.2.8

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