summaryrefslogtreecommitdiff
path: root/usr/src/cmd/csh/sh.local.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/csh/sh.local.h')
-rw-r--r--usr/src/cmd/csh/sh.local.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/usr/src/cmd/csh/sh.local.h b/usr/src/cmd/csh/sh.local.h
new file mode 100644
index 0000000000..78bc22bb6b
--- /dev/null
+++ b/usr/src/cmd/csh/sh.local.h
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
+
+/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
+/* All Rights Reserved */
+
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley Software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#pragma ident "%Z%%M% %I% %E% SMI"
+
+/*
+ * This file defines certain local parameters
+ * A symbol should be defined in Makefile for local conditional
+ * compilation, e.g. IIASA or ERNIE, to be tested here and elsewhere.
+ */
+
+/*
+ * Fundamental definitions which may vary from system to system.
+ *
+ * BUFSIZ The i/o buffering size; also limits word size
+ * SHELLPATH Where the shell will live; initalizes $shell
+ * MAILINTVL How often to mailcheck; more often is more expensive
+ * OTHERSH Shell for scripts which don't start with #
+ */
+
+#define BUFSIZ 1024 /* default buffer size */
+#define PATHSIZ 16384 /* allow longer PATH environment variables */
+#define SHELLPATH "/bin/csh"
+#define OTHERSH "/bin/sh"
+#define FORKSLEEP 10 /* delay loop on non-interactive fork failure */
+#define MAILINTVL 600 /* 10 minutes */
+
+/*
+ * The shell moves std in/out/diag and the old std input away from units
+ * 0, 1, and 2 so that it is easy to set up these standards for invoked
+ * commands.
+ */
+#define FSHTTY 15 /* /dev/tty when manip pgrps */
+#define FSHIN 16 /* Preferred desc for shell input */
+#define FSHOUT 17 /* ... shell output */
+#define FSHDIAG 18 /* ... shell diagnostics */
+#define FOLDSTD 19 /* ... old std input */
+
+#ifdef IIASA
+#undef OTHERSH
+#endif
+
+#define copy(to, from, size) bcopy(from, to, size)
+
+#ifdef PROF
+#define exit(n) done(n)
+#endif