84 lines
2.6 KiB
C
84 lines
2.6 KiB
C
/* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */
|
|
/* Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T */
|
|
/* All Rights Reserved */
|
|
|
|
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF */
|
|
/* UNIX System Laboratories, Inc. */
|
|
/* The copyright notice above does not evidence any */
|
|
/* actual or intended publication of such source code. */
|
|
|
|
#ident "$Revision: 2.3 $"
|
|
|
|
/*******************************************************************
|
|
|
|
PROPRIETARY NOTICE (Combined)
|
|
|
|
This source code is unpublished proprietary information
|
|
constituting, or derived under license from AT&T's UNIX(r) System V.
|
|
In addition, portions of such source code were derived from Berkeley
|
|
4.3 BSD under license from the Regents of the University of
|
|
California.
|
|
|
|
|
|
|
|
Copyright Notice
|
|
|
|
Notice of copyright on this source code product does not indicate
|
|
publication.
|
|
|
|
(c) 1986,1987,1988,1989 Sun Microsystems, Inc
|
|
(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.
|
|
*/
|
|
|
|
/*
|
|
* 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.
|
|
*
|
|
* CSHBUFSIZ 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 #
|
|
* MAXVARLEN Maximal length of variable name, must be < CSHBUFSIZ
|
|
*/
|
|
|
|
#define CSHBUFSIZ 1024 /* default buffer size */
|
|
#define MAXVARLEN 128 /* default max variable length */
|
|
#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
|
|
|