Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 86 lines (78 sloc) 4.427 kb
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
1 /* config.h */
2
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
3 /* This file began as a copy of the "osmsdos\osconfig.h" file. You should
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
4 * modify "config.h" and leave "osmsdos\osconfig.h" untouched.
5 */
6
7 /* The following determine which user interfaces are to be supported */
8 #undef GUI_X11 /* simple X-windows interface */
9 #undef GUI_CURSES /* curses interface */
10 #define GUI_TERMCAP /* termcap interface */
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
11 #define GUI_OPEN /* only supports "open" mode and scripts */
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
12
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
13 /* The following control which display modes & other features are available */
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
14 #define DISPLAY_SYNTAX /* the new generic "syntax" colorizer */
15 #define DISPLAY_HEX /* the "hex" display mode */
3a9bb55 @mbert Import Elvis 2.1_3 (written by Steve Kirkendall)
authored
16 #define DISPLAY_HTML /* the "html" display mode */
17 #define DISPLAY_MAN /* the "man" display mode */
18 #undef DISPLAY_TEX /* the "tex" display mode */
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
19 #undef PROTOCOL_HTTP /* the "http" protocol -- no MSDOS code is provided */
20 #undef PROTOCOL_FTP /* the "ftp" protocol -- no MSDOS code is provided */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
21 #undef FEATURE_ALIAS /* the ":alias" command */
22 #undef FEATURE_ARRAY /* subscripts in expressions */
23 #undef FEATURE_BACKTICK /* the `program` notation in file names */
24 #undef FEATURE_BROWSE /* the :browse and :sbrowse commands */
25 #undef FEATURE_CACHEDESC /* store syntax/markup descriptions in RAM */
26 #define FEATURE_CALC /* the calculator, and all cmds that use it */
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
27 #undef FEATURE_COMPLETE /* filename completion */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
28 #undef FEATURE_FOLD /* the :fold and :unfold commands */
29 #undef FEATURE_G /* most of the visual 'g' commands */
30 #undef FEATURE_HLOBJECT /* the hlobject and hllayers options */
31 #undef FEATURE_HLSEARCH /* the hlsearch option */
32 #undef FEATURE_INCSEARCH /* the incsearch option */
2fe6e17 @mbert Import Elvis 2.2_1 (written by Steve Kirkendall)
authored
33 #undef FEATURE_LISTCHARS /* the listchars option */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
34 #undef FEATURE_LITRE /* faster searches for literal strings */
35 #define FEATURE_LPR /* the ":lpr" command */
36 #define FEATURE_MAKE /* the :make and :cc commands */
37 #undef FEATURE_MAPDB /* the map debugger */
38 #define FEATURE_MISC /* lots of little things */
39 #undef FEATURE_MKEXRC /* the ":mkexrc" command */
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
40 #define FEATURE_MOUSE /* allow the mouse to be used for selections & tags */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
41 #undef FEATURE_NORMAL /* vim-style :normal command */
2fe6e17 @mbert Import Elvis 2.2_1 (written by Steve Kirkendall)
authored
42 #undef FEATURE_PERSIST /* the persistfile option */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
43 #undef FEATURE_PROTO /* using aliases to add new protocols */
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
44 #undef FEATURE_RAM /* if invoked with "-f ram" then use XMS/EMS */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
45 #undef FEATURE_RCSID /* include RCS Id strings for all source files */
46 #undef FEATURE_REGION /* the :region command */
47 #undef FEATURE_SHOWTAG /* the "showtag" option */
48 #undef FEATURE_SMARTARGS /* show arguments when inputting a function call */
49 #undef FEATURE_SPELL /* spell checking */
50 #define FEATURE_SPLIT /* :split and friends */
51 #undef FEATURE_STDIN /* ability to use "-" as a file, to read stdin */
52 #define FEATURE_TAGS /* :tag command -- undef'ing will break ref & ctags */
53 #undef FEATURE_TEXTOBJ /* text objects */
54 #define FEATURE_V /* the v/V/^V marking commands */
55 #undef FEATURE_XFT /* antialiased fonts in X11 -- useless in MSDOS */
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
56
57 /* The following provide custom implementation of some common functions which
58 * are either missing or poorly implemented on some systems.
59 */
60 #undef NEED_ABORT /* replaces abort() with a simpler macro */
61 #undef NEED_ASSERT /* defines an custom assert() macro */
62 #define NEED_TGETENT /* uses tinytcap instead of termcap library */
63 #define NEED_BC /* requires guitcap.c to generate a BC variable */
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
64 #define NEED_CTYPE /* use elvis' version of ctype macros */
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
65
66 /* The following controls debugging features */
67 #ifndef NDEBUG
68 # define NDEBUG /* undef to enable assert() calls; define to disable */
69 #endif
70 #undef DEBUG_ALLOC /* define to debug memory allocations; undef to disable */
71 #undef DEBUG_SCAN /* define to debug character scans; undef to disable */
72 #undef DEBUG_SESSION /* define to debug the block cache; undef to disable */
73 #undef DEBUG_EVENT /* define to trace events; undef to disable */
74 #undef DEBUG_MARKUP /* define to debug markup display modes */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
75 #undef DEBUG_REGEXP /* define to debug regular expressions */
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
76
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
77 /* The following reduces the default block size, so elvis will use less RAM. */
78 #define BLKSIZE 1024 /* default block size */
79 #define BLKCACHE 6 /* default number of blocks in the block cache */
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
80
81 /* We only want tinytcap.c to support the bare minumum number of terminals */
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
82 #define TERM_COHERENT /* Coherent's console */
83 #define TERM_DOSANSI /* PC with ANSI.SYS driver */
84 #define TERM_NANSI /* PC with NANSI.SYS driver, or BIOS */
85 #undef TERM_RAINBOW /* DEC Rainbow PC */
Something went wrong with that request. Please try again.