8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / csh / sh.local.h
blob78bc22bb6ba3cee94f537556341b3822d6b46467
1 /*
2 * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
6 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
7 /* All Rights Reserved */
9 /*
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
42 * commands.
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 */
50 #ifdef IIASA
51 #undef OTHERSH
52 #endif
54 #define copy(to, from, size) bcopy(from, to, size)
56 #ifdef PROF
57 #define exit(n) done(n)
58 #endif