diff options
| author | Jim Blandy | 1992-11-16 00:55:34 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-11-16 00:55:34 +0000 |
| commit | a04c9535981eef1b41afd50fc6b589278c51f7d9 (patch) | |
| tree | 4e042c7dee368523119023a84cbbeedf6b269bef /src | |
| parent | 986ffb244621a88dedd3885bd891611b79c57995 (diff) | |
| download | emacs-a04c9535981eef1b41afd50fc6b589278c51f7d9.tar.gz emacs-a04c9535981eef1b41afd50fc6b589278c51f7d9.zip | |
* systty.h: Doc fix.
* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Added VMS changes from Roland Roberts.
Diffstat (limited to 'src')
| -rw-r--r-- | src/systty.h | 51 |
1 files changed, 43 insertions, 8 deletions
diff --git a/src/systty.h b/src/systty.h index 0fd9e371155..32941411ee9 100644 --- a/src/systty.h +++ b/src/systty.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* systerm.h - System-dependent definitions for terminals. | 1 | /* systty.h - System-dependent definitions for terminals. |
| 2 | Copyright (C) 1992 Free Software Foundation, Inc. | 2 | Copyright (C) 1992 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| @@ -29,7 +29,42 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 29 | #else /* neither HAVE_TERMIO nor HAVE_TERMIOS */ | 29 | #else /* neither HAVE_TERMIO nor HAVE_TERMIOS */ |
| 30 | #ifndef VMS | 30 | #ifndef VMS |
| 31 | #include <sgtty.h> | 31 | #include <sgtty.h> |
| 32 | #endif /* not VMS */ | 32 | #else /* VMS */ |
| 33 | #include <descrip.h> | ||
| 34 | static struct iosb | ||
| 35 | { | ||
| 36 | short status; | ||
| 37 | short offset; | ||
| 38 | short termlen; | ||
| 39 | short term; | ||
| 40 | } input_iosb; | ||
| 41 | |||
| 42 | extern int waiting_for_ast; | ||
| 43 | extern int stop_input; | ||
| 44 | extern int input_ef = 0; | ||
| 45 | extern int timer_ef = 0; | ||
| 46 | extern int process_ef = 0; | ||
| 47 | extern int input_eflist; | ||
| 48 | extern int timer_eflist; | ||
| 49 | |||
| 50 | static $DESCRIPTOR (input_dsc, "TT"); | ||
| 51 | static int terminator_mask[2] = { 0, 0 }; | ||
| 52 | |||
| 53 | static struct sensemode { | ||
| 54 | short status; | ||
| 55 | unsigned char xmit_baud; | ||
| 56 | unsigned char rcv_baud; | ||
| 57 | unsigned char crfill; | ||
| 58 | unsigned char lffill; | ||
| 59 | unsigned char parity; | ||
| 60 | unsigned char unused; | ||
| 61 | char class; | ||
| 62 | char type; | ||
| 63 | short scr_wid; | ||
| 64 | unsigned long tt_char : 24, scr_len : 8; | ||
| 65 | unsigned long tt2_char; | ||
| 66 | } sensemode_iosb; | ||
| 67 | #endif /* VMS */ | ||
| 33 | #endif /* not HAVE_TERMIOS */ | 68 | #endif /* not HAVE_TERMIOS */ |
| 34 | #endif /* not HAVE_TERMIO */ | 69 | #endif /* not HAVE_TERMIO */ |
| 35 | 70 | ||
| @@ -261,12 +296,12 @@ struct emacs_tty { | |||
| 261 | 296 | ||
| 262 | /* These definitions will really only work in sysdep.c, because of their | 297 | /* These definitions will really only work in sysdep.c, because of their |
| 263 | use of input_iosb. I don't know enough about VMS QIO to fix this. */ | 298 | use of input_iosb. I don't know enough about VMS QIO to fix this. */ |
| 264 | #define EMACS_GET_TTY_1(fd, p) \ | 299 | #define EMACS_GET_TTY_1(fd, p) \ |
| 265 | SYS$QIOW (0, (fd), IO$_SENSEMODE, (p), 0, 0, \ | 300 | (1 & SYS$QIOW (0, (fd), IO$_SENSEMODE, (p), 0, 0, \ |
| 266 | &(p)->main.class, 12, 0, 0, 0, 0); | 301 | &(p)->main.class, 12, 0, 0, 0, 0)) |
| 267 | #define EMACS_SET_TTY_1(fd, p, waitp) \ | 302 | #define EMACS_SET_TTY_1(fd, p, waitp) \ |
| 268 | SYS$QIOW (0, (fd), IO$_SETMODE, &input_iosb, 0, 0, \ | 303 | (1 & SYS$QIOW (0, (fd), IO$_SETMODE, &input_iosb, 0, 0, \ |
| 269 | &(p)->main.class, 12, 0, 0, 0, 0); | 304 | &(p)->main.class, 12, 0, 0, 0, 0)) |
| 270 | 305 | ||
| 271 | #else | 306 | #else |
| 272 | 307 | ||