|
|
1.1 root 1: /* sh.local.h 4.1 10/9/80 */
2:
3: /*
4: * This file defines certain local parameters
5: * A symbol should be defined in Makefile for local conditional
6: * compilation, e.g. IIASA or ERNIE, to be tested here and elsewhere.
7: */
8:
9: /*
10: * Fundamental definitions which may vary from system to system.
11: *
12: * BUFSIZ The i/o buffering size; also limits word size
13: * SHELLPATH Where the shell will live; initalizes $shell
14: * MAILINTVL How often to mailcheck; more often is more expensive
15: * HZ Cycle of ac power
16: * OTHERSH Shell for scripts which don't start with #
17: */
18:
19: #define BUFSIZ 512 /* default buffer size */
20: #define HZ 60 /* for division into seconds */
21: #define SHELLPATH "/bin/csh"
22: #define OTHERSH "/bin/sh"
23: #define FORKSLEEP 10 /* delay loop on non-interactive fork failure */
24: #define MAILINTVL 600 /* 10 minutes */
25:
26: /*
27: * NCARGS and NOFILE are from <sys/param.h> which we choose not
28: * to wholly include
29: */
30: /* #define NCARGS 10240 /* Max. chars in an argument list */
31:
32:
33: /*
34: * The shell moves std in/out/diag and the old std input away from units
35: * 0, 1, and 2 so that it is easy to set up these standards for invoked
36: * commands. If possible they should go into descriptors closed by exec.
37: */
38: #define DEVTTY 3
39: #define FSHTTY 15 /* /dev/tty when manip pgrps */
40: #define FSHIN 16 /* Preferred desc for shell input */
41: #define FSHOUT 17 /* ... shell output */
42: #define FSHDIAG 18 /* ... shell diagnostics */
43: #define FOLDSTD 19 /* ... old std input */
44:
45: #define V7
46:
47: #ifdef IIASA
48: #undef HZ
49: #define HZ 60
50: #undef OTHERSH
51: #endif
52:
53: #ifdef VMUNIX
54: #include <pagsiz.h>
55: #undef BUFSIZ
56: #define BUFSIZ BSIZE(0)
57: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.