Mercurial > emacs
annotate src/m/delta.h @ 4106:bfc21ea9a00f
(read_char_menu_prompt): If the user rejects a menu,
return t. This makes read_char also return t.
(read_key_sequence): If read_char returned t, return -1.
(Fread_key_sequence): If read_key_sequence returned -1, quit.
(command_loop_1): If read_key_sequence returned -1, loop around.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 15 Jul 1993 06:56:17 +0000 |
parents | a4a33eb8f6e9 |
children | feee1e8ab9ad |
rev | line source |
---|---|
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
1 /* machine description file for the Motorola delta running System V.3.X |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
2 tested on mvme147. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
3 Copyright (C) 1986, 1993 Free Software Foundation, Inc. |
456 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
7 GNU Emacs is free software; you can redistribute it and/or modify |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
8 it under the terms of the GNU General Public License as published by |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
9 the Free Software Foundation; either version 2, or (at your option) |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
10 any later version. |
456 | 11 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
12 GNU Emacs is distributed in the hope that it will be useful, |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
15 GNU General Public License for more details. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
16 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
17 You should have received a copy of the GNU General Public License |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
18 along with GNU Emacs; see the file COPYING. If not, write to |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
456 | 20 |
21 | |
22 /* The following line tells the configuration script what sort of | |
23 operating system this machine is likely to run. | |
24 USUAL-OPSYS="usg5-3" */ | |
25 | |
26 /* The following three symbols give information on | |
27 the size of various data types. */ | |
28 | |
29 #define SHORTBITS 16 /* Number of bits in a short */ | |
30 | |
31 #define INTBITS 32 /* Number of bits in an int */ | |
32 | |
33 #define LONGBITS 32 /* Number of bits in a long */ | |
34 | |
35 /* Define BIG_ENDIAN iff lowest-numbered byte in a word | |
36 is the most significant byte. */ | |
37 | |
38 #define BIG_ENDIAN | |
39 | |
40 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | |
41 * group of arguments and treat it as an array of the arguments. */ | |
42 | |
43 /* #define NO_ARG_ARRAY */ | |
44 | |
45 /* Define WORD_MACHINE if addresses and such have | |
46 * to be corrected before they can be used as byte counts. */ | |
47 | |
48 /* #define WORD_MACHINE */ | |
49 | |
50 /* Now define a symbol for the cpu type, if your compiler | |
51 does not define it automatically: | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
52 Ones defined so far include vax, m68000, ns16000, pyramid, |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
53 orion, tahoe, APOLLO and many others */ |
456 | 54 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
55 #define m68000 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
56 #define MOTOROLA_DELTA |
456 | 57 |
58 /* Use type int rather than a union, to represent Lisp_Object */ | |
59 /* This is desirable for most machines. */ | |
60 | |
61 #define NO_UNION_TYPE | |
62 #define SWITCH_ENUM_BUG | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
63 |
456 | 64 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
65 the 24-bit bit field into an int. In other words, if bit fields | |
66 are always unsigned. | |
67 | |
68 If you use NO_UNION_TYPE, this flag does not matter. */ | |
69 | |
70 #define EXPLICIT_SIGN_EXTEND | |
71 | |
72 /* Data type of load average, as read out of kmem. */ | |
73 | |
74 /* #define LOAD_AVE_TYPE long */ | |
75 | |
76 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
77 | |
78 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | |
79 | |
80 /* Define CANNOT_DUMP on machines where unexec does not work. | |
81 Then the function dump-emacs will not be defined | |
82 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
83 | |
84 /* #define CANNOT_DUMP */ | |
85 | |
86 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
87 pure and impure space as loaded can vary, and even their | |
88 relative order cannot be relied on. | |
89 | |
90 Otherwise Emacs assumes that data space precedes text space, | |
91 numerically. */ | |
92 | |
93 /* #define VIRT_ADDR_VARIES */ | |
94 | |
95 /* Define C_ALLOCA if this machine does not support a true alloca | |
96 and the one written in C should be used instead. | |
97 Define HAVE_ALLOCA to say that the system provides a properly | |
98 working alloca function and it should be used. | |
99 Define neither one if an assembler-language alloca | |
100 in the file alloca.s should be used. */ | |
101 | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
102 /* #define C_ALLOCA */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
103 /* #define HAVE_ALLOCA */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
104 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
105 /* Define NO_REMAP if memory segmentation makes it not work well |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
106 to change the boundary between the text section and data section |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
107 when Emacs is dumped. If you define this, the preloaded Lisp |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
108 code will not be sharable; but that's better than failing completely. */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
109 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
110 #define NO_REMAP |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
111 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
112 /* Some really obscure 4.2-based systems (like Sequent DYNIX) |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
113 * do not support asynchronous I/O (using SIGIO) on sockets, |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
114 * even though it works fine on tty's. If you have one of |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
115 * these systems, define the following, and then use it in |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
116 * config.h (or elsewhere) to decide when (not) to use SIGIO. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
117 * |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
118 * You'd think this would go in an operating-system description file, |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
119 * but since it only occurs on some, but not all, BSD systems, the |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
120 * reasonable place to select for it is in the machine description |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
121 * file. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
122 */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
123 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
124 /* #define NO_SOCK_SIGIO */ |
456 | 125 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
126 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
127 /* Define these if you want to edit files up to 32Mbytes. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
128 Leaving them undefined (files up to 8 Mbytes) should be more efficient. */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
129 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
130 /* #define VALBITS 26 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
131 #define GCTYPEBITS 5 */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
132 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
133 /* Machine specific stuff */ |
456 | 134 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
135 #define BSTRING |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
136 #define HAVE_PTYS |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
137 #define SYSV_PTYS |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
138 #define HAVE_SELECT |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
139 #define HAVE_SOCKETS /***** only if NSE has been installed *****/ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
140 #define HAVE_UNISTD_H |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
141 #define HAVE_TIMEVAL |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
142 #define SIGNALS_VIA_CHARACTERS |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
143 #define memmove memcpy /* memmove not provided until R3V7 */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
144 #undef KERNEL_FILE |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
145 #define KERNEL_FILE "/sysv68" |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
146 #undef LDAV_SYMBOL |
456 | 147 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
148 /* The standard C library is -lc881, not -lc. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
149 -lbsd brings sigblock and sigsetmask. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
150 DO NOT USE -lPW. That version of alloca is broken, at last until version |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
151 R3V7. -riku@field.fi -pot@cnuce.cnr.it. */ |
456 | 152 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
153 #define LIB_STANDARD -lc881 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
154 #define LIB_MATH -lm881 |
456 | 155 #define LIBS_TERMCAP -lcurses |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
156 #define LIBS_SYSTEM -lbsd |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
157 #undef sigsetmask |
456 | 158 |
159 #ifdef HAVE_X_WINDOWS | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
160 /* not sure if this makes sense any more */ |
456 | 161 /* debug switches enabled because of some difficulties w/X11 */ |
162 # define C_DEBUG_SWITCH -g | |
163 # define OBJECTS_MACHINE -lg | |
164 # define C_OPTIMIZE_SWITCH | |
165 # define CANNOT_DUMP | |
166 /*# define XDEBUG*/ | |
167 # define X11 | |
168 /* X library is in 'nonstandard' location. */ | |
169 # define LD_SWITCH_MACHINE -L/usr/lib/X11/ | |
170 #endif /* HAVE_X_WINDOWS */ | |
171 | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
172 #ifdef __GNUC__ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
173 /* Use builtin one. Also be sure that no other ones are tried out. */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
174 # define alloca __builtin_alloca |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
175 # define HAVE_ALLOCA |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
176 #else |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
177 /* Not __GNUC__, use the one in alloca.s. */ |
456 | 178 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
179 /* Try to guess if we are using the Green Hills Compiler */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
180 # if defined mc68000 && defined MC68000 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
181 /* Required only for use with Green Hills compiler: |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
182 -ga Because alloca relies on stack frames. This option forces |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
183 the Green Hills compiler to create stack frames even for |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
184 functions with few local variables. */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
185 # define C_SWITCH_MACHINE -ga |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
186 # endif |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
187 #endif /* __GNUC__ */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
188 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
189 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
190 /* emacs19 beta release stuff */ |
456 | 191 |
192 /* crt0.c should use the vax-bsd style of entry, with no dummy args. */ | |
193 | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
194 /* emacs's magic number isn't temacs's; |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
195 temacs is writable text (the default!). */ |
456 | 196 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
197 /* Don't use interrupt I/O */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
198 #undef INTERRUPT_INPUT |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
199 #undef SIGIO |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
200 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
201 #define CLASH_DETECTION |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
202 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
203 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
204 |