Annotation of 41BSD/cmd/csh/sh.local.h, revision 1.1

1.1     ! root        1: /* sh.local.h 4.1 10/9/80 */
        !             2: 
        !             3: /*
        !             4:  * This file defines certain local parameters
        !             5:  * A symbol should be defined in Makefile for local conditional
        !             6:  * compilation, e.g. IIASA or ERNIE, to be tested here and elsewhere.
        !             7:  */
        !             8: 
        !             9: /*
        !            10:  * Fundamental definitions which may vary from system to system.
        !            11:  *
        !            12:  *     BUFSIZ          The i/o buffering size; also limits word size
        !            13:  *     SHELLPATH       Where the shell will live; initalizes $shell
        !            14:  *     MAILINTVL       How often to mailcheck; more often is more expensive
        !            15:  *     HZ              Cycle of ac power
        !            16:  *     OTHERSH         Shell for scripts which don't start with #
        !            17:  */
        !            18: 
        !            19: #define        BUFSIZ  512             /* default buffer size */
        !            20: #define HZ     60              /* for division into seconds */
        !            21: #define        SHELLPATH       "/bin/csh"
        !            22: #define        OTHERSH         "/bin/sh"
        !            23: #define FORKSLEEP      10      /* delay loop on non-interactive fork failure */
        !            24: #define        MAILINTVL       600     /* 10 minutes */
        !            25: 
        !            26: /*
        !            27:  * NCARGS and NOFILE are from <sys/param.h> which we choose not
        !            28:  * to wholly include
        !            29:  */
        !            30: #define        NCARGS  10240           /* Max. chars in an argument list */
        !            31: 
        !            32: /*
        !            33:  * The shell moves std in/out/diag and the old std input away from units
        !            34:  * 0, 1, and 2 so that it is easy to set up these standards for invoked
        !            35:  * commands.  If possible they should go into descriptors closed by exec.
        !            36:  */
        !            37: #define        NOFILE  20              /* Max number of open files */
        !            38: #define        FSHTTY  15              /* /dev/tty when manip pgrps */
        !            39: #define        FSHIN   16              /* Preferred desc for shell input */
        !            40: #define        FSHOUT  17              /* ... shell output */
        !            41: #define        FSHDIAG 18              /* ... shell diagnostics */
        !            42: #define        FOLDSTD 19              /* ... old std input */
        !            43: 
        !            44: #define        V7
        !            45: 
        !            46: #ifdef IIASA
        !            47: #undef HZ
        !            48: #define        HZ      60
        !            49: #undef OTHERSH
        !            50: #endif
        !            51: 
        !            52: #ifdef VMUNIX
        !            53: #include <pagsiz.h>
        !            54: #undef BUFSIZ
        !            55: #define        BUFSIZ  BSIZE
        !            56: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.