Annotation of 42BSD/bin/csh/sh.local.h, revision 1.1.1.1

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

unix.superglobalmegacorp.com

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