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

Defined typedef's

Defined macros

ANSICODES defined in line 50; used 5 times
BACKUPFILES defined in line 20; used 6 times
BSD4_3 defined in line 62; used 2 times
BUFSIZ defined in line 87; used 14 times
DFLT_MODE defined in line 90; used 1 times
INPUT_SIG defined in line 106; used 4 times
LOAD_AV defined in line 14; used 3 times
MENLO_JCL defined in line 27; used 2 times
MY_MALLOC defined in line 57; used 1 times
NBUF defined in line 95; used 2 times
RESHAPING defined in line 71; used 1 times
SPELL defined in line 40; used 5 times
TUNED defined in line 10; used 1 times
WIRED_TERMS defined in line 48; used 3 times

Usage of this include

Last modified: 1986-04-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1284
Valid CSS Valid XHTML 1.0 Strict