Mercurial > emacs
annotate src/s/xenix.h @ 13248:a7e83f7eb499
(tex-start-of-header): Now a regexp.
(tex-end-of-header): Likewise.
(plain-tex-mode, latex-mode, slitex-mode, tex-region): Changed accordingly.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 19 Oct 1995 00:48:12 +0000 |
parents | 191acacfa1ec |
children | ee40177f6c68 |
rev | line source |
---|---|
457 | 1 /* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2 |
2 Copyright (C) 1988 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) |
457 | 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 | |
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
19 | |
20 /* | |
21 * Define symbols to identify the version of Unix this is. | |
22 * Define all the symbols that apply correctly. | |
23 */ | |
24 | |
25 /* #define UNIPLUS */ | |
26 #define XENIX | |
27 #define USG5 | |
28 #define USG | |
29 /* #define HPUX */ | |
30 /* #define UMAX */ | |
31 /* #define BSD4_1 */ | |
32 /* #define BSD4_2 */ | |
33 /* #define BSD4_3 */ | |
34 /* #define BSD */ | |
35 /* #define VMS */ | |
36 | |
37 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
38 It sets the Lisp variable system-type. */ | |
39 | |
40 #define SYSTEM_TYPE "xenix" | |
41 | |
42 /* NOMULTIPLEJOBS should be defined if your system's shell | |
43 does not have "job control" (the ability to stop a program, | |
44 run some other program, then continue the first one). */ | |
45 | |
46 #define NOMULTIPLEJOBS | |
47 | |
48 /* Emacs can read input using SIGIO and buffering characters itself, | |
49 or using CBREAK mode and making C-g cause SIGINT. | |
50 The choice is controlled by the variable interrupt_input. | |
51 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) | |
52 | |
53 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:
457
diff
changeset
|
54 CBREAK mode has two disadvantages: |
457 | 55 1) At least in 4.2, it is impossible to handle the Meta key properly. |
56 I hear that in system V this problem does not exist. | |
57 2) Control-G causes output to be discarded. | |
58 I do not know whether this can be fixed in system V. | |
59 | |
60 Another method of doing input is planned but not implemented. | |
61 It would have Emacs fork off a separate process | |
62 to read the input and send it to the true Emacs process | |
63 through a pipe. | |
64 */ | |
65 | |
66 /* #define INTERRUPT_INPUT */ | |
67 | |
68 /* Letter to use in finding device name of first pty, | |
69 if system supports pty's. 'p' means it is /dev/ptyp0 */ | |
70 | |
71 /* #define FIRST_PTY_LETTER 'p' */ | |
72 | |
73 /* | |
74 * Define HAVE_TERMIO if the system provides sysV-style ioctls | |
75 * for terminal control. | |
76 */ | |
77 | |
78 #define HAVE_TERMIO | |
79 | |
80 /* | |
81 * Define HAVE_PTYS if the system supports pty devices. | |
82 */ | |
83 | |
84 /* #define HAVE_PTYS */ | |
85 | |
86 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
87 | |
88 /* #define HAVE_SOCKETS */ | |
89 | |
90 /* | |
91 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
92 * The 4.2 opendir, etc., library functions. | |
93 */ | |
94 | |
95 #define NONSYSTEM_DIR_LIBRARY | |
96 | |
97 /* Define this symbol if your system has the functions bcopy, etc. */ | |
98 | |
99 /* #define BSTRING */ | |
100 | |
101 /* subprocesses should be defined if you want to | |
102 have code for asynchronous subprocesses | |
103 (as used in M-x compile and M-x shell). | |
104 This is supposed to work now on system V release 2. */ | |
105 | |
106 #define subprocesses | |
107 | |
108 /* If your system uses COFF (Common Object File Format) then define the | |
109 preprocessor symbol "COFF". */ | |
110 | |
111 /* #define COFF */ | |
112 | |
113 /* Xenix requires completely different unexec code | |
114 which lives in a separate file. Specify the file name. */ | |
115 | |
116 #define UNEXEC unexenix.o | |
117 | |
118 /* define MAIL_USE_FLOCK if the mailer uses flock | |
119 to interlock access to /usr/spool/mail/$USER. | |
120 The alternative is that a lock file named | |
121 /usr/spool/mail/$USER.lock. */ | |
122 | |
123 #define MAIL_USE_FLOCK | |
124 | |
125 /* Define CLASH_DETECTION if you want lock files to be written | |
126 so that Emacs can tell instantly when you try to modify | |
127 a file that someone else has modified in his Emacs. */ | |
128 | |
129 /* The way this is implemented requires long filenames... */ | |
130 /* #define CLASH_DETECTION */ | |
131 | |
132 /* Define SHORTNAMES if the C compiler can distinguish only | |
133 short names. It means that the stuff in ../shortnames | |
134 must be run to convert the long names to short ones. */ | |
135 | |
136 /* #define SHORTNAMES */ | |
137 | |
138 /* We do not use the Berkeley (and usg5.2.2) interface to nlist. */ | |
139 | |
140 /* #define NLIST_STRUCT */ | |
141 | |
142 /* Compensate for one incompatibility between Xenix and V.0. */ | |
143 #define n_zeroes n_name[0] | |
144 | |
145 /* The file containing the kernel's symbol table is called /xenix. */ | |
146 | |
147 #define KERNEL_FILE "/xenix" | |
148 | |
149 /* The symbol in the kernel where the load average is found | |
150 is named avenrun. */ | |
151 | |
152 #define LDAV_SYMBOL "_avenrun" | |
153 | |
154 /* Special hacks needed to make Emacs run on this system. */ | |
155 | |
156 /* | |
157 * Make the sigsetmask function go away. Don't know what the | |
158 * ramifications of this are, but doesn't seem possible to | |
159 * emulate it properly anyway at this point. | |
160 */ | |
161 | |
162 #define sigsetmask(mask) /* Null expansion */ | |
163 | |
164 /* setjmp and longjmp can safely replace _setjmp and _longjmp, | |
165 but they will run slower. */ | |
166 | |
167 #define _setjmp setjmp | |
168 #define _longjmp longjmp | |
169 | |
3591
507f64624555
Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents:
457
diff
changeset
|
170 /* On USG systems the system calls are interruptible by signals |
457 | 171 that the user program has elected to catch. Thus the system call |
172 must be retried in these cases. To handle this without massive | |
173 changes in the source code, we remap the standard system call names | |
174 to names for our own functions in sysdep.c that do the system call | |
175 with retries. */ | |
176 | |
177 #define read sys_read | |
178 #define open sys_open | |
179 #define write sys_write | |
180 | |
181 #define INTERRUPTIBLE_OPEN | |
182 #define INTERRUPTIBLE_IO | |
183 | |
184 /* On USG systems these have different names */ | |
185 | |
186 #define index strchr | |
187 #define rindex strrchr | |
188 | |
189 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ | |
190 | |
191 #define ADDR_CORRECT(x) (x) | |
192 | |
193 /* Prevent -lg from being used for debugging. Not implemented? */ | |
194 | |
195 #define LIBS_DEBUG | |
196 | |
197 /* Switches for linking temacs. */ | |
198 | |
199 #define LD_SWITCH_SYSTEM -i | |
200 | |
201 /* Xenix implements sysV style IPC. */ | |
202 | |
203 #define HAVE_SYSVIPC | |
204 | |
205 /* Use terminfo instead of termcap. */ | |
206 | |
207 /* Tell Emacs to use Terminfo. */ | |
208 | |
209 #define TERMINFO | |
210 | |
211 /* Tell Xenix curses to BE Terminfo. */ | |
212 #define M_TERMINFO | |
213 | |
214 /* Control program name for etc/fakemail to run. */ | |
215 | |
216 #ifdef SMAIL | |
217 #define MAIL_PROGRAM_NAME "/usr/bin/smail -q0" | |
218 #else | |
219 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" | |
220 #endif | |
221 | |
222 /* Some variants have TIOCGETC, but the structures to go with it | |
223 are not declared. */ | |
224 | |
225 #define BROKEN_TIOCGETC |