|
|
1.1 root 1: /*
2: * Copyright (c) 1980 Regents of the University of California.
3: * All rights reserved. The Berkeley Software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)sh.local.h 5.4 (Berkeley) 2/15/89
7: */
8:
9: /*
10: * This file defines certain local parameters
11: * A symbol should be defined in Makefile for local conditional
12: * compilation, e.g. IIASA or ERNIE, to be tested here and elsewhere.
13: */
14:
15: /*
16: * Fundamental definitions which may vary from system to system.
17: *
18: * BUFSIZ The i/o buffering size; also limits word size
19: * MAILINTVL How often to mailcheck; more often is more expensive
20: */
21:
22: #undef BUFSIZ
23: #define BUFSIZ 1024 /* default buffer size */
24: #define FORKSLEEP 10 /* delay loop on non-interactive fork failure */
25: #define MAILINTVL 600 /* 10 minutes */
26:
27: /*
28: * The shell moves std in/out/diag and the old std input away from units
29: * 0, 1, and 2 so that it is easy to set up these standards for invoked
30: * commands.
31: */
32: #define FSHTTY 15 /* /dev/tty when manip pgrps */
33: #define FSHIN 16 /* Preferred desc for shell input */
34: #define FSHOUT 17 /* ... shell output */
35: #define FSHDIAG 18 /* ... shell diagnostics */
36: #define FOLDSTD 19 /* ... old std input */
37:
38: #if defined(vax) || defined(tahoe)
39: #define copy(to, from, size) bcopy(from, to, size)
40: #endif
41:
42: #ifdef PROF
43: #define exit(n) done(n)
44: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.