* reordered a little bit
[mascara-docs.git] / i86 / elks / elkscmd / rc / config.h
blob466fe29a5cd158d878b1d27441b002a041bde64e
1 /* Copy config.h-dist to config.h and edit config.h, don't edit this file */
3 /*
4 * Configuration parameters for rc. Suggested defaults are at the bottom
5 * of this file (you should probably look at those first to see if your
6 * system matches one of them; you can search for the beginning of the
7 * defaults section by looking for the string "#ifndef CUSTOM"). If you
8 * want to override the suggested defaults, define the macro CUSTOM.
9 #define CUSTOM
13 * (Note that certain default settings redefine this macro)
14 * DEFAULTPATH the default search path that rc uses when it is started
15 * without either a $PATH or $path environment variable. You must pick
16 * something sensible for your system if you don't like the path shown
17 * below.
19 #define DEFAULTPATH "/usr/bin", "/bin"
22 * Define the macro NODIRENT if your system has <sys/dir.h> but not
23 * <dirent.h>. (e.g., NeXT-OS and RISCos)
24 #define NODIRENT
28 * Define the macro SVSIGS if your system has System V signal semantics,
29 * i.e., if "slow" system calls are interrupted rather than resumed
30 * after returning from an interrupt handler. (If you are not sure what
31 * this means, see the man page for signal(2). In any case, it is probably
32 * safe to leave this macro undefined.)
33 #define SVSIGS
37 * Define the macro NOCMDARG if you do not have /dev/fd or fifos on your
38 * system. You may also want to define this if you have broken fifos.
39 #define NOCMDARG
43 * Define TMPDIR if you need to have rc create its fifos in a directory
44 * other than /tmp. For example, if you have a Sun with /tmp mounted
45 * as a ramdisk (type "tmpfs") then you cannot use fifos in /tmp (sigh).
46 #define TMPDIR "/var/tmp"
50 * Define the macro DEVFD if your system supports /dev/fd.
51 #define DEVFD
55 * Define the macro NOLIMITS if your system does not support Berkeley
56 * limits.
58 #define NOLIMITS
61 * Define the macro NOSIGCLD if your system uses SIGCLD in the System
62 * V way. (e.g., sgi's Irix)
64 #define NOSIGCLD
67 * Define the macro READLINE if you want rc to call GNU readline
68 * instead of read(2) on interactive shells.
69 #define READLINE
73 * Define the macro NOEXECVE if your Unix does not interpret #! in the
74 * kernel, and uncomment the EXECVE variable in the Makefile.
76 #define NOEXECVE
79 * If you want rc to default to some interpreter for files which don't
80 * have a legal #! on the first line, define the macro DEFAULTINTERP.
82 #define DEFAULTINTERP "/bin/sh"
85 * If your /bin/sh (or another program you care about) rejects environment
86 * variables with special characters in them (such as ':' or '-'), rc can
87 * put out ugly variable names using [_0-9a-zA-Z] that encode the real name;
88 * define PROTECT_ENV for this hack. (Known offenders: every sh I have tried;
89 * SunOS (silently discards), NeXT (aborts with error), SGI (aborts with
90 * error), Ultrix (sh seems to work, sh5 aborts with error))
91 #define PROTECT_ENV
95 * Define the macro NOECHO if you wish to omit rc's echo builtin from the
96 * compile.
97 #define NOECHO
101 * Define the NOJOB if you do *not* wish rc to perform backgrounding
102 * as if it were a job-control shell; that is, if you do *not* wish
103 * it to put a command spawned in the background into a new process
104 * group. Since most systems support job control and since there are
105 * many broken programs that do not behave correctly when backgrounded
106 * in a v7 non-job-control fashion, rc by default performs a job-
107 * control-like backgrounding.
108 #define NOJOB
111 /* Beginning of defaults section: */
113 #ifndef CUSTOM
116 * Suggested settings for Sun, NeXT and sgi (machines here at TAMU):
119 #ifdef NeXT /* Used on NextOS 2.1 */
120 #define NODIRENT
121 #define PROTECT_ENV
122 #define NOCMDARG
123 #endif
125 #ifdef sgi /* Used on Irix 3.3.[12] */
126 #define SVSIGS
127 #define NOSIGCLD
128 #define PROTECT_ENV
129 #undef DEFAULTPATH
130 #define DEFAULTPATH "/usr/bsd", "/usr/sbin", "/usr/bin", "/bin", "."
131 #endif
133 #ifdef sun /* Used on SunOS 4.1.1 */
134 #define PROTECT_ENV
135 #undef DEFAULTPATH
136 #define DEFAULTPATH "/usr/ucb", "/usr/bin", "."
137 #endif
140 * Suggested settings for HP300 running 4.3BSD-utah (DWS):
143 #if defined(hp300) && !defined(hpux)
144 #define NODIRENT
145 #define NOCMDARG
146 #define DEFAULTINTERP "/bin/sh"
147 #define PROTECT_ENV
148 #endif
151 * Suggested settings for Ultrix
154 #ifdef ultrix
155 #define PROTECT_ENV
156 #define DEFAULTINTERP "/bin/sh" /* so /bin/true can work */
157 #endif
160 * Suggested settings for RISCos 4.52
164 This doesn't work without interfering with other MIPS-based
165 systems' configuration. Please do it by hand.
168 #if defined(host_mips) && defined(MIPSEB) && defined(SYSTYPE_BSD43)
169 #define NODIRENT
170 #define PROTECT_ENV
171 #endif
174 * Suggested settings for AIX
177 #ifdef _AIX
178 #define PROTECT_ENV
179 #endif
182 * Suggested settings for OSF/1 1.0
185 #ifdef OSF1
186 #define PROTECT_ENV
187 #endif
190 * Suggested settings for Unicos XXX
193 #ifdef cray
194 #define PROTECT_ENV
195 #define NOLIMITS
196 #define word _word
197 #define DEFAULTINTERP "/bin/sh"
198 #endif
200 #endif /* CUSTOM */
202 #ifndef TMPDIR
203 #define TMPDIR "/tmp"
204 #endif