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.
7 * EESITE.H Site-dependent switches & definitions
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 */
35 #define BSD4_2 1 /* SUN uses 4.2BSD */
40 #define UCB 1 /* 4.2 is special case of general UCB stuff */
45 #define SYSV 1 /* PC/IX & HP-UX are based on System III & V (resp) */
48 /* Set system or site dependent stuff here */
51 #define void int /* May need this for other systems too */
54 /* Changes to parameters (elle.h) or variable defaults (e_vinit.c) */
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 */
63 #define EVLLEN 60 /* Short line length for TDDs */
67 #define EVFNO2 "~" /* Same as CCA Emacs. Sorts last in listing. */
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>
85 #define STKMEM (4*512) /* ONYX Z8000 seems to have less room avail */
89 #define FNAMELEN 255 /* Max size of last filename component */
90 #define FNAMSIZ 400 /* Max size of complete filename */
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() */
105 #define TIBFSIZ 1 /* Venix86 block reads in raw mode */
108 /* Configuration settings */
111 #define EVFNO2 "@" /* "Old" filename postfix */
112 #define EVMARKSHOW "Set."
113 #define PARABLOCK 1 /* Values meaningful only for ICONOGRAPHICS */
115 #define TXC_VISBEL 1 /* Use visible bell if possible */
116 #endif /*ICONOGRAPHICS*/
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 */
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: */
133 #define TX_TERMCAP 1 /* * - most TERMCAP-defined terminals */
136 #define TX_H19 1 /* "H19" - Heath/Zenith-19 */
139 #define TX_DM2500 1 /* "DM2500","DM3025" - Datamedia 2500 */
142 #define TX_COHIBM 0 /* "COHIBM" - Coherent IBM-PC console */
145 #define TX_TVI925 0 /* "TVI925" - TeleVideo 925 */
148 #define TX_OM8025 0 /* "OM8025" - Omron 8025AG */
151 #ifndef TXC_VISBEL /* Non-zero if want to use visible bell */
155 /* Default terminal type string, used if ELLE cannot get type either
156 ** from $TERM or from startup args.
159 #define TXS_DEFAULT "H19" /* Default terminal type string */
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
173 /* Use this if compiling for a PDP11 system, otherwise leave undefined.. */
175 #define STKMEM (8*512) /* Use half a PDP11 segment */
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"
182 #ifndef EVPROFTEXTFILE /* Location of ASCII user profile (used by ELLEC) */
183 #define EVPROFTEXTFILE ".ellepro.e"