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