pci: don't do sanity check for missing pci bus, the check can misfire.
[minix.git] / commands / elle / eesite.h
blob79169949f3dc4a2277e3f1d1858fea23aa35eee8
1 /* ELLE - Copyright 1984, 1987 by Ken Harrenstien, SRI International
2 * This software is quasi-public; it may be used freely with
3 * like software, but may NOT be sold or made part of licensed
4 * products without permission of the author.
5 */
6 /*
7 * EESITE.H Site-dependent switches & definitions
8 */
10 /* CONDITIONAL COMPILATION SWITCHES */
12 #define V6 0 /* Running on V6 system (else V7 assumed) */
14 #define APOLLO 0 /* Running on an Apollo system */
15 #define BBN 0 /* Running on BBN system (tty stuff) */
16 #define BSD4_2 0 /* Running on 4.2BSD system */
17 #define COHERENT 0 /* Running on Coherent IBM-PC system */
18 #define DNTTY 0 /* Running on SRI V6 Deafnet system (tty stuff) */
19 #define HPUX 0 /* Running on Hewlett-Packard System V + */
20 #define MINIX 1 /* Running on MINIX (IBM-PC) system */
21 #define ONYX 0 /* Running on ONYX Z8000 system */
22 #define PCIX 0 /* Running on PC/IX (IBM-PC) system */
23 #define SUN 0 /* Running on SUN workstation system */
24 #define SYSV 0 /* Running on Unix System V (or perhaps Sys III) */
25 #define TOPS20 0 /* Running on TOPS-20 KCC C implementation */
26 #define UCB 0 /* Running on 2.8, 2.9, or 4.x BSD sys (tty stuff) */
27 #define VENIX86 0 /* Running on Venix86 (IBM-PC) system */
29 #define ICONOGRAPHICS 0 /* Using Iconographics configuration version */
30 #define IMAGEN 0 /* Using Imagen configuration version */
32 /* Resolve system dependencies */
33 #if SUN
34 #undef BSD4_2
35 #define BSD4_2 1 /* SUN uses 4.2BSD */
36 #endif
38 #if BSD4_2
39 #undef UCB
40 #define UCB 1 /* 4.2 is special case of general UCB stuff */
41 #endif /*BSD4_2*/
43 #if (PCIX || HPUX)
44 #undef SYSV
45 #define SYSV 1 /* PC/IX & HP-UX are based on System III & V (resp) */
46 #endif
48 /* Set system or site dependent stuff here */
50 #if V6
51 #define void int /* May need this for other systems too */
52 #endif
54 /* Changes to parameters (elle.h) or variable defaults (e_vinit.c) */
56 #if COHERENT
57 #define EVFNO2 0 /* "Old" filename postfix - use no old file! */
58 #define EVFNN2 "+" /* "New" filename postfix */
59 #define TX_COHIBM 1 /* Ensure Coherent IBM-PC console support included */
60 #endif /*COHERENT*/
62 #if DNTTY
63 #define EVLLEN 60 /* Short line length for TDDs */
64 #endif /*DNTTY*/
66 #if HPUX
67 #define EVFNO2 "~" /* Same as CCA Emacs. Sorts last in listing. */
68 #endif /*HPUX*/
70 #if MINIX
71 #define EVFNO2 ".bak" /* "Old" filename postfix */
72 #define EVMARKSHOW "Mark set"
73 #define EVCCOL (33) /* Use this as Comment Column */
74 #define EVMVPCT 1 /* 1% - Try to use minimal window repositioning */
75 #define EVMODWSO 1 /* Use mode window standout if can */
76 #define STRERROR 1 /* Say that implementation provides strerror() */
78 #include <sys/types.h>
79 #include <string.h>
80 #include <unistd.h>
81 #include <stdio.h>
82 #endif /*MINIX*/
84 #if ONYX
85 #define STKMEM (4*512) /* ONYX Z8000 seems to have less room avail */
86 #endif /*ONYX*/
88 #if BSD4_2
89 #define FNAMELEN 255 /* Max size of last filename component */
90 #define FNAMSIZ 400 /* Max size of complete filename */
91 #endif /*BSD4_2*/
93 #if TOPS20
94 #define EVHELPFILE "elle:help.dat" /* T20 ELLE help file */
95 #define EVPROFBINFILE "ellep.b1" /* T20 binary profile file */
96 #define EVPROFTEXTFILE "ellep.e" /* T20 ASCII profile file */
97 #define EVFNO2 0 /* No old filename postfix (T20 has generations) */
98 #define EVFNN2 0 /* No new filename postfix (T20 has generations) */
99 #define FNAMELEN (40*3) /* Max size of non-directory filename component */
100 #define FNAMSIZ (40*5) /* Max size of complete filename */
101 #define STRERROR 1 /* Say that implementation provides strerror() */
102 #endif /*TOPS20*/
104 #if VENIX86
105 #define TIBFSIZ 1 /* Venix86 block reads in raw mode */
106 #endif /*VENIX86*/
108 /* Configuration settings */
110 #if ICONOGRAPHICS
111 #define EVFNO2 "@" /* "Old" filename postfix */
112 #define EVMARKSHOW "Set."
113 #define PARABLOCK 1 /* Values meaningful only for ICONOGRAPHICS */
114 #define PARALINE 2
115 #define TXC_VISBEL 1 /* Use visible bell if possible */
116 #endif /*ICONOGRAPHICS*/
118 #if IMAGEN
119 #define EVFNO2 ".BAK" /* "Old" filename postfix */
120 #define EVMARKSHOW "Mark set"
121 #define TOBFSIZ (10*80) /* Size of TTY output buffer */
122 #define ECHOLINES 2 /* Use 2 echo-area lines, not 1 */
123 #define MAXARGFILES 10 /* Several startup filename args */
124 #endif /*IMAGEN*/
126 /* Now set any defaults for things not already defined */
128 /* TERMINAL SUPPORT SWITCHES */
129 /* Only those terminals which have a switch defined here */
130 /* will be included in ELLE's "hardwired" support. */
131 /* Switch name: Compiles support for: */
132 #ifndef TX_TERMCAP
133 #define TX_TERMCAP 1 /* * - most TERMCAP-defined terminals */
134 #endif
135 #ifndef TX_H19
136 #define TX_H19 1 /* "H19" - Heath/Zenith-19 */
137 #endif
138 #ifndef TX_DM2500
139 #define TX_DM2500 1 /* "DM2500","DM3025" - Datamedia 2500 */
140 #endif
141 #ifndef TX_COHIBM
142 #define TX_COHIBM 0 /* "COHIBM" - Coherent IBM-PC console */
143 #endif
144 #ifndef TX_TVI925
145 #define TX_TVI925 0 /* "TVI925" - TeleVideo 925 */
146 #endif
147 #ifndef TX_OM8025
148 #define TX_OM8025 0 /* "OM8025" - Omron 8025AG */
149 #endif
151 #ifndef TXC_VISBEL /* Non-zero if want to use visible bell */
152 #define TXC_VISBEL 0
153 #endif
155 /* Default terminal type string, used if ELLE cannot get type either
156 ** from $TERM or from startup args.
158 #ifndef TXS_DEFAULT
159 #define TXS_DEFAULT "H19" /* Default terminal type string */
160 #endif
162 /* Combination parameter/switch definitions */
164 /* STKMEM - System-dependent stack allocation crock, defines amount of
165 * stack memory to grab for general-purpose use. This is mainly
166 * useful for PDP-11s or machines with similarly brain-damaged
167 * address space hardware. A PDP-11 memory segment is 8K bytes,
168 * or 16 512-byte blocks, and the stack segment quarantines all of
169 * this space even though the actual stack may only use a miniscule
170 * portion of it.
173 /* Use this if compiling for a PDP11 system, otherwise leave undefined.. */
174 #if (V6 || 0)
175 #define STKMEM (8*512) /* Use half a PDP11 segment */
176 #endif
178 /* These defaults are in eesite.h so ELLEC can get at them too. */
179 #ifndef EVPROFBINFILE /* Location of binary user profile, relative to HOME */
180 #define EVPROFBINFILE ".ellepro.b1"
181 #endif
182 #ifndef EVPROFTEXTFILE /* Location of ASCII user profile (used by ELLEC) */
183 #define EVPROFTEXTFILE ".ellepro.e"
184 #endif