|
|
1.1 root 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 distributed in the hope that it will be useful,
7: but WITHOUT ANY WARRANTY. No author or distributor
8: accepts responsibility to anyone for the consequences of using it
9: or for whether it serves any particular purpose or works at all,
10: unless he says so in writing. Refer to the GNU Emacs General Public
11: License for full details.
12:
13: Everyone is granted permission to copy, modify and redistribute
14: GNU Emacs, but only under the conditions described in the
15: GNU Emacs General Public License. A copy of this license is
16: supposed to have been given to you along with GNU Emacs so you
17: can know your rights and responsibilities. It should be in a
18: file named COPYING. Among other things, the copyright notice
19: and this notice must be preserved on all copies. */
20:
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 USG5 */
29: /* #define USG */
30: /* #define BSD4_1 */
31: #define BSD4_2
32: /* #define BSD4_3 */
33: #define BSD
34: #define UMAX4_2
35: #define UMAX
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 "berkeley-unix"
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).
55: CBREAK mode has two disadvatages
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. 'a' means it is /dev/ptya0 */
71:
72: #define FIRST_PTY_LETTER 'p'
73:
74: /*
75: * Define HAVE_TIMEVAL if the system supports the BSD style clock values.
76: * Look in <sys/time.h> for a timeval structure.
77: */
78:
79: #define HAVE_TIMEVAL
80:
81: /*
82: * Define HAVE_SELECT if the system supports the `select' system call.
83: */
84:
85: #define HAVE_SELECT
86:
87: /*
88: * Define HAVE_PTYS if the system supports pty devices.
89: */
90:
91: #define HAVE_PTYS
92:
93: /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
94:
95: #define HAVE_SOCKETS
96:
97: /*
98: * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
99: * The 4.2 opendir, etc., library functions.
100: */
101:
102: /* #define NONSYSTEM_DIR_LIBRARY */
103:
104: /* Define this symbol if your system has the functions bcopy, etc. */
105:
106: #define BSTRING
107:
108: /* subprocesses should be defined if you want to
109: have code for asynchronous subprocesses
110: (as used in M-x compile and M-x shell).
111: This is generally OS dependent, and not supported
112: under most USG systems. */
113:
114: #define subprocesses
115:
116: /* If your system uses COFF (Common Object File Format) then define the
117: preprocessor symbol "COFF". */
118:
119: #define COFF
120:
121: /* define MAIL_USE_FLOCK if the mailer uses flock
122: to interlock access to /usr/spool/mail/$USER.
123: The alternative is that a lock file named
124: /usr/spool/mail/$USER.lock. */
125:
126: #define MAIL_USE_FLOCK
127:
128: /* Define CLASH_DETECTION if you want lock files to be written
129: so that Emacs can tell instantly when you try to modify
130: a file that someone else has modified in his Emacs. */
131:
132: #define CLASH_DETECTION
133:
134: /* We use the Berkeley (and usg5.2.2) interface to nlist. */
135:
136: #define NLIST_STRUCT
137:
138: /* The file containing the kernel's symbol table is called /vmunix. */
139:
140: #define KERNEL_FILE "/vmunix"
141:
142: /* The symbol in the kernel where the load average is found
143: is named _avenrun. */
144:
145: #define LDAV_SYMBOL "_avenrun"
146:
147: /* Here, on a separate page, add any special hacks needed
148: to make Emacs work on this system. For example,
149: you might define certain system call names that don't
150: exist on your system, or that do different things on
151: your system and must be used only through an encapsulation
152: (Which you should place, by convention, in sysdep.c). */
153:
154: /* Specify alignment requirement for start of text and data sections
155: in the executable file. */
156:
157: #define SECTION_ALIGNMENT pagemask
158:
159:
160: #define SEGMENT_MASK (64 * 1024 - 1)
161:
162:
163: /* crt0.c needs this for compilation because it uses asm. */
164:
165: #define C_SWITCH_ASM -q nodirect_code
166:
167: /* Encore machines with APC processor boards align sections on 4M
168: boundaries, so it is not easy to remap the start of the text segment
169: in the unexec() routine. For them you need the following two lines.
170: For DPC processors you can enable these or not, as you wish, but
171: you will get better performance without them. */
172:
173: /* #define NO_REMAP
174: #define TEXT_START 0
175: */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.