Debian Codegraph @

vars.tab

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 /* This file is #included by vars.c and setmaps.c
9 * Each defines VAR differently!
10 */
11
12 /* Table of variables
13 *
14 * Note: must be kept in alphabetical order (setmaps does a check).
15 */
16 const struct variable variables[] = {
17 { VARIABLE, "abort-char", VAR(&AbortChar), V_CHAR },
18 #ifdef UNIX
19 { VARIABLE, "allow-^S-and-^Q", VAR(&OKXonXoff), V_BOOL|V_TTY_RESET },
20 #endif
21 { VARIABLE, "allow-bad-characters-in-filenames", VAR(&OkayBadChars), V_BOOL },
22 #ifdef ABBREV
23 { VARIABLE, "auto-case-abbrev", VAR(&AutoCaseAbbrev), V_BOOL },
24 #endif
25 #ifdef F_COMPLETION
26 { VARIABLE, "bad-filename-extensions", VAR(BadExtensions), V_STRING },
27 #endif
28 { VARIABLE, "c-argument-indentation", VAR(&CArgIndent), V_WHOLEX },
29 { VARIABLE, "c-indentation-increment", VAR(&CIndIncrmt), V_WHOLE },
30 { VARIABLE, "case-ignore-search", VAR(&CaseIgnore), V_BOOL },
31 #ifdef CMT_FMT
32 { VARIABLE, "comment-format", VAR(CmtFmt), V_STRING },
33 #endif
34 #ifdef IPROCS
35 { VARIABLE, "dbx-format-string", VAR(dbx_parse_fmt), V_STRING },
36 #endif
37 { VARIABLE, "display-default-filenames", VAR(&DispDefFs), V_BOOL },
38 #ifdef F_COMPLETION
39 { VARIABLE, "display-filenames-with-bad-extensions", VAR(&DispBadFs), V_BOOL },
40 #endif
41 #ifdef IBMPCDOS
42 { VARIABLE, "enhanced-keyboard", VAR(&enhanced_keybrd), V_BOOL },
43 #endif
44 { VARIABLE, "error-format-string", VAR(ErrFmtStr), V_STRING },
45 { VARIABLE, "error-window-size", VAR(&EWSize), V_NAT },
46 #ifdef F_COMPLETION
47 # ifndef MAC /* no environment in MacOS */
48 { VARIABLE, "expand-environment-variables", VAR(&DoEVexpand), V_BOOL },
49 # endif
50 #endif
51 #ifdef UNIX
52 { VARIABLE, "file-creation-mode", VAR(&CreatMode), V_WHOLE|V_FMODE },
53 #endif
54 { VARIABLE, "files-should-end-with-newline", VAR(&EndWNewline), V_BOOL },
55 #ifdef HIGHLIGHTING
56 # ifdef PCSCRATTR
57 { VARIABLE, "highlight-attribute", VAR(&Hlattr), V_WHOLE|V_CLRSCREEN },
58 # endif
59 { VARIABLE, "highlight-mark", VAR(&MarkHighlighting), V_BOOL|V_CLRSCREEN },
60 #endif /* HIGHLIGHTING */
61 #ifdef UNIX
62 { VARIABLE, "interrupt-character", VAR(&IntChar), V_CHAR|V_TTY_RESET },
63 #endif
64 #if defined(UNIX) || defined(MINGW)
65 { VARIABLE, "jove-compiled-with", VAR(JoveCompiled), V_STRING|V_READONLY},
66 #endif
67 { VARIABLE, "jove-features", VAR(JoveFeatures), V_STRING|V_READONLY},
68 #if defined(UNIX) || defined(MINGW)
69 { VARIABLE, "jove-linked-with", VAR(JoveLinked), V_STRING|V_READONLY},
70 #endif
71 #if defined(USE_CTYPE) && !defined(NO_SETLOCALE)
72 { VARIABLE, "lc-ctype", VAR(LcCtype), V_STRING|V_LOCALE },
73 #endif
74 { VARIABLE, "left-margin", VAR(&LMargin), V_WHOLE },
75 #if defined(SUBSHELL) || defined(PIPEPROCS) || defined(RECOVER)
76 { VARIABLE, "lib-dir-pathname", VAR(LibDir), V_FILENAME },
77 #endif
78 #ifdef MAC
79 { VARIABLE, "macify", VAR(&Macmode), V_BOOL },
80 #endif
81 #ifdef UNIX
82 { VARIABLE, "mail-check-frequency", VAR(&MailInt), V_WHOLE },
83 { VARIABLE, "mailbox", VAR(Mailbox), V_FILENAME },
84 #endif /* UNIX */
85 #ifdef BACKUPFILES
86 { VARIABLE, "make-backup-files", VAR(&BkupOnWrite), V_BOOL },
87 #endif
88 { VARIABLE, "mark-threshold", VAR(&MarkThresh), V_WHOLEX },
89 { VARIABLE, "match-regular-expressions", VAR(&UseRE), V_BOOL },
90 { VARIABLE, "meta-key", VAR(&MetaKey), V_BOOL|V_TTY_RESET },
91 { VARIABLE, "mode-line", VAR(ModeFmt), V_STRING|V_MODELINE },
92 #ifdef PCSCRATTR
93 { VARIABLE, "mode-line-attribute", VAR(&Mlattr), V_WHOLE|V_CLRSCREEN },
94 #endif
95 { VARIABLE, "mode-line-should-standout", VAR(&BriteMode), V_BOOL|V_MODELINE },
96 { VARIABLE, "one-key-confirmation", VAR(&OneKeyConfirmation), V_BOOL },
97 { VARIABLE, "paragraph-delimiter-pattern", VAR(ParaDelim), V_STRING },
98 { VARIABLE, "paren-flash-delay", VAR(&PDelay), V_WHOLE },
99 #ifdef IPROCS
100 { VARIABLE, "process-prompt", VAR(proc_prompt), V_STRING },
101 #endif
102 { VARIABLE, "right-margin", VAR(&RMargin), V_NAT },
103 { VARIABLE, "save-on-exit", VAR(&SaveOnExit), V_BOOL },
104 { VARIABLE, "scroll-all-lines", VAR(&ScrollAll), V_BOOL },
105 #ifdef HIGHLIGHTING
106 { VARIABLE, "scroll-bar", VAR(&ScrollBar), V_BOOL|V_MODELINE },
107 #endif
108 { VARIABLE, "scroll-step", VAR(&ScrollStep), V_INT },
109 { VARIABLE, "scroll-width", VAR(&ScrollWidth), V_WHOLE },
110 { VARIABLE, "search-exit-char", VAR(&SExitChar), V_CHAR },
111 { VARIABLE, "send-typeout-to-buffer", VAR(&UseBuffers), V_BOOL },
112 { VARIABLE, "share-dir-pathname", VAR(ShareDir), V_FILENAME },
113 #ifdef SUBSHELL
114 { VARIABLE, "shell", VAR(Shell), V_FILENAME },
115 { VARIABLE, "shell-flags", VAR(ShFlags), V_STRING },
116 #endif
117 { VARIABLE, "space-sentence-2", VAR(&SpaceSent2), V_BOOL },
118 #ifdef SPELL
119 { VARIABLE, "spell-command-format", VAR(SpellCmdFmt), V_STRING },
120 #endif
121 #ifdef RECOVER
122 { VARIABLE, "sync-frequency", VAR(&SyncFreq), V_WHOLE },
123 #endif
124 { VARIABLE, "tab-width", VAR(&tabstop), V_WHOLE|V_CLRSCREEN },
125 { VARIABLE, "tag-file", VAR(TagFile), V_FILENAME },
126 #ifdef PCSCRATTR
127 { VARIABLE, "text-attribute", VAR(&Txattr), V_WHOLE|V_CLRSCREEN },
128 #endif
129 { VARIABLE, "tmp-file-pathname", VAR(TmpDir), V_FILENAME },
130 #ifdef UNIX
131 { VARIABLE, "update-time-frequency", VAR(&UpdFreq), V_WHOLE|V_UPDFREQ },
132 #endif
133 #ifdef ID_CHAR
134 { VARIABLE, "use-i/d-char", VAR(&UseIC), V_BOOL },
135 #endif
136 { VARIABLE, "visible-bell", VAR(&VisBell), V_BOOL },
137 #if defined(SUBSHELL) || defined(IPROCS)
138 { VARIABLE, "wrap-process-lines", VAR(&WrapProcessLines), V_BOOL },
139 #endif
140 { VARIABLE, "wrap-search", VAR(&WrapScan), V_BOOL },
141 #ifdef SUBSHELL
142 { VARIABLE, "write-files-on-make", VAR(&WtOnMk), V_BOOL },
143 #endif
144 #ifdef MOUSE
145 { VARIABLE, "xt-mouse", VAR(&XtermMouse), V_BOOL|V_TTY_RESET },
146 #endif
147 { VARIABLE, NULL, NULL, (size_t)0, 0 },
148 };