Mercurial > emacs
diff src/sysdep.c @ 83196:22658e29bd48
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-501
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-502
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-503
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-504
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-505
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-236
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 23 Aug 2004 10:12:04 +0000 |
parents | b15f799f66b5 ba670a86ca95 |
children | 549734260e34 |
line wrap: on
line diff
--- a/src/sysdep.c Mon Aug 23 08:50:01 2004 +0000 +++ b/src/sysdep.c Mon Aug 23 10:12:04 2004 +0000 @@ -610,9 +610,9 @@ #ifdef SIGNALS_VIA_CHARACTERS /* the QUIT and INTR character are used in process_send_signal so set them here to something useful. */ - if (s.main.c_cc[VQUIT] == 0377) + if (s.main.c_cc[VQUIT] == CDISABLE) s.main.c_cc[VQUIT] = '\\'&037; /* Control-\ */ - if (s.main.c_cc[VINTR] == 0377) + if (s.main.c_cc[VINTR] == CDISABLE) s.main.c_cc[VINTR] = 'C'&037; /* Control-C */ #endif /* not SIGNALS_VIA_CHARACTERS */ @@ -631,11 +631,11 @@ would force it to 0377. That looks like duplicated code. */ #ifndef SIGNALS_VIA_CHARACTERS /* QUIT and INTR work better as signals, so disable character forms */ - s.main.c_cc[VQUIT] = 0377; - s.main.c_cc[VINTR] = 0377; + s.main.c_cc[VQUIT] = CDISABLE; + s.main.c_cc[VINTR] = CDISABLE; s.main.c_lflag &= ~ISIG; #endif /* no TIOCGPGRP or no TIOCGLTC or no TIOCGETC */ - s.main.c_cc[VEOL] = 0377; + s.main.c_cc[VEOL] = CDISABLE; s.main.c_cflag = (s.main.c_cflag & ~CBAUD) | B9600; /* baud rate sanity */ #endif /* AIX */ @@ -1550,10 +1550,10 @@ tty.main.c_line = 0; tty.main.c_iflag &= ~ASCEDIT; #else - tty.main.c_cc[VSTRT] = 255; - tty.main.c_cc[VSTOP] = 255; - tty.main.c_cc[VSUSP] = 255; - tty.main.c_cc[VDSUSP] = 255; + tty.main.c_cc[VSTRT] = CDISABLE; + tty.main.c_cc[VSTOP] = CDISABLE; + tty.main.c_cc[VSUSP] = CDISABLE; + tty.main.c_cc[VDSUSP] = CDISABLE; #endif /* IBMR2AIX */ if (tty_out->flow_control) {