Mercurial > emacs
annotate src/s/umax.h @ 5127:e1a169a43ac5
(HAVE_GETTIMEOFDAY): Define only if HAVE_SOCKETS.
Fix up conditionals changed recently.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 23 Nov 1993 08:56:03 +0000 |
parents | 6e6fd9ff650f |
children | cef67aeae92b |
rev | line source |
---|---|
457 | 1 /* Definitions file for GNU Emacs running on UMAX 4.2 |
2 Copyright (C) 1985, 1986 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 /* | |
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 USG5 */ | |
28 /* #define USG */ | |
29 /* #define BSD4_1 */ | |
30 #define BSD4_2 | |
31 /* #define BSD4_3 */ | |
32 #define BSD | |
33 #define UMAX4_2 | |
34 #define UMAX | |
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 "berkeley-unix" | |
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. 'a' means it is /dev/ptya0 */ | |
70 | |
71 #define FIRST_PTY_LETTER 'p' | |
72 | |
73 /* | |
74 * Define HAVE_TIMEVAL if the system supports the BSD style clock values. | |
75 * Look in <sys/time.h> for a timeval structure. | |
76 */ | |
77 | |
78 #define HAVE_TIMEVAL | |
79 | |
80 /* | |
81 * Define HAVE_SELECT if the system supports the `select' system call. | |
82 */ | |
83 | |
84 #define HAVE_SELECT | |
85 | |
86 /* | |
87 * Define HAVE_PTYS if the system supports pty devices. | |
88 */ | |
89 | |
90 #define HAVE_PTYS | |
91 | |
92 /* Define this macro if system defines a type `union wait'. */ | |
93 | |
94 #define HAVE_UNION_WAIT | |
95 | |
96 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
97 | |
98 #define HAVE_SOCKETS | |
99 | |
100 /* | |
101 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
102 * The 4.2 opendir, etc., library functions. | |
103 */ | |
104 | |
105 /* #define NONSYSTEM_DIR_LIBRARY */ | |
106 | |
107 /* Define this symbol if your system has the functions bcopy, etc. */ | |
108 | |
109 #define BSTRING | |
110 | |
111 /* subprocesses should be defined if you want to | |
112 have code for asynchronous subprocesses | |
113 (as used in M-x compile and M-x shell). | |
114 This is generally OS dependent, and not supported | |
115 under most USG systems. */ | |
116 | |
117 #define subprocesses | |
118 | |
119 /* If your system uses COFF (Common Object File Format) then define the | |
120 preprocessor symbol "COFF". */ | |
121 | |
122 #define COFF | |
123 | |
124 /* define MAIL_USE_FLOCK if the mailer uses flock | |
125 to interlock access to /usr/spool/mail/$USER. | |
126 The alternative is that a lock file named | |
127 /usr/spool/mail/$USER.lock. */ | |
128 | |
129 #define MAIL_USE_FLOCK | |
130 | |
131 /* Define CLASH_DETECTION if you want lock files to be written | |
132 so that Emacs can tell instantly when you try to modify | |
133 a file that someone else has modified in his Emacs. */ | |
134 | |
135 #define CLASH_DETECTION | |
136 | |
137 /* We use the Berkeley (and usg5.2.2) interface to nlist. */ | |
138 | |
139 #define NLIST_STRUCT | |
140 | |
141 /* The file containing the kernel's symbol table is called /vmunix. */ | |
142 | |
143 #define KERNEL_FILE "/vmunix" | |
144 | |
145 /* The symbol in the kernel where the load average is found | |
146 is named _avenrun. */ | |
147 | |
148 #define LDAV_SYMBOL "_avenrun" | |
149 | |
150 /* Here, on a separate page, add any special hacks needed | |
151 to make Emacs work on this system. For example, | |
152 you might define certain system call names that don't | |
153 exist on your system, or that do different things on | |
154 your system and must be used only through an encapsulation | |
155 (Which you should place, by convention, in sysdep.c). */ | |
156 | |
157 /* Specify alignment requirement for start of text and data sections | |
158 in the executable file. */ | |
159 | |
160 #define SECTION_ALIGNMENT pagemask | |
161 | |
162 | |
163 #define SEGMENT_MASK (64 * 1024 - 1) | |
164 | |
165 | |
166 /* crt0.c needs this for compilation because it uses asm. */ | |
167 | |
168 #define C_SWITCH_ASM -q nodirect_code | |
169 | |
170 /* Encore machines with APC processor boards align sections on 4M | |
171 boundaries, so it is not easy to remap the start of the text segment | |
172 in the unexec() routine. For them you need the following two lines. | |
173 For DPC processors you can enable these or not, as you wish, but | |
174 you will get better performance without them. */ | |
175 | |
176 /* #define NO_REMAP | |
177 #define TEXT_START 0 | |
178 */ | |
4485 | 179 |
180 /* (Assume) we do have vfork. */ | |
181 | |
182 #define HAVE_VFORK |