Mercurial > emacs
annotate src/s/xenix.h @ 22520:901451c61b3f
(devanagari-digit-viram-visarga): Set the
correct value.
(devanagari-composite-glyph-unit): Likewise.
(devanagari-char-to-glyph-rules): Likewise.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sat, 20 Jun 1998 02:59:51 +0000 |
parents | d8360498f935 |
children | 63fd40a97a75 |
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 | |
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 /* We do not use the Berkeley (and usg5.2.2) interface to nlist. */ | |
140 | |
141 /* #define NLIST_STRUCT */ | |
142 | |
143 /* Compensate for one incompatibility between Xenix and V.0. */ | |
144 #define n_zeroes n_name[0] | |
145 | |
146 /* The file containing the kernel's symbol table is called /xenix. */ | |
147 | |
148 #define KERNEL_FILE "/xenix" | |
149 | |
150 /* The symbol in the kernel where the load average is found | |
151 is named avenrun. */ | |
152 | |
153 #define LDAV_SYMBOL "_avenrun" | |
154 | |
155 /* Special hacks needed to make Emacs run on this system. */ | |
156 | |
157 /* | |
158 * Make the sigsetmask function go away. Don't know what the | |
159 * ramifications of this are, but doesn't seem possible to | |
160 * emulate it properly anyway at this point. | |
161 */ | |
162 | |
163 #define sigsetmask(mask) /* Null expansion */ | |
164 | |
165 /* setjmp and longjmp can safely replace _setjmp and _longjmp, | |
166 but they will run slower. */ | |
167 | |
168 #define _setjmp setjmp | |
169 #define _longjmp longjmp | |
170 | |
3591
507f64624555
Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents:
457
diff
changeset
|
171 /* On USG systems the system calls are interruptible by signals |
457 | 172 that the user program has elected to catch. Thus the system call |
173 must be retried in these cases. To handle this without massive | |
174 changes in the source code, we remap the standard system call names | |
175 to names for our own functions in sysdep.c that do the system call | |
176 with retries. */ | |
177 | |
178 #define read sys_read | |
179 #define open sys_open | |
180 #define write sys_write | |
181 | |
182 #define INTERRUPTIBLE_OPEN | |
183 #define INTERRUPTIBLE_IO | |
184 | |
185 /* On USG systems these have different names */ | |
186 | |
187 #define index strchr | |
188 #define rindex strrchr | |
189 | |
190 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ | |
191 | |
192 #define ADDR_CORRECT(x) (x) | |
193 | |
194 /* Prevent -lg from being used for debugging. Not implemented? */ | |
195 | |
196 #define LIBS_DEBUG | |
197 | |
198 /* Switches for linking temacs. */ | |
199 | |
200 #define LD_SWITCH_SYSTEM -i | |
201 | |
202 /* Xenix implements sysV style IPC. */ | |
203 | |
204 #define HAVE_SYSVIPC | |
205 | |
206 /* Use terminfo instead of termcap. */ | |
207 | |
208 /* Tell Emacs to use Terminfo. */ | |
209 | |
210 #define TERMINFO | |
211 | |
212 /* Tell Xenix curses to BE Terminfo. */ | |
213 #define M_TERMINFO | |
214 | |
215 /* Control program name for etc/fakemail to run. */ | |
216 | |
217 #ifdef SMAIL | |
218 #define MAIL_PROGRAM_NAME "/usr/bin/smail -q0" | |
219 #else | |
220 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" | |
221 #endif | |
222 | |
223 /* Some variants have TIOCGETC, but the structures to go with it | |
224 are not declared. */ | |
225 | |
226 #define BROKEN_TIOCGETC |