Mercurial > emacs
annotate src/s/rtu.h @ 20892:18f3cb26243f before-miles-orphaned-changes gcc-2_8_1-980401 gcc-2_8_1-980407 gcc-2_8_1-980412 gcc-2_8_1-980413 gcc-2_8_1-RELEASE gcc_2_8_1-980315 libc-980214 libc-980215 libc-980216 libc-980217 libc-980218 libc-980219 libc-980220 libc-980221 libc-980222 libc-980223 libc-980224 libc-980225 libc-980226 libc-980227 libc-980228 libc-980301 libc-980302 libc-980303 libc-980304 libc-980306 libc-980307 libc-980308 libc-980309 libc-980310 libc-980311 libc-980312 libc-980313 libc-980314 libc-980315 libc-980316 libc-980317 libc-980318 libc-980319 libc-980320 libc-980321 libc-980322 libc-980323 libc-980324 libc-980325 libc-980326 libc-980327 libc-980328 libc-980329 libc-980330 libc-980331 libc-980401 libc-980402 libc-980403 libc-980404 libc-980405 libc-980406 libc-980407 libc-980408 libc-980409 libc-980410 libc-980411 libc-980412 libc-980413 libc-980414 libc-980428 libc-980429 libc-980430 libc-980501 libc-980502 libc-980503 libc-980504 libc-980505 libc-980506 libc-980507 libc-980508 libc-980509 libc-980510 libc-980512 libc-980513 libc-980514 libc-980515 libc-980516 libc-980517 libc-980518 libc-980519 libc-980520 libc-980521 libc-980522 libc-980523 libc-980524 libc-980525 libc-980526 libc-980527 libc-980528 libc-980529 libc-980530 libc-980531 libc-980601 libc-980602 libc-980603 libc-980604 libc-980605 libc-980606 libc-980607 libc-980608 libc-980609 libc-980610 libc-980611 libc-980612 libc-980613
Add PentiumII (i786). Add '7' to all i[3456] entries.
Add AMD and Cyrix names for P5 and P6.
author | Richard Kenner <kenner@gnu.org> |
---|---|
date | Fri, 13 Feb 1998 12:16:46 +0000 |
parents | 02044b05d8e0 |
children | 63fd40a97a75 |
rev | line source |
---|---|
456 | 1 /* Definitions file for GNU Emacs running on RTU 3.0, ucb universe. |
2 Copyright (C) 1986 Free Software Foundation, Inc. | |
3 | |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
3699 | 8 the Free Software Foundation; either version 2, or (at your option) |
456 | 9 any later version. |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with GNU Emacs; see the file COPYING. If not, write to | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
8892
diff
changeset
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
8892
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
456 | 20 |
21 | |
22 /* | |
23 * Define symbols to identify the version of Unix this is. | |
24 * Define all the symbols that apply correctly. | |
25 */ | |
26 | |
27 #define BSD4_2 | |
16220
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
28 #define BSD_SYSTEM |
456 | 29 #define RTU |
30 | |
31 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
32 It sets the Lisp variable system-type. */ | |
33 | |
34 #define SYSTEM_TYPE "rtu" | |
35 | |
36 /* NOMULTIPLEJOBS should be defined if your system's shell | |
37 does not have "job control" (the ability to stop a program, | |
38 run some other program, then continue the first one). */ | |
39 | |
40 #define NOMULTIPLEJOBS | |
41 | |
42 /* Emacs can read input using SIGIO and buffering characters itself, | |
43 or using CBREAK mode and making C-g cause SIGINT. | |
44 The choice is controlled by the variable interrupt_input. | |
45 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) | |
46 | |
47 SIGIO can be used only on systems that implement it (4.2 and 4.3). | |
3591
507f64624555
Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents:
620
diff
changeset
|
48 CBREAK mode has two disadvantages |
456 | 49 1) At least in 4.2, it is impossible to handle the Meta key properly. |
50 I hear that in system V this problem does not exist. | |
51 2) Control-G causes output to be discarded. | |
52 I do not know whether this can be fixed in system V. | |
53 | |
54 Another method of doing input is planned but not implemented. | |
55 It would have Emacs fork off a separate process | |
56 to read the input and send it to the true Emacs process | |
57 through a pipe. | |
58 */ | |
59 | |
60 #undef INTERRUPT_INPUT | |
61 | |
62 /* Letter to use in finding device name of first pty, | |
63 if system supports pty's. 'a' means it is /dev/ptya0 */ | |
64 | |
65 #define FIRST_PTY_LETTER 'z' /* i.e. no PTY_LETTERs */ | |
66 | |
67 /* | |
68 * Define HAVE_PTYS if the system supports pty devices. | |
69 */ | |
70 | |
71 #define HAVE_PTYS | |
72 | |
73 /* Define this macro if system defines a type `union wait'. */ | |
74 | |
75 #define HAVE_UNION_WAIT | |
76 | |
77 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
78 | |
79 #define HAVE_SOCKETS | |
80 | |
81 /* | |
82 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
83 * The 4.2 opendir, etc., library functions. | |
84 */ | |
85 | |
86 #define NONSYSTEM_DIR_LIBRARY | |
87 | |
88 /* Define this symbol if your system has the functions bcopy, etc. */ | |
89 /* The system library bcopy() is broken in RTU. For one thing, it expects | |
90 the length to be less than 64k. */ | |
91 #undef BSTRING | |
92 | |
93 /* subprocesses should be defined if you want to | |
94 have code for asynchronous subprocesses | |
95 (as used in M-x compile and M-x shell). | |
96 This is generally OS dependent, and not supported | |
97 under most USG systems. */ | |
98 | |
99 #define subprocesses | |
100 | |
101 /* If your system uses COFF (Common Object File Format) then define the | |
102 preprocessor symbol "COFF". */ | |
103 | |
104 #undef COFF | |
105 | |
106 /* define MAIL_USE_FLOCK if the mailer uses flock | |
107 to interlock access to /usr/spool/mail/$USER. | |
108 The alternative is that a lock file named | |
109 /usr/spool/mail/$USER.lock. */ | |
110 | |
111 #undef MAIL_USE_FLOCK | |
112 | |
113 /* Define CLASH_DETECTION if you want lock files to be written | |
114 so that Emacs can tell instantly when you try to modify | |
115 a file that someone else has modified in his Emacs. */ | |
116 | |
117 #undef CLASH_DETECTION | |
118 | |
119 /* We use the Berkeley (and usg5.2.2) interface to nlist. */ | |
120 | |
121 #define NLIST_STRUCT | |
122 | |
123 /* The symbol in the kernel where the load average is found | |
124 is named _avenrun. */ | |
125 | |
126 #define LDAV_SYMBOL "_avenrun" | |
127 | |
128 /* Special hacks needed to make Emacs run on this system. */ | |
129 | |
3591
507f64624555
Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents:
620
diff
changeset
|
130 /* On RTU systems (like USG) the system calls are interruptible by signals |
456 | 131 that the user program has elected to catch. Thus the system call |
132 must be retried in these cases. To handle this without massive | |
133 changes in the source code, we remap the standard system call names | |
134 to names for our own functions in sysdep.c that do the system call | |
135 with retries. */ | |
136 | |
137 #define read sys_read | |
138 #define open sys_open | |
139 #define write sys_write | |
140 | |
141 #define INTERRUPTIBLE_OPEN | |
142 #define INTERRUPTIBLE_IO | |
143 | |
144 /* The "fsync" call on RTU versions 3.0 and 3.1 is badly broken! | |
145 This hack below isn't the best solution, but without it this | |
146 program will cause the whole system to hang! !@#$#%$ Masscomp! */ | |
147 | |
148 #define fsync(x) 0 /* "Comment out" fsync calls */ | |
149 | |
150 /* RTU has IPC instead of Unix-domain sockets. */ | |
151 | |
152 #define HAVE_SYSVIPC | |
153 | |
154 /* This is how to get the device name of the tty end of a pty. */ | |
155 #define PTY_TTY_NAME_SPRINTF \ | |
620 | 156 sprintf (pty_name, "/dev/ttyp%x", i); |
456 | 157 |
158 /* This is how to get the device name of the control end of a pty. */ | |
159 #define PTY_NAME_SPRINTF \ | |
620 | 160 sprintf (pty_name, "/dev/pty%x", i); |
4485 | 161 |
162 /* (Assume) we do have vfork. */ | |
163 | |
164 #define HAVE_VFORK | |
5966 | 165 |
166 /* Process groups work in the traditional BSD manner. */ | |
167 | |
168 #define BSD_PGRPS |