2 * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
7 /* All Rights Reserved */
10 * Copyright (c) 1980 Regents of the University of California.
11 * All rights reserved. The Berkeley Software License Agreement
12 * specifies the terms and conditions for redistribution.
15 #pragma ident "%Z%%M% %I% %E% SMI"
18 * This file defines certain local parameters
19 * A symbol should be defined in Makefile for local conditional
20 * compilation, e.g. IIASA or ERNIE, to be tested here and elsewhere.
24 * Fundamental definitions which may vary from system to system.
26 * BUFSIZ The i/o buffering size; also limits word size
27 * SHELLPATH Where the shell will live; initalizes $shell
28 * MAILINTVL How often to mailcheck; more often is more expensive
29 * OTHERSH Shell for scripts which don't start with #
32 #define BUFSIZ 1024 /* default buffer size */
33 #define PATHSIZ 16384 /* allow longer PATH environment variables */
34 #define SHELLPATH "/bin/csh"
35 #define OTHERSH "/bin/sh"
36 #define FORKSLEEP 10 /* delay loop on non-interactive fork failure */
37 #define MAILINTVL 600 /* 10 minutes */
40 * The shell moves std in/out/diag and the old std input away from units
41 * 0, 1, and 2 so that it is easy to set up these standards for invoked
44 #define FSHTTY 15 /* /dev/tty when manip pgrps */
45 #define FSHIN 16 /* Preferred desc for shell input */
46 #define FSHOUT 17 /* ... shell output */
47 #define FSHDIAG 18 /* ... shell diagnostics */
48 #define FOLDSTD 19 /* ... old std input */
54 #define copy(to, from, size) bcopy(from, to, size)
57 #define exit(n) done(n)