(latexenc-find-file-coding-system): Don't inherit the EOL part of the
[emacs.git] / src / s / xenix.h
blobc0840bcd3b389e2d5a56ad79953de63bffdc7cff
1 /* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2
2 Copyright (C) 1988, 1999 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
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
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
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.
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, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
22 * Define symbols to identify the version of Unix this is.
23 * Define all the symbols that apply correctly.
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 */
35 /* #define BSD_SYSTEM */
36 /* #define VMS */
38 /* SYSTEM_TYPE should indicate the kind of system you are using.
39 It sets the Lisp variable system-type. */
41 #define SYSTEM_TYPE "xenix"
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). */
47 #define NOMULTIPLEJOBS
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)
54 SIGIO can be used only on systems that implement it (4.2 and 4.3).
55 CBREAK mode has two disadvantages:
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.
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.
67 /* #define INTERRUPT_INPUT */
69 /* Letter to use in finding device name of first pty,
70 if system supports pty's. 'p' means it is /dev/ptyp0 */
72 /* #define FIRST_PTY_LETTER 'p' */
75 * Define HAVE_TERMIO if the system provides sysV-style ioctls
76 * for terminal control.
79 #define HAVE_TERMIO
82 * Define HAVE_PTYS if the system supports pty devices.
85 /* #define HAVE_PTYS */
87 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
89 /* #define HAVE_SOCKETS */
92 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
93 * The 4.2 opendir, etc., library functions.
96 #define NONSYSTEM_DIR_LIBRARY
98 /* Define this symbol if your system has the functions bcopy, etc. */
100 /* #define BSTRING */
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. */
107 #define subprocesses
109 /* If your system uses COFF (Common Object File Format) then define the
110 preprocessor symbol "COFF". */
112 /* #define COFF */
114 /* Xenix requires completely different unexec code
115 which lives in a separate file. Specify the file name. */
117 #define UNEXEC unexenix.o
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. */
124 #define MAIL_USE_FLOCK
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. */
130 /* The way this is implemented requires long filenames... */
131 /* #define CLASH_DETECTION */
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. */
137 /* #define SHORTNAMES */
139 /* Compensate for one incompatibility between Xenix and V.0. */
140 #define n_zeroes n_name[0]
142 /* The file containing the kernel's symbol table is called /xenix. */
144 #define KERNEL_FILE "/xenix"
146 /* The symbol in the kernel where the load average is found
147 is named avenrun. */
149 #define LDAV_SYMBOL "_avenrun"
151 /* Special hacks needed to make Emacs run on this system. */
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.
159 #define sigsetmask(mask) /* Null expansion */
161 /* setjmp and longjmp can safely replace _setjmp and _longjmp,
162 but they will run slower. */
164 #define _setjmp setjmp
165 #define _longjmp longjmp
167 /* On USG systems these have different names */
169 #define index strchr
170 #define rindex strrchr
172 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */
174 #define ADDR_CORRECT(x) (x)
176 /* Prevent -lg from being used for debugging. Not implemented? */
178 #define LIBS_DEBUG
180 /* Switches for linking temacs. */
182 #define LD_SWITCH_SYSTEM -i
184 /* Xenix implements sysV style IPC. */
186 #define HAVE_SYSVIPC
188 /* Use terminfo instead of termcap. */
190 /* Tell Emacs to use Terminfo. */
192 #define TERMINFO
194 /* Tell Xenix curses to BE Terminfo. */
195 #define M_TERMINFO
197 /* Control program name for etc/fakemail to run. */
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
205 /* Some variants have TIOCGETC, but the structures to go with it
206 are not declared. */
208 #define BROKEN_TIOCGETC
210 /* arch-tag: 71d3985d-4e53-4572-8276-5dce26bbd076
211 (do not change this comment) */