Mercurial > emacs
annotate src/s/rtu.h @ 19860:c17fd465ea95 libc-970911 libc-970912 libc-970913 libc-970914 libc-970915 libc-970916 libc-970917 libc-970918 libc-970919 libc-970920 libc-970921 libc-970922 libc-970923 libc-970924 libc-970925 libc-970926 libc-970927 libc-970928 libc-970929 libc-970930 libc-971001 libc-971018 libc-971019 libc-971020 libc-971021 libc-971022 libc-971023 libc-971024 libc-971025 libc-971026 libc-971027 libc-971028 libc-971029 libc-971030 libc-971031 libc-971101 libc-971102 libc-971103 libc-971104 libc-971105 libc-971106 libc-971107 libc-971108 libc-971109 libc-971110 libc-971111 libc-971112 libc-971113 libc-971114 libc-971115 libc-971116 libc-971117 libc-971118 libc-971120 libc-971121 libc-971122 libc-971123 libc-971124 libc-971125 libc-971126 libc-971127 libc-971128 libc-971129 libc-971130 libc-971201 libc-971203 libc-971204 libc-971205 libc-971206 libc-971207 libc-971208 libc-971209 libc-971210 libc-971211 libc-971212 libc-971213 libc-971214 libc-971217 libc-971218 libc-971219 libc-971220 libc-971221 libc-971222 libc-971223 libc-971224 libc-971225 libc-971226 libc-971227 libc-971228 libc-971229 libc-971230 libc-971231 libc-980103 libc-980104 libc-980105 libc-980106 libc-980107 libc-980108 libc-980109 libc-980110 libc-980111 libc-980112 libc-980114 libc-980115 libc-980116 libc-980117 libc-980118 libc-980119 libc-980120 libc-980121 libc-980122 libc-980123 libc-980124 libc-980125 libc-980126 libc-980127 libc-980128
typos.
author | Jeff Law <law@redhat.com> |
---|---|
date | Wed, 10 Sep 1997 21:16:20 +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 |