annotate src/m/tekxd88.h @ 9407:4dcc0221b449

* indent.c: #include "region-cache.h". (character_width, disptab_matches_widthtab, recompute_width_table, width_run_cache_on_off): New functions. (compute_motion): Call width_run_cache_on_off. If this buffer's width run cache is enabled, consult it to see if we need to traverse a region character-by-character; store information in the cache after doing so. Call find_before_next_newline instead of writing out an equivalent loop explicitly, to take advantage of the newline cache. Doc fixes.
author Jim Blandy <jimb@redhat.com>
date Sat, 08 Oct 1994 22:14:04 +0000
parents 23f72b18b420
children 1d4654a97585
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3576
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
1 /* Configuration file for the Tektronix XD88 running UTekV 3.2e,
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
2 contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93.
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
3 You probably need to use gnu make (version 3.63 or higher.)
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
4 Copyright (C) 1993 Free Software Foundation, Inc.
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
5
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
6 This file is part of GNU Emacs.
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
7
3700
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
8 GNU Emacs is free software; you can redistribute it and/or modify
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
9 it under the terms of the GNU General Public License as published by
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
10 the Free Software Foundation; either version 2, or (at your option)
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
11 any later version.
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
12
3700
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
13 GNU Emacs is distributed in the hope that it will be useful,
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
16 GNU General Public License for more details.
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
17
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
18 You should have received a copy of the GNU General Public License
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
19 along with GNU Emacs; see the file COPYING. If not, write to
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
20 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
d76398601a0b Update GPL references - version 2
Jim Blandy <jimb@redhat.com>
parents: 3680
diff changeset
21
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
22
3576
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
23 /* The following symbols give information on the size of various data types. */
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
24 #define SHORTBITS 16 /* Number of bits in a short */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
25 #define INTBITS 32 /* Number of bits in an int */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
26 #define LONGBITS 32 /* Number of bits in a long */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
27
9095
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
28 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
29 is the most significant byte. */
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
30
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
31 #define WORDS_BIG_ENDIAN
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
32
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
33 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
34 * group of arguments and treat it as an array of the arguments. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
35 #define NO_ARG_ARRAY
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
36
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
37 /* Define WORD_MACHINE if addresses and such have
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
38 * to be corrected before they can be used as byte counts. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
39 /* #define WORD_MACHINE */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
40
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
41 /* Now define a symbol for the cpu type, if your compiler
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
42 does not define it automatically:
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
43 Ones defined so far include vax, m68000, ns16000, pyramid,
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
44 orion, tahoe, APOLLO and many others */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
45 #ifndef m88000 /* Some 88k C compilers already define this */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
46 #define m88000
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
47 #endif
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
48
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
49 /* Define how to take a char and sign-extend into an int.
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
50 On machines where char is signed, this is a no-op. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
51 #define SIGN_EXTEND_CHAR(c) (c)
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
52
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
53 /* Use type int rather than a union, to represent Lisp_Object */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
54 /* This is desirable for most machines. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
55 #define NO_UNION_TYPE
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
56
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
57 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
58 the 24-bit bit field into an int. In other words, if bit fields
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
59 are always unsigned.
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
60
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
61 If you use NO_UNION_TYPE, this flag does not matter. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
62 /* #define EXPLICIT_SIGN_EXTEND */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
63
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
64 /* Data type of load average, as read out of kmem. */
3576
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
65 /* #define LOAD_AVE_TYPE double */ /* No load average on XD88. */
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
66 /* Convert that into an integer that is 100 for a load average of 1.0 */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
67 /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
68
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
69 /* Define CANNOT_DUMP on machines where unexec does not work.
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
70 Then the function dump-emacs will not be defined
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
71 and temacs will do (load "loadup") automatically unless told otherwise. */
3576
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
72 /*#define CANNOT_DUMP*/
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
73
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
74 /* Define VIRT_ADDR_VARIES if the virtual addresses of
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
75 pure and impure space as loaded can vary, and even their
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
76 relative order cannot be relied on.
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
77
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
78 Otherwise Emacs assumes that text space precedes data space,
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
79 numerically. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
80 /* #define VIRT_ADDR_VARIES */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
81
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
82 /* Define NO_REMAP if memory segmentation makes it not work well
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
83 to change the boundary between the text section and data section
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
84 when Emacs is dumped. If you define this, the preloaded Lisp
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
85 code will not be sharable; but that's better than failing completely. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
86 #define NO_REMAP
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
87
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
88 /* Define C_ALLOCA if this machine does not support a true alloca
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
89 and the one written in C should be used instead.
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
90 Define HAVE_ALLOCA to say that the system provides a properly
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
91 working alloca function and it should be used.
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
92 Define neither one if an assembler-language alloca
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
93 in the file alloca.s should be used. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
94 #ifdef __GNUC__
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
95 # define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
96 # define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
97 # undef C_ALLOCA
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
98 # define C_OPTIMIZE_SWITCH -O2
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
99 #else /* not __GNUC__ */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
100 # undef HAVE_ALLOCA
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
101 # define C_ALLOCA /* Use the alloca() supplied in alloca.c. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
102 # define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
103 # define C_OPTIMIZE_SWITCH -O
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
104 #endif /* __GNUC__ */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
105
3576
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
106 #undef NOMULTIPLEJOBS /* we have job control */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
107 #define HAVE_SOCKETS /* sockets are available */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
108 #define BROKEN_FIONREAD /* is this needed ? */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
109 #define BSTRING /* its in libc but not declared in any header file. */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
110 #undef sigsetmask /* XD88 has sigsetmask() */
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
111
4540
b404e1c17125 (LIB_X11_LIB, LIBX11_SYSTEM): Make #undefs unconditional.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
112 #undef LIB_X11_LIB /* Don't use shared libraries defined in usg5-3.h */
b404e1c17125 (LIB_X11_LIB, LIBX11_SYSTEM): Make #undefs unconditional.
Richard M. Stallman <rms@gnu.org>
parents: 3700
diff changeset
113 #undef LIBX11_SYSTEM
3576
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
114
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
115 #define HAVE_TERMIOS /* We have termios. */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
116 #undef HAVE_TERMIO /* Make sure termios ifdef code is used, not termio. */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
117 #define NO_TERMIO /* Don't include both termios.h and termio.h */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
118 #define HAVE_PTYS /* XD88 SysV has PTYs. */
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
119 #define SYSV_PTYS /* Requires <termios.h> */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
120
3576
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
121 #ifdef ghs /* Stands for "Green Hills Software", defined only in /bin/cc */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
122 /* -X18 means do not allocate programmer-defined local variables to a
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
123 register unless they are declared register. (Copied from perl-4.036
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
124 Green Hills C hints file. Might be needed for setjmp, I don't know.) */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
125 # define C_SWITCH_MACHINE -X18
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
126 /* We need /lib/default.ld so that /bin/ld can read its link directives. */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
127 # define LD_SWITCH_SYSTEM /lib/default.ld
3275
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
128 #endif /* ghs */
229c089f1d6f *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 3274
diff changeset
129
3576
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
130 /* We need this to get dumping to work */
55a7424583bb Rewrite by author; mostly rearrangements.
Richard M. Stallman <rms@gnu.org>
parents: 3530
diff changeset
131 #define KEEP_OLD_TEXT_SCNPTR