Mercurial > emacs
annotate src/s/xenix.h @ 77591:ec47afd2d1db
(vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 28 Apr 2007 14:08:58 +0000 |
parents | e90d04cd455a |
children | f06998349cfc 95d0cdf160ea |
rev | line source |
---|---|
457 | 1 /* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2 |
75227
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
2 Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, |
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
3 2005, 2006, 2007 Free Software Foundation, Inc. |
457 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
3699 | 9 the Free Software Foundation; either version 2, or (at your option) |
457 | 10 any later version. |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs; see the file COPYING. If not, write to | |
64083 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 Boston, MA 02110-1301, USA. */ | |
457 | 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 UNIPLUS */ | |
28 #define XENIX | |
29 #define USG5 | |
30 #define USG | |
31 /* #define HPUX */ | |
32 /* #define UMAX */ | |
33 /* #define BSD4_1 */ | |
34 /* #define BSD4_2 */ | |
35 /* #define BSD4_3 */ | |
16221 | 36 /* #define BSD_SYSTEM */ |
457 | 37 /* #define VMS */ |
38 | |
39 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
40 It sets the Lisp variable system-type. */ | |
41 | |
42 #define SYSTEM_TYPE "xenix" | |
43 | |
44 /* NOMULTIPLEJOBS should be defined if your system's shell | |
45 does not have "job control" (the ability to stop a program, | |
46 run some other program, then continue the first one). */ | |
47 | |
48 #define NOMULTIPLEJOBS | |
49 | |
50 /* Emacs can read input using SIGIO and buffering characters itself, | |
51 or using CBREAK mode and making C-g cause SIGINT. | |
52 The choice is controlled by the variable interrupt_input. | |
53 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) | |
54 | |
55 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
|
56 CBREAK mode has two disadvantages: |
457 | 57 1) At least in 4.2, it is impossible to handle the Meta key properly. |
58 I hear that in system V this problem does not exist. | |
59 2) Control-G causes output to be discarded. | |
60 I do not know whether this can be fixed in system V. | |
61 | |
62 Another method of doing input is planned but not implemented. | |
63 It would have Emacs fork off a separate process | |
64 to read the input and send it to the true Emacs process | |
65 through a pipe. | |
66 */ | |
67 | |
68 /* #define INTERRUPT_INPUT */ | |
69 | |
70 /* Letter to use in finding device name of first pty, | |
71 if system supports pty's. 'p' means it is /dev/ptyp0 */ | |
72 | |
73 /* #define FIRST_PTY_LETTER 'p' */ | |
74 | |
75 /* | |
76 * Define HAVE_TERMIO if the system provides sysV-style ioctls | |
77 * for terminal control. | |
78 */ | |
79 | |
80 #define HAVE_TERMIO | |
81 | |
82 /* | |
83 * Define HAVE_PTYS if the system supports pty devices. | |
84 */ | |
85 | |
86 /* #define HAVE_PTYS */ | |
87 | |
88 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
89 | |
90 /* #define HAVE_SOCKETS */ | |
91 | |
92 /* | |
93 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
94 * The 4.2 opendir, etc., library functions. | |
95 */ | |
96 | |
97 #define NONSYSTEM_DIR_LIBRARY | |
98 | |
99 /* Define this symbol if your system has the functions bcopy, etc. */ | |
100 | |
101 /* #define BSTRING */ | |
102 | |
103 /* subprocesses should be defined if you want to | |
104 have code for asynchronous subprocesses | |
105 (as used in M-x compile and M-x shell). | |
106 This is supposed to work now on system V release 2. */ | |
107 | |
108 #define subprocesses | |
109 | |
110 /* If your system uses COFF (Common Object File Format) then define the | |
111 preprocessor symbol "COFF". */ | |
112 | |
113 /* #define COFF */ | |
114 | |
115 /* Xenix requires completely different unexec code | |
116 which lives in a separate file. Specify the file name. */ | |
117 | |
118 #define UNEXEC unexenix.o | |
119 | |
120 /* define MAIL_USE_FLOCK if the mailer uses flock | |
121 to interlock access to /usr/spool/mail/$USER. | |
122 The alternative is that a lock file named | |
123 /usr/spool/mail/$USER.lock. */ | |
124 | |
125 #define MAIL_USE_FLOCK | |
126 | |
127 /* Define CLASH_DETECTION if you want lock files to be written | |
128 so that Emacs can tell instantly when you try to modify | |
129 a file that someone else has modified in his Emacs. */ | |
130 | |
131 /* The way this is implemented requires long filenames... */ | |
132 /* #define CLASH_DETECTION */ | |
133 | |
134 /* Define SHORTNAMES if the C compiler can distinguish only | |
135 short names. It means that the stuff in ../shortnames | |
136 must be run to convert the long names to short ones. */ | |
137 | |
138 /* #define SHORTNAMES */ | |
139 | |
140 /* Compensate for one incompatibility between Xenix and V.0. */ | |
141 #define n_zeroes n_name[0] | |
142 | |
143 /* The file containing the kernel's symbol table is called /xenix. */ | |
144 | |
145 #define KERNEL_FILE "/xenix" | |
146 | |
147 /* The symbol in the kernel where the load average is found | |
148 is named avenrun. */ | |
149 | |
150 #define LDAV_SYMBOL "_avenrun" | |
151 | |
152 /* Special hacks needed to make Emacs run on this system. */ | |
153 | |
154 /* | |
155 * Make the sigsetmask function go away. Don't know what the | |
156 * ramifications of this are, but doesn't seem possible to | |
157 * emulate it properly anyway at this point. | |
158 */ | |
159 | |
160 #define sigsetmask(mask) /* Null expansion */ | |
161 | |
162 /* setjmp and longjmp can safely replace _setjmp and _longjmp, | |
163 but they will run slower. */ | |
164 | |
165 #define _setjmp setjmp | |
166 #define _longjmp longjmp | |
167 | |
168 /* On USG systems these have different names */ | |
169 | |
170 #define index strchr | |
171 #define rindex strrchr | |
172 | |
173 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ | |
174 | |
175 #define ADDR_CORRECT(x) (x) | |
176 | |
177 /* Prevent -lg from being used for debugging. Not implemented? */ | |
178 | |
179 #define LIBS_DEBUG | |
180 | |
181 /* Switches for linking temacs. */ | |
182 | |
183 #define LD_SWITCH_SYSTEM -i | |
184 | |
185 /* Xenix implements sysV style IPC. */ | |
186 | |
187 #define HAVE_SYSVIPC | |
188 | |
189 /* Use terminfo instead of termcap. */ | |
190 | |
191 /* Tell Emacs to use Terminfo. */ | |
192 | |
193 #define TERMINFO | |
194 | |
195 /* Tell Xenix curses to BE Terminfo. */ | |
196 #define M_TERMINFO | |
197 | |
198 /* Control program name for etc/fakemail to run. */ | |
199 | |
200 #ifdef SMAIL | |
201 #define MAIL_PROGRAM_NAME "/usr/bin/smail -q0" | |
202 #else | |
203 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" | |
204 #endif | |
205 | |
206 /* Some variants have TIOCGETC, but the structures to go with it | |
207 are not declared. */ | |
208 | |
209 #define BROKEN_TIOCGETC | |
52401 | 210 |
211 /* arch-tag: 71d3985d-4e53-4572-8276-5dce26bbd076 | |
212 (do not change this comment) */ |