Annotation of 43BSD/contrib/jove/tune.h, revision 1.1.1.1

1.1       root        1: /*************************************************************************
                      2:  * This program is copyright (C) 1985, 1986 by Jonathan Payne.  It is    *
                      3:  * provided to you without charge for use only on a licensed Unix        *
                      4:  * system.  You may copy JOVE provided that this notice is included with *
                      5:  * the copy.  You may not sell copies of this program or versions        *
                      6:  * modified for use on microcomputer systems, unless the copies are      *
                      7:  * included with a Unix system distribution and the source is provided.  *
                      8:  *************************************************************************/
                      9: 
                     10: #define TUNED          /* don't touch this */
                     11: 
                     12: /*#define LSRHS                /* if this is Lincoln-Sudbury Regional High School */
                     13: 
                     14: #define LOAD_AV                /* Use the load average for various commands.
                     15:                           Do not define this if you lack a load average
                     16:                           system call and kmem is read protected. */
                     17: 
                     18: /* #define SYSV                /* for (System III/System V) UNIX systems */
                     19: 
                     20: #define BACKUPFILES    /* enable the backup files code */
                     21: 
                     22: #define BIFF           /* if you have biff (or the equivalent) */
                     23: 
                     24: #define JOB_CONTROL    /* if you have job stopping */
                     25: 
                     26: #ifdef JOB_CONTROL
                     27: #      define MENLO_JCL
                     28: #      define IPROCS   /* Interactive processes.  PROCS only works
                     29:                           with JOB_CONTROL. */
                     30: #endif
                     31: 
                     32: #define F_COMPLETION   /* filename completion */
                     33: 
                     34: #define CHDIR          /* change directory command and absolute pathnames */
                     35: 
                     36: /*#define      KILL0   /* kill(pid, 0) returns 0 if proc exists
                     37:                           Used by recover to test if jove is
                     38:                           still running. */
                     39: 
                     40: #define SPELL          /* spell words and buffer commands */
                     41: 
                     42: #define ABBREV         /* word abbreviation mode */
                     43: 
                     44: #define LISP           /* include the code for Lisp Mode */
                     45: 
                     46: #define ID_CHAR                /* include code to IDchar */
                     47: 
                     48: #define WIRED_TERMS    /* include code for wired terminals */
                     49: 
                     50: #define ANSICODES      /* Include extra commands that process
                     51:                           ANSI codes sequences.  Includes simple
                     52:                           mouse support pointing. */
                     53: 
                     54: #define CMT_FMT                /* include the comment formatting routines */
                     55: 
                     56: #if !sun
                     57: #   define MY_MALLOC   /* use more memory efficient malloc */
                     58: #endif
                     59: 
                     60: #define BSD4_2         /* Berkeley 4.2 BSD */
                     61: 
                     62: #define BSD4_3         /* Berkeley 4.3 BSD */
                     63: 
                     64: #ifdef BSD4_3
                     65: #      ifndef BSD4_2
                     66: #              define BSD4_2   /* 4.3 is 4.2 only different. */
                     67: #      endif
                     68: #endif
                     69: 
                     70: #ifdef BSD4_3
                     71: #      define RESHAPING        /* enable windows to handle reshaping */
                     72: #endif
                     73: 
                     74: #ifdef BSD4_2                  /* byte_copy(from, to, len) */
                     75: #      define  byte_copy bcopy /* use fast assembler version */
                     76: #endif
                     77: 
                     78: #if vax || sel || sun || pyr || mc68000 || tahoe
                     79: #      define VMUNIX           /* Virtual Memory UNIX */
                     80: #endif
                     81: 
                     82: #ifndef VMUNIX
                     83:        typedef short   disk_line;
                     84: #      define BUFSIZ   512             /* or 1024 */
                     85: #else
                     86:        typedef int     disk_line;
                     87: #      define BUFSIZ   1024
                     88: #endif
                     89: 
                     90: #define DFLT_MODE      0666    /* file will be created with this mode */
                     91: 
                     92: #ifdef VMUNIX
                     93: #      define NBUF             64      /* number of disk buffers */
                     94: #else
                     95: #      define NBUF             3       /* only 3 because there is a bug */
                     96: #endif
                     97: 
                     98: #ifdef IPROCS
                     99: #      ifndef NOEXTERNS
                    100:                extern char *PORTSRV;
                    101: #      endif
                    102: #      ifdef BSD4_2
                    103: #              define INPUT_SIG        SIGIO
                    104: #      else
                    105: #              define PIPEPROCS                /* do it with pipes */
                    106: #              define INPUT_SIG        SIGTINT
                    107: #      endif
                    108: #endif
                    109: 
                    110: #ifdef SYSV
                    111: #      define index    strchr
                    112: #      define rindex   strrchr
                    113: #endif
                    114: 
                    115: /* These are here since they define things in tune.c.  If you add things to
                    116:    tune.c, add them here too, if necessary. */
                    117: 
                    118: #ifndef NOEXTERNS
                    119: extern char
                    120:        *TMP_DIR,
                    121:        *REC_DIR,
                    122:        *TMPFILE,
                    123:        *RECFILE,
                    124:        *REC_BASE,
                    125:        *RECOVER,
                    126:        *CMD_DB,
                    127:        *JOVERC,
                    128:        Shell[],
                    129:        ShFlags[];
                    130: 
                    131: #endif NOEXTERNS

unix.superglobalmegacorp.com

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