Debian Codegraph @

tune.h

raw
1 /**************************************************************************
2 * This program is Copyright (C) 1986-2002 by Jonathan Payne. JOVE is *
3 * provided by Jonathan and Jovehacks without charge and without *
4 * warranty. You may copy, modify, and/or distribute JOVE, provided that *
5 * this notice is included in all the source files and documentation. *
6 **************************************************************************/
7
8 /* Tuning: configure JOVE to installer's taste */
9
10 #define TUNED 1 /* don't touch this */
11
12 #include "sysdep.h"
13
14 /*
15 * Select or comment out as many of the following features of Jove as you'd
16 * like. In general, most of them are useful or pleasant, but many of them
17 * are non-portable, or make Jove larger.
18 *
19 * By default, most are included if appropriate. BAREBONES suppresses most
20 * of them. With BAREBONES defined, Jove should compile on a lot of systems.
21 * It should be considered the starting point for any port of Jove to a new
22 * system. An advantage of BAREBONES is that it shrinks JOVE's already
23 * modest size.
24 */
25
26 #ifndef BAREBONES
27
28 # define ABBREV 1 /* word abbreviation mode */
29 # define BACKUPFILES 1 /* enable the backup files code */
30
31 # define CMT_FMT 1 /* include the comment formatting routines */
32 # define F_COMPLETION 1 /* filename completion */
33
34 /* Include code to IDchar (optimize for terminals with character
35 * insert/delete modes
36 */
37 # ifdef TERMCAP
38 # define ID_CHAR 1
39 # endif
40
41 # ifdef TERMCAP
42 # define HIGHLIGHTING 1 /* highlighting is used for mark and scrollbar */
43 # endif
44
45 # if !defined(NO_IPROCS) && (defined(PIPEPROCS) || defined(PTYPROCS))
46 # define IPROCS 1 /* interactive processes */
47 # endif
48
49 # define LISP 1 /* include the code for Lisp Mode */
50
51 # ifndef MAC
52 # define SUBSHELL 1 /* enable various uses of subshells */
53 # endif
54
55 # if defined(SUBSHELL) && !defined(SPELL)
56 # define SPELL "spell %s" /* spell words and buffer commands (requires SUBSHELL) */
57 # endif
58
59 /* NOTE that invoking recover via jove -r requires SUBSHELL */
60 # define RECOVER 1 /* include code to attempt recovery from JOVE crashes */
61
62 #endif /* !BAREBONES */
63
64 #ifndef SUBSHELL
65 # undef IPROCS /* probably does not work */
66 # undef SPELL /* probably cannot execute spell checker */
67 #endif
68
69 #ifndef IPROCS
70 # undef PIPEPROCS /* defined only if IPROCS is */
71 # undef PTYPROCS /* defined only if IPROCS is */
72 #endif
73
74 #ifndef DFLT_MODE
75 # define DFLT_MODE 0666 /* file will be created with this mode */
76 #endif