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
ABBREV
defined in line
42; used 10 times
BIFF
defined in line
22; used 8 times
BSD4_2
defined in line
66; used 19 times
BUFSIZ
defined in line
87; used 14 times
CHDIR
defined in line
34; used 9 times
IPROCS
defined in line
28; used 33 times
- in line 98
- in /usr/src/new/jove/buf.c line
231,
563
- in /usr/src/new/jove/extend.c line
828-832(2)
- in /usr/src/new/jove/funcdefs.c line
183,
270,
310,
323,
361,
368,
382,
418,
429,
462
- in /usr/src/new/jove/io.c line
14
- in /usr/src/new/jove/iproc.c line
12
- in /usr/src/new/jove/jove.c line
166,
258,
389-393(2),
604,
637,
650,
884,
1049
- in /usr/src/new/jove/jove.h line
381
- in /usr/src/new/jove/proc.c line
414,
499,
534
- in /usr/src/new/jove/term.c line
18
- in /usr/src/new/jove/vars.c line
47
- in /usr/src/new/jove/wind.c line
346
LISP
defined in line
44; used 13 times
NBUF
defined in line
95; used 2 times
SPELL
defined in line
40; used 5 times
TUNED
defined in line
10; used 1 times
index
defined in line
111; used 18 times
Usage of this include