|
|
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.2 (Berkeley) 6/6/85 ! 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: * SHELLPATH Where the shell will live; initalizes $shell ! 20: * MAILINTVL How often to mailcheck; more often is more expensive ! 21: * OTHERSH Shell for scripts which don't start with # ! 22: */ ! 23: ! 24: #define BUFSIZ 1024 /* default buffer size */ ! 25: #define SHELLPATH "/bin/csh" ! 26: #define OTHERSH "/bin/sh" ! 27: #define FORKSLEEP 10 /* delay loop on non-interactive fork failure */ ! 28: #define MAILINTVL 600 /* 10 minutes */ ! 29: ! 30: /* ! 31: * The shell moves std in/out/diag and the old std input away from units ! 32: * 0, 1, and 2 so that it is easy to set up these standards for invoked ! 33: * commands. ! 34: */ ! 35: #define FSHTTY 15 /* /dev/tty when manip pgrps */ ! 36: #define FSHIN 16 /* Preferred desc for shell input */ ! 37: #define FSHOUT 17 /* ... shell output */ ! 38: #define FSHDIAG 18 /* ... shell diagnostics */ ! 39: #define FOLDSTD 19 /* ... old std input */ ! 40: ! 41: #ifdef IIASA ! 42: #undef OTHERSH ! 43: #endif ! 44: ! 45: #ifdef vax ! 46: #define copy(to, from, size) bcopy(from, to, size) ! 47: #endif ! 48: ! 49: #ifdef PROF ! 50: #define exit(n) done(n) ! 51: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.