annotate src/version.c @ 2676:8464d084fa74 v7.3.095

updated for version 7.3.095 Problem: Win32: In Chinese tear-off menu doesn't work. (Weasley) Solution: Use menu_name_equal(). (Alex Jakushev)
author Bram Moolenaar <bram@vim.org>
date Tue, 04 Jan 2011 17:49:32 +0100
parents f987220caa57
children fea3207b800d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* vi:set ts=8 sts=4 sw=4:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 * See README.txt for an overview of the Vim source code.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 #include "vim.h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 #ifdef AMIGA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 # include <time.h> /* for time() */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 * Vim originated from Stevie version 3.6 (Fish disk 217) by GRWalter (Fred)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 * It has been changed beyond recognition since then.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 *
26
404aac550f35 updated for version 7.0017
vimboss
parents: 14
diff changeset
20 * Differences between version 6.x and 7.x can be found with ":help version7".
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 * Differences between version 5.x and 6.x can be found with ":help version6".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 * Differences between version 4.x and 5.x can be found with ":help version5".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 * Differences between version 3.0 and 4.x can be found with ":help version4".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 * All the remarks about older versions have been removed, they are not very
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 * interesting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 #include "version.h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
378
6b49757d378c updated for version 7.0098
vimboss
parents: 170
diff changeset
30 char *Version = VIM_VERSION_SHORT;
6b49757d378c updated for version 7.0098
vimboss
parents: 170
diff changeset
31 static char *mediumVersion = VIM_VERSION_MEDIUM;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 #if defined(HAVE_DATE_TIME) || defined(PROTO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 # if (defined(VMS) && defined(VAXC)) || defined(PROTO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 char longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 + sizeof(__TIME__) + 3];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 make_version()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 * Construct the long version string. Necessary because
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 * VAX C can't catenate strings in the preprocessor.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 strcpy(longVersion, VIM_VERSION_LONG_DATE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 strcat(longVersion, __DATE__);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 strcat(longVersion, " ");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 strcat(longVersion, __TIME__);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 strcat(longVersion, ")");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 char *longVersion = VIM_VERSION_LONG;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 static void version_msg __ARGS((char *s));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 static char *(features[]) =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 #ifdef AMIGA /* only for Amiga systems */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 # ifdef FEAT_ARP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 "+ARP",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 "-ARP",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 #ifdef FEAT_ARABIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 "+arabic",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 "-arabic",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 #ifdef FEAT_AUTOCMD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 "+autocmd",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 "-autocmd",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 #ifdef FEAT_BEVAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 "+balloon_eval",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 "-balloon_eval",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 #ifdef FEAT_BROWSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 "+browse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 "-browse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 #ifdef NO_BUILTIN_TCAPS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 "-builtin_terms",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 #ifdef SOME_BUILTIN_TCAPS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 "+builtin_terms",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 #ifdef ALL_BUILTIN_TCAPS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 "++builtin_terms",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 #ifdef FEAT_BYTEOFF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 "+byte_offset",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 "-byte_offset",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 #ifdef FEAT_CINDENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 "+cindent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 "-cindent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 #ifdef FEAT_CLIENTSERVER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 "+clientserver",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 "-clientserver",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 #ifdef FEAT_CLIPBOARD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 "+clipboard",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 "-clipboard",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 #ifdef FEAT_CMDL_COMPL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 "+cmdline_compl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 "-cmdline_compl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 #ifdef FEAT_CMDHIST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 "+cmdline_hist",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 "-cmdline_hist",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 #ifdef FEAT_CMDL_INFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 "+cmdline_info",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 "-cmdline_info",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 #ifdef FEAT_COMMENTS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 "+comments",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 "-comments",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 #endif
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
137 #ifdef FEAT_CONCEAL
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
138 "+conceal",
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
139 #else
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
140 "-conceal",
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
141 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 #ifdef FEAT_CRYPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 "+cryptv",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 "-cryptv",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 #ifdef FEAT_CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 "+cscope",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 "-cscope",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 #endif
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
152 #ifdef FEAT_CURSORBIND
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
153 "+cursorbind",
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
154 #else
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
155 "-cursorbind",
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
156 #endif
647
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
157 #ifdef CURSOR_SHAPE
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
158 "+cursorshape",
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
159 #else
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
160 "-cursorshape",
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
161 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 #if defined(FEAT_CON_DIALOG) && defined(FEAT_GUI_DIALOG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 "+dialog_con_gui",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 # if defined(FEAT_CON_DIALOG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 "+dialog_con",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 # if defined(FEAT_GUI_DIALOG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 "+dialog_gui",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 "-dialog",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 #ifdef FEAT_DIFF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 "+diff",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 "-diff",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 #ifdef FEAT_DIGRAPHS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 "+digraphs",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 "-digraphs",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 #ifdef FEAT_DND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 "+dnd",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 "-dnd",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 #ifdef EBCDIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 "+ebcdic",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 "-ebcdic",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 #ifdef FEAT_EMACS_TAGS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 "+emacs_tags",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 "-emacs_tags",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 #ifdef FEAT_EVAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 "+eval",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 "-eval",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 #ifdef FEAT_EX_EXTRA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 "+ex_extra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 "-ex_extra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 #ifdef FEAT_SEARCH_EXTRA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 "+extra_search",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 "-extra_search",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 #ifdef FEAT_FKMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 "+farsi",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 "-farsi",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 #ifdef FEAT_SEARCHPATH
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 "+file_in_path",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 "-file_in_path",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 #ifdef FEAT_FIND_ID
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 "+find_in_path",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 "-find_in_path",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 #endif
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
230 #ifdef FEAT_FLOAT
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
231 "+float",
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
232 #else
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
233 "-float",
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
234 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 #ifdef FEAT_FOLDING
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 "+folding",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 "-folding",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 #ifdef FEAT_FOOTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 "+footer",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 "-footer",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 /* only interesting on Unix systems */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 #if !defined(USE_SYSTEM) && defined(UNIX)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 "+fork()",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 #ifdef FEAT_GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 # ifdef DYNAMIC_GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 "+gettext/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 "+gettext",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 "-gettext",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 #ifdef FEAT_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 "+hangul_input",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 "-hangul_input",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 #if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 # ifdef DYNAMIC_ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 "+iconv/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 "+iconv",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 "-iconv",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 #ifdef FEAT_INS_EXPAND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 "+insert_expand",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 "-insert_expand",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 #ifdef FEAT_JUMPLIST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 "+jumplist",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 "-jumplist",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 #ifdef FEAT_KEYMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 "+keymap",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 "-keymap",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 #ifdef FEAT_LANGMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 "+langmap",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 "-langmap",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 #ifdef FEAT_LIBCALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 "+libcall",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 "-libcall",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 #ifdef FEAT_LINEBREAK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 "+linebreak",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 "-linebreak",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 #ifdef FEAT_LISP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 "+lispindent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 "-lispindent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 #ifdef FEAT_LISTCMDS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 "+listcmds",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 "-listcmds",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 #ifdef FEAT_LOCALMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 "+localmap",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 "-localmap",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 #endif
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
317 #ifdef FEAT_LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
318 # ifdef DYNAMIC_LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
319 "+lua/dyn",
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
320 # else
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
321 "+lua",
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
322 # endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
323 #else
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
324 "-lua",
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
325 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 #ifdef FEAT_MENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 "+menu",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 "-menu",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 #ifdef FEAT_SESSION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 "+mksession",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 "-mksession",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 #ifdef FEAT_MODIFY_FNAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 "+modify_fname",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 "-modify_fname",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 #ifdef FEAT_MOUSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 "+mouse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 # ifdef FEAT_MOUSESHAPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 "+mouseshape",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 "-mouseshape",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 "-mouse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 #if defined(UNIX) || defined(VMS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 # ifdef FEAT_MOUSE_DEC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 "+mouse_dec",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 "-mouse_dec",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 # ifdef FEAT_MOUSE_GPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 "+mouse_gpm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 "-mouse_gpm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 # ifdef FEAT_MOUSE_JSB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 "+mouse_jsbterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 "-mouse_jsbterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 # ifdef FEAT_MOUSE_NET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 "+mouse_netterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 "-mouse_netterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 # endif
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
372 # ifdef FEAT_SYSMOUSE
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
373 "+mouse_sysmouse",
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
374 # else
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
375 "-mouse_sysmouse",
82b5078be2dd updated for version 7.2a
vimboss
parents: 1617
diff changeset
376 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 # ifdef FEAT_MOUSE_XTERM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 "+mouse_xterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 "-mouse_xterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 #ifdef __QNX__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 # ifdef FEAT_MOUSE_PTERM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 "+mouse_pterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 "-mouse_pterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 #ifdef FEAT_MBYTE_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 # ifdef DYNAMIC_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 "+multi_byte_ime/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 "+multi_byte_ime",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 # ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 "+multi_byte",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 "-multi_byte",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 #ifdef FEAT_MULTI_LANG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 "+multi_lang",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 "-multi_lang",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 #endif
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
408 #ifdef FEAT_MZSCHEME
132
d6009de12681 updated for version 7.0044
vimboss
parents: 68
diff changeset
409 # ifdef DYNAMIC_MZSCHEME
d6009de12681 updated for version 7.0044
vimboss
parents: 68
diff changeset
410 "+mzscheme/dyn",
d6009de12681 updated for version 7.0044
vimboss
parents: 68
diff changeset
411 # else
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
412 "+mzscheme",
132
d6009de12681 updated for version 7.0044
vimboss
parents: 68
diff changeset
413 # endif
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
414 #else
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
415 "-mzscheme",
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
416 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 #ifdef FEAT_NETBEANS_INTG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 "+netbeans_intg",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 "-netbeans_intg",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 #ifdef FEAT_GUI_W32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 # ifdef FEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 "+ole",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 "-ole",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 #ifdef FEAT_OSFILETYPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 "+osfiletype",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 "-osfiletype",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 #ifdef FEAT_PATH_EXTRA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 "+path_extra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 "-path_extra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 #ifdef FEAT_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 # ifdef DYNAMIC_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 "+perl/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 "+perl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 "-perl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 #endif
2214
f8222d1f9a73 Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
448 #ifdef FEAT_PERSISTENT_UNDO
f8222d1f9a73 Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
449 "+persistent_undo",
f8222d1f9a73 Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
450 #else
f8222d1f9a73 Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
451 "-persistent_undo",
f8222d1f9a73 Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
452 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 #ifdef FEAT_PRINTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 # ifdef FEAT_POSTSCRIPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 "+postscript",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 "-postscript",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 "+printer",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 "-printer",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 #endif
170
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
463 #ifdef FEAT_PROFILE
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
464 "+profile",
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
465 #else
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
466 "-profile",
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
467 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 #ifdef FEAT_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 # ifdef DYNAMIC_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 "+python/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 "+python",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 "-python",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 #endif
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
477 #ifdef FEAT_PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
478 # ifdef DYNAMIC_PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
479 "+python3/dyn",
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
480 # else
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
481 "+python3",
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
482 # endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
483 #else
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
484 "-python3",
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
485 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 #ifdef FEAT_QUICKFIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 "+quickfix",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 "-quickfix",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490 #endif
857
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
491 #ifdef FEAT_RELTIME
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
492 "+reltime",
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
493 #else
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
494 "-reltime",
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
495 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 #ifdef FEAT_RIGHTLEFT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 "+rightleft",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499 "-rightleft",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 #ifdef FEAT_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502 # ifdef DYNAMIC_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 "+ruby/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 "+ruby",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 "-ruby",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 #ifdef FEAT_SCROLLBIND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 "+scrollbind",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 "-scrollbind",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 #ifdef FEAT_SIGNS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 "+signs",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 "-signs",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 #ifdef FEAT_SMARTINDENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 "+smartindent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 "-smartindent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 #ifdef FEAT_SNIFF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 "+sniff",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 "-sniff",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 #endif
1989
1fbbe04a950f updated for version 7.2-286
vimboss
parents: 1988
diff changeset
530 #ifdef STARTUPTIME
1fbbe04a950f updated for version 7.2-286
vimboss
parents: 1988
diff changeset
531 "+startuptime",
1fbbe04a950f updated for version 7.2-286
vimboss
parents: 1988
diff changeset
532 #else
1fbbe04a950f updated for version 7.2-286
vimboss
parents: 1988
diff changeset
533 "-startuptime",
1fbbe04a950f updated for version 7.2-286
vimboss
parents: 1988
diff changeset
534 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 #ifdef FEAT_STL_OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 "+statusline",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 "-statusline",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 #ifdef FEAT_SUN_WORKSHOP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 "+sun_workshop",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 "-sun_workshop",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 #ifdef FEAT_SYN_HL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 "+syntax",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 "-syntax",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 /* only interesting on Unix systems */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 #if defined(USE_SYSTEM) && (defined(UNIX) || defined(__EMX__))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552 "+system()",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 #ifdef FEAT_TAG_BINS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555 "+tag_binary",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 "-tag_binary",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
559 #ifdef FEAT_TAG_OLDSTATIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 "+tag_old_static",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562 "-tag_old_static",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
564 #ifdef FEAT_TAG_ANYWHITE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 "+tag_any_white",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567 "-tag_any_white",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
568 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569 #ifdef FEAT_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 # ifdef DYNAMIC_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 "+tcl/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 "+tcl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 "-tcl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 #if defined(UNIX) || defined(__EMX__)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579 /* only Unix (or OS/2 with EMX!) can have terminfo instead of termcap */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 # ifdef TERMINFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 "+terminfo",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 "-terminfo",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
585 #else /* unix always includes termcap support */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
586 # ifdef HAVE_TGETENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 "+tgetent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589 "-tgetent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
591 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592 #ifdef FEAT_TERMRESPONSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 "+termresponse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
594 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595 "-termresponse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
596 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 #ifdef FEAT_TEXTOBJ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 "+textobjects",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
599 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 "-textobjects",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602 #ifdef FEAT_TITLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 "+title",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 "-title",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 #ifdef FEAT_TOOLBAR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 "+toolbar",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
609 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 "-toolbar",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 #ifdef FEAT_USR_CMDS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 "+user_commands",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
614 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 "-user_commands",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
617 #ifdef FEAT_VERTSPLIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 "+vertsplit",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 "-vertsplit",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 #ifdef FEAT_VIRTUALEDIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 "+virtualedit",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 "-virtualedit",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 #ifdef FEAT_VISUAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 "+visual",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 # ifdef FEAT_VISUALEXTRA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630 "+visualextra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 "-visualextra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 "-visual",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
636 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 #ifdef FEAT_VIMINFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 "+viminfo",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
639 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 "-viminfo",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
641 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 #ifdef FEAT_VREPLACE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 "+vreplace",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 "-vreplace",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 #ifdef FEAT_WILDIGN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 "+wildignore",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650 "-wildignore",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
651 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
652 #ifdef FEAT_WILDMENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 "+wildmenu",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 "-wildmenu",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 #ifdef FEAT_WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 "+windows",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 "-windows",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662 #ifdef FEAT_WRITEBACKUP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663 "+writebackup",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 "-writebackup",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
667 #if defined(UNIX) || defined(VMS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 # ifdef FEAT_X11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669 "+X11",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
670 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 "-X11",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
673 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
674 #ifdef FEAT_XFONTSET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
675 "+xfontset",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 "-xfontset",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
678 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679 #ifdef FEAT_XIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680 "+xim",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
681 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
682 "-xim",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
684 #if defined(UNIX) || defined(VMS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
685 # ifdef USE_XSMP_INTERACT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 "+xsmp_interact",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
687 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
688 # ifdef USE_XSMP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
689 "+xsmp",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691 "-xsmp",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 # ifdef FEAT_XCLIPBOARD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
695 "+xterm_clipboard",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697 "-xterm_clipboard",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
698 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 #ifdef FEAT_XTERM_SAVE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
701 "+xterm_save",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
702 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
703 "-xterm_save",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 #ifdef WIN3264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 # ifdef FEAT_XPM_W32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
707 "+xpm_w32",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
709 "-xpm_w32",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
710 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
711 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712 NULL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
714
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
715 static int included_patches[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
716 { /* Add new patch number below this line */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 /**/
2676
8464d084fa74 updated for version 7.3.095
Bram Moolenaar <bram@vim.org>
parents: 2675
diff changeset
718 95,
8464d084fa74 updated for version 7.3.095
Bram Moolenaar <bram@vim.org>
parents: 2675
diff changeset
719 /**/
2675
f987220caa57 updated for version 7.3.094
Bram Moolenaar <bram@vim.org>
parents: 2674
diff changeset
720 94,
f987220caa57 updated for version 7.3.094
Bram Moolenaar <bram@vim.org>
parents: 2674
diff changeset
721 /**/
2674
f921368d43c3 updated for version 7.3.093
Bram Moolenaar <bram@vim.org>
parents: 2673
diff changeset
722 93,
f921368d43c3 updated for version 7.3.093
Bram Moolenaar <bram@vim.org>
parents: 2673
diff changeset
723 /**/
2673
5a1fe35a6eaf updated for version 7.3.092
Bram Moolenaar <bram@vim.org>
parents: 2672
diff changeset
724 92,
5a1fe35a6eaf updated for version 7.3.092
Bram Moolenaar <bram@vim.org>
parents: 2672
diff changeset
725 /**/
2672
6a2e4860134b updated for version 7.3.091
Bram Moolenaar <bram@vim.org>
parents: 2671
diff changeset
726 91,
6a2e4860134b updated for version 7.3.091
Bram Moolenaar <bram@vim.org>
parents: 2671
diff changeset
727 /**/
2671
6f4740f72d3d updated for version 7.3.090
Bram Moolenaar <bram@vim.org>
parents: 2670
diff changeset
728 90,
6f4740f72d3d updated for version 7.3.090
Bram Moolenaar <bram@vim.org>
parents: 2670
diff changeset
729 /**/
2670
28398206597f updated for version 7.3.089
Bram Moolenaar <bram@vim.org>
parents: 2669
diff changeset
730 89,
28398206597f updated for version 7.3.089
Bram Moolenaar <bram@vim.org>
parents: 2669
diff changeset
731 /**/
2669
ee50cd1a3032 updated for version 7.3.088
Bram Moolenaar <bram@vim.org>
parents: 2668
diff changeset
732 88,
ee50cd1a3032 updated for version 7.3.088
Bram Moolenaar <bram@vim.org>
parents: 2668
diff changeset
733 /**/
2668
bfade53bcafb updated for version 7.3.087
Bram Moolenaar <bram@vim.org>
parents: 2667
diff changeset
734 87,
bfade53bcafb updated for version 7.3.087
Bram Moolenaar <bram@vim.org>
parents: 2667
diff changeset
735 /**/
2667
a53e7d3fd741 updated for version 7.3.086
Bram Moolenaar <bram@vim.org>
parents: 2666
diff changeset
736 86,
a53e7d3fd741 updated for version 7.3.086
Bram Moolenaar <bram@vim.org>
parents: 2666
diff changeset
737 /**/
2666
1a0d346695fa updated for version 7.3.085
Bram Moolenaar <bram@vim.org>
parents: 2665
diff changeset
738 85,
1a0d346695fa updated for version 7.3.085
Bram Moolenaar <bram@vim.org>
parents: 2665
diff changeset
739 /**/
2665
18061514324f updated for version 7.3.084
Bram Moolenaar <bram@vim.org>
parents: 2664
diff changeset
740 84,
18061514324f updated for version 7.3.084
Bram Moolenaar <bram@vim.org>
parents: 2664
diff changeset
741 /**/
2664
033e7b49356c updated for version 7.3.083
Bram Moolenaar <bram@vim.org>
parents: 2663
diff changeset
742 83,
033e7b49356c updated for version 7.3.083
Bram Moolenaar <bram@vim.org>
parents: 2663
diff changeset
743 /**/
2663
fd3346e3ccc0 updated for version 7.3.082
Bram Moolenaar <bram@vim.org>
parents: 2661
diff changeset
744 82,
fd3346e3ccc0 updated for version 7.3.082
Bram Moolenaar <bram@vim.org>
parents: 2661
diff changeset
745 /**/
2661
a03f7551bacc updated for version 7.3.081
Bram Moolenaar <bram@vim.org>
parents: 2660
diff changeset
746 81,
a03f7551bacc updated for version 7.3.081
Bram Moolenaar <bram@vim.org>
parents: 2660
diff changeset
747 /**/
2660
e19ecdb13f34 updated for version 7.3.080
Bram Moolenaar <bram@vim.org>
parents: 2659
diff changeset
748 80,
e19ecdb13f34 updated for version 7.3.080
Bram Moolenaar <bram@vim.org>
parents: 2659
diff changeset
749 /**/
2659
4ac0c84d1c50 updated for version 7.3.079
Bram Moolenaar <bram@vim.org>
parents: 2658
diff changeset
750 79,
4ac0c84d1c50 updated for version 7.3.079
Bram Moolenaar <bram@vim.org>
parents: 2658
diff changeset
751 /**/
2658
b93a3fc3897b updated for version 7.3.078
Bram Moolenaar <bram@vim.org>
parents: 2657
diff changeset
752 78,
b93a3fc3897b updated for version 7.3.078
Bram Moolenaar <bram@vim.org>
parents: 2657
diff changeset
753 /**/
2657
2a9d26c95a2a updated for version 7.3.077
Bram Moolenaar <bram@vim.org>
parents: 2656
diff changeset
754 77,
2a9d26c95a2a updated for version 7.3.077
Bram Moolenaar <bram@vim.org>
parents: 2656
diff changeset
755 /**/
2656
4549e0e7fbb6 updated for version 7.3.076
Bram Moolenaar <bram@vim.org>
parents: 2655
diff changeset
756 76,
4549e0e7fbb6 updated for version 7.3.076
Bram Moolenaar <bram@vim.org>
parents: 2655
diff changeset
757 /**/
2655
d94c32250814 updated for version 7.3.075
Bram Moolenaar <bram@vim.org>
parents: 2654
diff changeset
758 75,
d94c32250814 updated for version 7.3.075
Bram Moolenaar <bram@vim.org>
parents: 2654
diff changeset
759 /**/
2654
2b475ed86e64 updated for version 7.3.074
Bram Moolenaar <bram@vim.org>
parents: 2653
diff changeset
760 74,
2b475ed86e64 updated for version 7.3.074
Bram Moolenaar <bram@vim.org>
parents: 2653
diff changeset
761 /**/
2653
ac04f392ba48 updated for version 7.3.073
Bram Moolenaar <bram@vim.org>
parents: 2652
diff changeset
762 73,
ac04f392ba48 updated for version 7.3.073
Bram Moolenaar <bram@vim.org>
parents: 2652
diff changeset
763 /**/
2652
b2a7d143abe2 updated for version 7.3.072
Bram Moolenaar <bram@vim.org>
parents: 2651
diff changeset
764 72,
b2a7d143abe2 updated for version 7.3.072
Bram Moolenaar <bram@vim.org>
parents: 2651
diff changeset
765 /**/
2651
b254cfdd7405 updated for version 7.3.071
Bram Moolenaar <bram@vim.org>
parents: 2650
diff changeset
766 71,
b254cfdd7405 updated for version 7.3.071
Bram Moolenaar <bram@vim.org>
parents: 2650
diff changeset
767 /**/
2650
ef3a3ec8940c updated for version 7.3.070
Bram Moolenaar <bram@vim.org>
parents: 2649
diff changeset
768 70,
ef3a3ec8940c updated for version 7.3.070
Bram Moolenaar <bram@vim.org>
parents: 2649
diff changeset
769 /**/
2649
b2789846ed39 updated for version 7.3.069
Bram Moolenaar <bram@vim.org>
parents: 2648
diff changeset
770 69,
b2789846ed39 updated for version 7.3.069
Bram Moolenaar <bram@vim.org>
parents: 2648
diff changeset
771 /**/
2648
656e652c6579 updated for version 7.3.068
Bram Moolenaar <bram@vim.org>
parents: 2647
diff changeset
772 68,
656e652c6579 updated for version 7.3.068
Bram Moolenaar <bram@vim.org>
parents: 2647
diff changeset
773 /**/
2647
dfd5dcc73daa updated for version 7.3.067
Bram Moolenaar <bram@vim.org>
parents: 2646
diff changeset
774 67,
dfd5dcc73daa updated for version 7.3.067
Bram Moolenaar <bram@vim.org>
parents: 2646
diff changeset
775 /**/
2646
ff3a304b4ac2 updated for version 7.3.066
Bram Moolenaar <bram@vim.org>
parents: 2645
diff changeset
776 66,
ff3a304b4ac2 updated for version 7.3.066
Bram Moolenaar <bram@vim.org>
parents: 2645
diff changeset
777 /**/
2645
a2271decbce5 updated for version 7.3.065
Bram Moolenaar <bram@vim.org>
parents: 2644
diff changeset
778 65,
a2271decbce5 updated for version 7.3.065
Bram Moolenaar <bram@vim.org>
parents: 2644
diff changeset
779 /**/
2644
e856f9cc2aee updated for version 7.3.064
Bram Moolenaar <bram@vim.org>
parents: 2643
diff changeset
780 64,
e856f9cc2aee updated for version 7.3.064
Bram Moolenaar <bram@vim.org>
parents: 2643
diff changeset
781 /**/
2643
e6372ac3ebe5 updated for version 7.3.063
Bram Moolenaar <bram@vim.org>
parents: 2641
diff changeset
782 63,
e6372ac3ebe5 updated for version 7.3.063
Bram Moolenaar <bram@vim.org>
parents: 2641
diff changeset
783 /**/
2641
b803b2776880 updated for version 7.3.062
Bram Moolenaar <bram@vim.org>
parents: 2640
diff changeset
784 62,
b803b2776880 updated for version 7.3.062
Bram Moolenaar <bram@vim.org>
parents: 2640
diff changeset
785 /**/
2640
266f9d9f5109 updated for version 7.3.061
Bram Moolenaar <bram@vim.org>
parents: 2639
diff changeset
786 61,
266f9d9f5109 updated for version 7.3.061
Bram Moolenaar <bram@vim.org>
parents: 2639
diff changeset
787 /**/
2639
73dd10c18ec4 updated for version 7.3.060
Bram Moolenaar <bram@vim.org>
parents: 2638
diff changeset
788 60,
73dd10c18ec4 updated for version 7.3.060
Bram Moolenaar <bram@vim.org>
parents: 2638
diff changeset
789 /**/
2638
75a89c7c204e updated for version 7.3.059
Bram Moolenaar <bram@vim.org>
parents: 2637
diff changeset
790 59,
75a89c7c204e updated for version 7.3.059
Bram Moolenaar <bram@vim.org>
parents: 2637
diff changeset
791 /**/
2637
37d62d968182 updated for version 7.3.058
Bram Moolenaar <bram@vim.org>
parents: 2636
diff changeset
792 58,
37d62d968182 updated for version 7.3.058
Bram Moolenaar <bram@vim.org>
parents: 2636
diff changeset
793 /**/
2636
6ee9d7fa5df6 updated for version 7.3.057
Bram Moolenaar <bram@vim.org>
parents: 2635
diff changeset
794 57,
6ee9d7fa5df6 updated for version 7.3.057
Bram Moolenaar <bram@vim.org>
parents: 2635
diff changeset
795 /**/
2635
1c4ec9ed71ca updated for version 7.3.056
Bram Moolenaar <bram@vim.org>
parents: 2634
diff changeset
796 56,
1c4ec9ed71ca updated for version 7.3.056
Bram Moolenaar <bram@vim.org>
parents: 2634
diff changeset
797 /**/
2634
fcb916bed51a updated for version 7.3.055
Bram Moolenaar <bram@vim.org>
parents: 2633
diff changeset
798 55,
fcb916bed51a updated for version 7.3.055
Bram Moolenaar <bram@vim.org>
parents: 2633
diff changeset
799 /**/
2633
7002404b17b1 updated for version 7.3.054
Bram Moolenaar <bram@vim.org>
parents: 2632
diff changeset
800 54,
7002404b17b1 updated for version 7.3.054
Bram Moolenaar <bram@vim.org>
parents: 2632
diff changeset
801 /**/
2632
c00efaa0af24 updated for version 7.3.053
Bram Moolenaar <bram@vim.org>
parents: 2631
diff changeset
802 53,
c00efaa0af24 updated for version 7.3.053
Bram Moolenaar <bram@vim.org>
parents: 2631
diff changeset
803 /**/
2631
f896a7dfd47d updated for version 7.3.052
Bram Moolenaar <bram@vim.org>
parents: 2630
diff changeset
804 52,
f896a7dfd47d updated for version 7.3.052
Bram Moolenaar <bram@vim.org>
parents: 2630
diff changeset
805 /**/
2630
0de47f0d731e updated for version 7.3.051
Bram Moolenaar <bram@vim.org>
parents: 2629
diff changeset
806 51,
0de47f0d731e updated for version 7.3.051
Bram Moolenaar <bram@vim.org>
parents: 2629
diff changeset
807 /**/
2629
1ccc1ace9e5b updated for version 7.3.050
Bram Moolenaar <bram@vim.org>
parents: 2628
diff changeset
808 50,
1ccc1ace9e5b updated for version 7.3.050
Bram Moolenaar <bram@vim.org>
parents: 2628
diff changeset
809 /**/
2628
5c4b2fc4f067 updated for version 7.3.049
Bram Moolenaar <bram@vim.org>
parents: 2627
diff changeset
810 49,
5c4b2fc4f067 updated for version 7.3.049
Bram Moolenaar <bram@vim.org>
parents: 2627
diff changeset
811 /**/
2627
fae6fb779a6b updated for version 7.3.048
Bram Moolenaar <bram@vim.org>
parents: 2626
diff changeset
812 48,
fae6fb779a6b updated for version 7.3.048
Bram Moolenaar <bram@vim.org>
parents: 2626
diff changeset
813 /**/
2626
df6b12c84b23 updated for version 7.3.047
Bram Moolenaar <bram@vim.org>
parents: 2624
diff changeset
814 47,
df6b12c84b23 updated for version 7.3.047
Bram Moolenaar <bram@vim.org>
parents: 2624
diff changeset
815 /**/
2624
bfd69bfb4149 updated for version 7.3.046
Bram Moolenaar <bram@vim.org>
parents: 2623
diff changeset
816 46,
bfd69bfb4149 updated for version 7.3.046
Bram Moolenaar <bram@vim.org>
parents: 2623
diff changeset
817 /**/
2623
bc3f88ca060d updated for version 7.3.045
Bram Moolenaar <bram@vim.org>
parents: 2622
diff changeset
818 45,
bc3f88ca060d updated for version 7.3.045
Bram Moolenaar <bram@vim.org>
parents: 2622
diff changeset
819 /**/
2622
b2cfe84c96cc updated for version 7.3.044
Bram Moolenaar <bram@vim.org>
parents: 2621
diff changeset
820 44,
b2cfe84c96cc updated for version 7.3.044
Bram Moolenaar <bram@vim.org>
parents: 2621
diff changeset
821 /**/
2621
baa5f81197c8 updated for version 7.3.043
Bram Moolenaar <bram@vim.org>
parents: 2620
diff changeset
822 43,
baa5f81197c8 updated for version 7.3.043
Bram Moolenaar <bram@vim.org>
parents: 2620
diff changeset
823 /**/
2620
5fbc411a611d updated for version 7.3.042
Bram Moolenaar <bram@vim.org>
parents: 2619
diff changeset
824 42,
5fbc411a611d updated for version 7.3.042
Bram Moolenaar <bram@vim.org>
parents: 2619
diff changeset
825 /**/
2619
6a80537ac7aa updated for version 7.3.041
Bram Moolenaar <bram@vim.org>
parents: 2618
diff changeset
826 41,
6a80537ac7aa updated for version 7.3.041
Bram Moolenaar <bram@vim.org>
parents: 2618
diff changeset
827 /**/
2618
fb60c9f35517 updated for version 7.3.040
Bram Moolenaar <bram@vim.org>
parents: 2617
diff changeset
828 40,
fb60c9f35517 updated for version 7.3.040
Bram Moolenaar <bram@vim.org>
parents: 2617
diff changeset
829 /**/
2617
f2927225367a updated for version 7.3.039
Bram Moolenaar <bram@vim.org>
parents: 2616
diff changeset
830 39,
f2927225367a updated for version 7.3.039
Bram Moolenaar <bram@vim.org>
parents: 2616
diff changeset
831 /**/
2616
73d947c20291 updated for version 7.3.038
Bram Moolenaar <bram@vim.org>
parents: 2615
diff changeset
832 38,
73d947c20291 updated for version 7.3.038
Bram Moolenaar <bram@vim.org>
parents: 2615
diff changeset
833 /**/
2615
c6fe65c000d2 updated for version 7.3.037
Bram Moolenaar <bram@vim.org>
parents: 2614
diff changeset
834 37,
c6fe65c000d2 updated for version 7.3.037
Bram Moolenaar <bram@vim.org>
parents: 2614
diff changeset
835 /**/
2614
56ecdb792c33 updated for version 7.3.036
Bram Moolenaar <bram@vim.org>
parents: 2613
diff changeset
836 36,
56ecdb792c33 updated for version 7.3.036
Bram Moolenaar <bram@vim.org>
parents: 2613
diff changeset
837 /**/
2613
8fdc12103333 updated for version 7.3.035
Bram Moolenaar <bram@vim.org>
parents: 2612
diff changeset
838 35,
8fdc12103333 updated for version 7.3.035
Bram Moolenaar <bram@vim.org>
parents: 2612
diff changeset
839 /**/
2612
fa5dee44df3f updated for version 7.3.034
Bram Moolenaar <bram@vim.org>
parents: 2611
diff changeset
840 34,
fa5dee44df3f updated for version 7.3.034
Bram Moolenaar <bram@vim.org>
parents: 2611
diff changeset
841 /**/
2611
5b154df6fcd8 updated for version 7.3.033
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
842 33,
5b154df6fcd8 updated for version 7.3.033
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
843 /**/
2610
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents: 2609
diff changeset
844 32,
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents: 2609
diff changeset
845 /**/
2609
758822790b43 updated for version 7.3.031
Bram Moolenaar <bram@vim.org>
parents: 2607
diff changeset
846 31,
758822790b43 updated for version 7.3.031
Bram Moolenaar <bram@vim.org>
parents: 2607
diff changeset
847 /**/
2607
2f57d93bdbf6 updated for version 7.3.030
Bram Moolenaar <bram@vim.org>
parents: 2606
diff changeset
848 30,
2f57d93bdbf6 updated for version 7.3.030
Bram Moolenaar <bram@vim.org>
parents: 2606
diff changeset
849 /**/
2606
94694351f592 updated for version 7.3.029
Bram Moolenaar <bram@vim.org>
parents: 2605
diff changeset
850 29,
94694351f592 updated for version 7.3.029
Bram Moolenaar <bram@vim.org>
parents: 2605
diff changeset
851 /**/
2605
a0b03b7e9168 updated for version 7.3.028
Bram Moolenaar <bram@vim.org>
parents: 2604
diff changeset
852 28,
a0b03b7e9168 updated for version 7.3.028
Bram Moolenaar <bram@vim.org>
parents: 2604
diff changeset
853 /**/
2604
6a85219723b9 updated for version 7.3.027
Bram Moolenaar <bram@vim.org>
parents: 2603
diff changeset
854 27,
6a85219723b9 updated for version 7.3.027
Bram Moolenaar <bram@vim.org>
parents: 2603
diff changeset
855 /**/
2603
ac0458d9b9dd updated for version 7.3.026
Bram Moolenaar <bram@vim.org>
parents: 2602
diff changeset
856 26,
ac0458d9b9dd updated for version 7.3.026
Bram Moolenaar <bram@vim.org>
parents: 2602
diff changeset
857 /**/
2602
71219f47ccd9 updated for version 7.3.025
Bram Moolenaar <bram@vim.org>
parents: 2601
diff changeset
858 25,
71219f47ccd9 updated for version 7.3.025
Bram Moolenaar <bram@vim.org>
parents: 2601
diff changeset
859 /**/
2601
1baac9d06c83 updated for version 7.3.024
Bram Moolenaar <bram@vim.org>
parents: 2600
diff changeset
860 24,
1baac9d06c83 updated for version 7.3.024
Bram Moolenaar <bram@vim.org>
parents: 2600
diff changeset
861 /**/
2600
d982226b7aaa updated for version 7.3.023
Bram Moolenaar <bram@vim.org>
parents: 2599
diff changeset
862 23,
d982226b7aaa updated for version 7.3.023
Bram Moolenaar <bram@vim.org>
parents: 2599
diff changeset
863 /**/
2599
8aa94f8080bd updated for version 7.3.022
Bram Moolenaar <bram@vim.org>
parents: 2598
diff changeset
864 22,
8aa94f8080bd updated for version 7.3.022
Bram Moolenaar <bram@vim.org>
parents: 2598
diff changeset
865 /**/
2598
10ce04af8c5b updated for version 7.3.021
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
866 21,
10ce04af8c5b updated for version 7.3.021
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
867 /**/
2597
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2595
diff changeset
868 20,
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2595
diff changeset
869 /**/
2595
bf9579ab26e5 updated for version 7.3.019
Bram Moolenaar <bram@vim.org>
parents: 2594
diff changeset
870 19,
bf9579ab26e5 updated for version 7.3.019
Bram Moolenaar <bram@vim.org>
parents: 2594
diff changeset
871 /**/
2594
56b638f2029e updated for version 7.3.018
Bram Moolenaar <bram@vim.org>
parents: 2593
diff changeset
872 18,
56b638f2029e updated for version 7.3.018
Bram Moolenaar <bram@vim.org>
parents: 2593
diff changeset
873 /**/
2593
103dea654543 updated for version 7.3.017
Bram Moolenaar <bram@vim.org>
parents: 2592
diff changeset
874 17,
103dea654543 updated for version 7.3.017
Bram Moolenaar <bram@vim.org>
parents: 2592
diff changeset
875 /**/
2592
2c5e70e2858f updated for version 7.3.016
Bram Moolenaar <bram@vim.org>
parents: 2591
diff changeset
876 16,
2c5e70e2858f updated for version 7.3.016
Bram Moolenaar <bram@vim.org>
parents: 2591
diff changeset
877 /**/
2591
88095f75d63b updated for version 7.3.015
Bram Moolenaar <bram@vim.org>
parents: 2590
diff changeset
878 15,
88095f75d63b updated for version 7.3.015
Bram Moolenaar <bram@vim.org>
parents: 2590
diff changeset
879 /**/
2590
b57f2617965f updated for version 7.3.014
Bram Moolenaar <bram@vim.org>
parents: 2589
diff changeset
880 14,
b57f2617965f updated for version 7.3.014
Bram Moolenaar <bram@vim.org>
parents: 2589
diff changeset
881 /**/
2589
d5681bd2661b updated for version 7.3.013
Bram Moolenaar <bram@vim.org>
parents: 2588
diff changeset
882 13,
d5681bd2661b updated for version 7.3.013
Bram Moolenaar <bram@vim.org>
parents: 2588
diff changeset
883 /**/
2588
5df74a812b7b updated for version 7.3.012
Bram Moolenaar <bram@vim.org>
parents: 2586
diff changeset
884 12,
5df74a812b7b updated for version 7.3.012
Bram Moolenaar <bram@vim.org>
parents: 2586
diff changeset
885 /**/
2586
538cd3220874 updated for version 7.3.011
Bram Moolenaar <bram@vim.org>
parents: 2585
diff changeset
886 11,
538cd3220874 updated for version 7.3.011
Bram Moolenaar <bram@vim.org>
parents: 2585
diff changeset
887 /**/
2585
03d49a7c8319 updated for version 7.3.010
Bram Moolenaar <bram@vim.org>
parents: 2584
diff changeset
888 10,
03d49a7c8319 updated for version 7.3.010
Bram Moolenaar <bram@vim.org>
parents: 2584
diff changeset
889 /**/
2584
f9bd6784f393 updated for version 7.3.009
Bram Moolenaar <bram@vim.org>
parents: 2583
diff changeset
890 9,
f9bd6784f393 updated for version 7.3.009
Bram Moolenaar <bram@vim.org>
parents: 2583
diff changeset
891 /**/
2583
7c2e6ba1d702 updated for version 7.3.008
Bram Moolenaar <bram@vim.org>
parents: 2582
diff changeset
892 8,
7c2e6ba1d702 updated for version 7.3.008
Bram Moolenaar <bram@vim.org>
parents: 2582
diff changeset
893 /**/
2582
2cdbc91795ca updated for version 7.3.007
Bram Moolenaar <bram@vim.org>
parents: 2580
diff changeset
894 7,
2cdbc91795ca updated for version 7.3.007
Bram Moolenaar <bram@vim.org>
parents: 2580
diff changeset
895 /**/
2580
06aa43dde561 updated for version 7.3.006
Bram Moolenaar <bram@vim.org>
parents: 2579
diff changeset
896 6,
06aa43dde561 updated for version 7.3.006
Bram Moolenaar <bram@vim.org>
parents: 2579
diff changeset
897 /**/
2579
1c00ea3641a8 updated for version 7.3.005
Bram Moolenaar <bram@vim.org>
parents: 2578
diff changeset
898 5,
1c00ea3641a8 updated for version 7.3.005
Bram Moolenaar <bram@vim.org>
parents: 2578
diff changeset
899 /**/
2578
766918de9e3a updated for version 7.3.004
Bram Moolenaar <bram@vim.org>
parents: 2577
diff changeset
900 4,
766918de9e3a updated for version 7.3.004
Bram Moolenaar <bram@vim.org>
parents: 2577
diff changeset
901 /**/
2165
733f0dc510c3 Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
902 3,
733f0dc510c3 Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
903 /**/
733f0dc510c3 Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
904 2,
733f0dc510c3 Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
905 /**/
733f0dc510c3 Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
906 1,
733f0dc510c3 Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
907 /**/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
908 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
909 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
910
1760
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
911 /*
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
912 * Place to put a short description when adding a feature with a patch.
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
913 * Keep it short, e.g.,: "relative numbers", "persistent undo".
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
914 * Also add a comment marker to separate the lines.
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
915 * See the official Vim patches for the diff format: It must use a context of
1777
7209e03df100 updated for version 7.2-075
vimboss
parents: 1776
diff changeset
916 * one line only. Create it by hand or use "diff -C2" and edit the patch.
1760
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
917 */
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
918 static char *(extra_patches[]) =
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
919 { /* Add your patch description below this line */
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
920 /**/
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
921 NULL
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
922 };
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
923
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
924 int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
925 highest_patch()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
926 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
927 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
928 int h = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
929
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
930 for (i = 0; included_patches[i] != 0; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
931 if (included_patches[i] > h)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
932 h = included_patches[i];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
933 return h;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
934 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
935
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
936 #if defined(FEAT_EVAL) || defined(PROTO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
937 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
938 * Return TRUE if patch "n" has been included.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
939 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
940 int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
941 has_patch(n)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
942 int n;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
943 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
944 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
945
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
946 for (i = 0; included_patches[i] != 0; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
947 if (included_patches[i] == n)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
948 return TRUE;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
949 return FALSE;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
950 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
951 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
952
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
953 void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
954 ex_version(eap)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
955 exarg_T *eap;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
956 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
957 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
958 * Ignore a ":version 9.99" command.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
959 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
960 if (*eap->arg == NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
961 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
962 msg_putchar('\n');
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
963 list_version();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
964 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
965 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
966
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
967 void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
968 list_version()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
969 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
970 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971 int first;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
972 char *s = "";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
973
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
974 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
975 * When adding features here, don't forget to update the list of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
976 * internal variables in eval.c!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
977 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
978 MSG(longVersion);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
979 #ifdef WIN3264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
980 # ifdef FEAT_GUI_W32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
981 # if defined(_MSC_VER) && (_MSC_VER <= 1010)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
982 /* Only MS VC 4.1 and earlier can do Win32s */
1607
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
983 MSG_PUTS(_("\nMS-Windows 16/32-bit GUI version"));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
984 # else
990
9adbd26f7fee updated for version 7.0-116
vimboss
parents: 989
diff changeset
985 # ifdef _WIN64
1607
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
986 MSG_PUTS(_("\nMS-Windows 64-bit GUI version"));
990
9adbd26f7fee updated for version 7.0-116
vimboss
parents: 989
diff changeset
987 # else
1607
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
988 MSG_PUTS(_("\nMS-Windows 32-bit GUI version"));
990
9adbd26f7fee updated for version 7.0-116
vimboss
parents: 989
diff changeset
989 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
990 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
991 if (gui_is_win32s())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
992 MSG_PUTS(_(" in Win32s mode"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
993 # ifdef FEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
994 MSG_PUTS(_(" with OLE support"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
995 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
996 # else
1607
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
997 # ifdef _WIN64
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
998 MSG_PUTS(_("\nMS-Windows 64-bit console version"));
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
999 # else
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
1000 MSG_PUTS(_("\nMS-Windows 32-bit console version"));
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
1001 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1002 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1003 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1004 #ifdef WIN16
1607
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
1005 MSG_PUTS(_("\nMS-Windows 16-bit version"));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1006 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1007 #ifdef MSDOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1008 # ifdef DJGPP
1607
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
1009 MSG_PUTS(_("\n32-bit MS-DOS version"));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1010 # else
1607
4f1130893a1c updated for version 7.1-320
vimboss
parents: 1606
diff changeset
1011 MSG_PUTS(_("\n16-bit MS-DOS version"));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1012 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1013 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1014 #ifdef MACOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1015 # ifdef MACOS_X
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1016 # ifdef MACOS_X_UNIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1017 MSG_PUTS(_("\nMacOS X (unix) version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1018 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1019 MSG_PUTS(_("\nMacOS X version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1020 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1021 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1022 MSG_PUTS(_("\nMacOS version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1023 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1024 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1025
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1026 #ifdef RISCOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1027 MSG_PUTS(_("\nRISC OS version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1028 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1029 #ifdef VMS
1705
5b43a3a9454a updated for version 7.2-003
vimboss
parents: 1704
diff changeset
1030 MSG_PUTS(_("\nOpenVMS version"));
1045
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
1031 # ifdef HAVE_PATHDEF
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
1032 if (*compiled_arch != NUL)
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
1033 {
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
1034 MSG_PUTS(" - ");
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
1035 MSG_PUTS(compiled_arch);
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
1036 }
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
1037 # endif
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
1038
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1039 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1040
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1041 /* Print the list of patch numbers if there is at least one. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1042 /* Print a range when patches are consecutive: "1-10, 12, 15-40, 42-45" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1043 if (included_patches[0] != 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1044 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1045 MSG_PUTS(_("\nIncluded patches: "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1046 first = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1047 /* find last one */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1048 for (i = 0; included_patches[i] != 0; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1049 ;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1050 while (--i >= 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1051 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1052 if (first < 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1053 first = included_patches[i];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1054 if (i == 0 || included_patches[i - 1] != included_patches[i] + 1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1055 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1056 MSG_PUTS(s);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1057 s = ", ";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1058 msg_outnum((long)first);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1059 if (first != included_patches[i])
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1060 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1061 MSG_PUTS("-");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1062 msg_outnum((long)included_patches[i]);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1063 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1064 first = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1065 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1066 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1067 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1068
1760
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1069 /* Print the list of extra patch descriptions if there is at least one. */
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1070 if (extra_patches[0] != NULL)
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1071 {
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1072 MSG_PUTS(_("\nExtra patches: "));
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1073 s = "";
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1074 for (i = 0; extra_patches[i] != NULL; ++i)
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1075 {
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1076 MSG_PUTS(s);
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1077 s = ", ";
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1078 MSG_PUTS(extra_patches[i]);
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1079 }
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1080 }
f3d3545d6bf6 updated for version 7.2-058
vimboss
parents: 1759
diff changeset
1081
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1082 #ifdef MODIFIED_BY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1083 MSG_PUTS("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1084 MSG_PUTS(_("Modified by "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1085 MSG_PUTS(MODIFIED_BY);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1086 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1087
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1088 #ifdef HAVE_PATHDEF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1089 if (*compiled_user != NUL || *compiled_sys != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1090 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1091 MSG_PUTS(_("\nCompiled "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1092 if (*compiled_user != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1093 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1094 MSG_PUTS(_("by "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1095 MSG_PUTS(compiled_user);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1096 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1097 if (*compiled_sys != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1098 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1099 MSG_PUTS("@");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1100 MSG_PUTS(compiled_sys);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1101 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1102 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1103 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1105 #ifdef FEAT_HUGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1106 MSG_PUTS(_("\nHuge version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1107 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1108 # ifdef FEAT_BIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1109 MSG_PUTS(_("\nBig version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1110 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1111 # ifdef FEAT_NORMAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1112 MSG_PUTS(_("\nNormal version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1113 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1114 # ifdef FEAT_SMALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1115 MSG_PUTS(_("\nSmall version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1116 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1117 MSG_PUTS(_("\nTiny version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1118 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1119 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1120 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1121 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1122 #ifndef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1123 MSG_PUTS(_("without GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1124 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1125 # ifdef FEAT_GUI_GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1126 # ifdef FEAT_GUI_GNOME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1127 MSG_PUTS(_("with GTK2-GNOME GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1128 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1129 MSG_PUTS(_("with GTK2 GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1130 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1131 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1132 # ifdef FEAT_GUI_MOTIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1133 MSG_PUTS(_("with X11-Motif GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1134 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1135 # ifdef FEAT_GUI_ATHENA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1136 # ifdef FEAT_GUI_NEXTAW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1137 MSG_PUTS(_("with X11-neXtaw GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1138 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1139 MSG_PUTS(_("with X11-Athena GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1140 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1141 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1142 # ifdef FEAT_GUI_PHOTON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1143 MSG_PUTS(_("with Photon GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1144 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1145 # if defined(MSWIN)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1146 MSG_PUTS(_("with GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1147 # else
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
1148 # if defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1149 MSG_PUTS(_("with Carbon GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1150 # else
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
1151 # if defined(TARGET_API_MAC_OSX) && TARGET_API_MAC_OSX
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1152 MSG_PUTS(_("with Cocoa GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1153 # else
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
1154 # if defined(MACOS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1155 MSG_PUTS(_("with (classic) GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1156 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1157 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1158 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1159 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1160 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1161 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1162 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1163 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1164 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1165 version_msg(_(" Features included (+) or not (-):\n"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1166
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1167 /* print all the features */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1168 for (i = 0; features[i] != NULL; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1169 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1170 version_msg(features[i]);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1171 if (msg_col > 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1172 version_msg(" ");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1173 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1174
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1175 version_msg("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1176 #ifdef SYS_VIMRC_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1177 version_msg(_(" system vimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1178 version_msg(SYS_VIMRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1179 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1180 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1181 #ifdef USR_VIMRC_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1182 version_msg(_(" user vimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1183 version_msg(USR_VIMRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1184 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1185 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1186 #ifdef USR_VIMRC_FILE2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1187 version_msg(_(" 2nd user vimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1188 version_msg(USR_VIMRC_FILE2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1189 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1190 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1191 #ifdef USR_VIMRC_FILE3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1192 version_msg(_(" 3rd user vimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1193 version_msg(USR_VIMRC_FILE3);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1194 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1195 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1196 #ifdef USR_EXRC_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1197 version_msg(_(" user exrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1198 version_msg(USR_EXRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1199 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1200 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1201 #ifdef USR_EXRC_FILE2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1202 version_msg(_(" 2nd user exrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1203 version_msg(USR_EXRC_FILE2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1204 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1205 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1206 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1207 # ifdef SYS_GVIMRC_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1208 version_msg(_(" system gvimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1209 version_msg(SYS_GVIMRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1210 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1211 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1212 version_msg(_(" user gvimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1213 version_msg(USR_GVIMRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1214 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1215 # ifdef USR_GVIMRC_FILE2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1216 version_msg(_("2nd user gvimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1217 version_msg(USR_GVIMRC_FILE2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1218 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1219 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1220 # ifdef USR_GVIMRC_FILE3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1221 version_msg(_("3rd user gvimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1222 version_msg(USR_GVIMRC_FILE3);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1223 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1224 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1225 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1226 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1227 # ifdef SYS_MENU_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1228 version_msg(_(" system menu file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1229 version_msg(SYS_MENU_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1230 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1231 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1232 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1233 #ifdef HAVE_PATHDEF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1234 if (*default_vim_dir != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1235 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1236 version_msg(_(" fall-back for $VIM: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1237 version_msg((char *)default_vim_dir);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1238 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1239 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1240 if (*default_vimruntime_dir != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1241 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1242 version_msg(_(" f-b for $VIMRUNTIME: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1243 version_msg((char *)default_vimruntime_dir);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1244 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1245 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1246 version_msg(_("Compilation: "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1247 version_msg((char *)all_cflags);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1248 version_msg("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1249 #ifdef VMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1250 if (*compiler_version != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1251 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1252 version_msg(_("Compiler: "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1253 version_msg((char *)compiler_version);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1254 version_msg("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1255 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1256 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1257 version_msg(_("Linking: "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1258 version_msg((char *)all_lflags);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1259 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1260 #ifdef DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1261 version_msg("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1262 version_msg(_(" DEBUG BUILD"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1263 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1264 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1265
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1266 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1267 * Output a string for the version message. If it's going to wrap, output a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1268 * newline, unless the message is too long to fit on the screen anyway.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1269 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1270 static void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1271 version_msg(s)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1272 char *s;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1273 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1274 int len = (int)STRLEN(s);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1275
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1276 if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1277 && *s != '\n')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1278 msg_putchar('\n');
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1279 if (!got_int)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1280 MSG_PUTS(s);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1281 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1282
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1283 static void do_intro_line __ARGS((int row, char_u *mesg, int add_version, int attr));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1284
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1285 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1286 * Give an introductory message about Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1287 * Only used when starting Vim on an empty file, without a file name.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1288 * Or with the ":intro" command (for Sven :-).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1289 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1290 void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1291 intro_message(colon)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1292 int colon; /* TRUE for ":intro" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1293 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1294 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1295 int row;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1296 int blanklines;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1297 int sponsor;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1298 char *p;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1299 static char *(lines[]) =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1300 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1301 N_("VIM - Vi IMproved"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1302 "",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1303 N_("version "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1304 N_("by Bram Moolenaar et al."),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1305 #ifdef MODIFIED_BY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1306 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1307 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1308 N_("Vim is open source and freely distributable"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1309 "",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1310 N_("Help poor children in Uganda!"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1311 N_("type :help iccf<Enter> for information "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1312 "",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1313 N_("type :q<Enter> to exit "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1314 N_("type :help<Enter> or <F1> for on-line help"),
26
404aac550f35 updated for version 7.0017
vimboss
parents: 14
diff changeset
1315 N_("type :help version7<Enter> for version info"),
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1316 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1317 "",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1318 N_("Running in Vi compatible mode"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1319 N_("type :set nocp<Enter> for Vim defaults"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1320 N_("type :help cp-default<Enter> for info on this"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1321 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1322 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1323 static char *(gui_lines[]) =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1324 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1325 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1326 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1327 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1328 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1329 #ifdef MODIFIED_BY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1330 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1331 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1332 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1333 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1334 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1335 N_("menu Help->Orphans for information "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1336 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1337 N_("Running modeless, typed text is inserted"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1338 N_("menu Edit->Global Settings->Toggle Insert Mode "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1339 N_(" for two modes "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1340 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1341 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1342 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1343 N_("menu Edit->Global Settings->Toggle Vi Compatible"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1344 N_(" for Vim defaults "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1345 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1346 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1347
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1348 /* blanklines = screen height - # message lines */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1349 blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1350 if (!p_cp)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1351 blanklines += 4; /* add 4 for not showing "Vi compatible" message */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1352 #if defined(WIN3264) && !defined(FEAT_GUI_W32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1353 if (mch_windows95())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1354 blanklines -= 3; /* subtract 3 for showing "Windows 95" message */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1355 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1356
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1357 #ifdef FEAT_WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1358 /* Don't overwrite a statusline. Depends on 'cmdheight'. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1359 if (p_ls > 1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1360 blanklines -= Rows - topframe->fr_height;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1361 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1362 if (blanklines < 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1363 blanklines = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1364
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1365 /* Show the sponsor and register message one out of four times, the Uganda
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1366 * message two out of four times. */
615
7fe13e0f5dce updated for version 7.0175
vimboss
parents: 574
diff changeset
1367 sponsor = (int)time(NULL);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1368 sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1369
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1370 /* start displaying the message lines after half of the blank lines */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1371 row = blanklines / 2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1372 if ((row >= 2 && Columns >= 50) || colon)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1373 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1374 for (i = 0; i < (int)(sizeof(lines) / sizeof(char *)); ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1375 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1376 p = lines[i];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1377 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1378 if (p_im && gui.in_use && gui_lines[i] != NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1379 p = gui_lines[i];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1380 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1381 if (p == NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1382 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1383 if (!p_cp)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1384 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1385 continue;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1386 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1387 if (sponsor != 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1388 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1389 if (strstr(p, "children") != NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1390 p = sponsor < 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1391 ? N_("Sponsor Vim development!")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1392 : N_("Become a registered Vim user!");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1393 else if (strstr(p, "iccf") != NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1394 p = sponsor < 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1395 ? N_("type :help sponsor<Enter> for information ")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1396 : N_("type :help register<Enter> for information ");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1397 else if (strstr(p, "Orphans") != NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1398 p = N_("menu Help->Sponsor/Register for information ");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1399 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1400 if (*p != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1401 do_intro_line(row, (char_u *)_(p), i == 2, 0);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1402 ++row;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1403 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1404 #if defined(WIN3264) && !defined(FEAT_GUI_W32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1405 if (mch_windows95())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1406 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1407 do_intro_line(++row,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1408 (char_u *)_("WARNING: Windows 95/98/ME detected"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1409 FALSE, hl_attr(HLF_E));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1410 do_intro_line(++row,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1411 (char_u *)_("type :help windows95<Enter> for info on this"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1412 FALSE, 0);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1413 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1414 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1415 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1416
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1417 /* Make the wait-return message appear just below the text. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1418 if (colon)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1419 msg_row = row;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1420 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1421
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1422 static void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1423 do_intro_line(row, mesg, add_version, attr)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1424 int row;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1425 char_u *mesg;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1426 int add_version;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1427 int attr;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1428 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1429 char_u vers[20];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1430 int col;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1431 char_u *p;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1432 int l;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1433 int clen;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1434 #ifdef MODIFIED_BY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1435 # define MODBY_LEN 150
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1436 char_u modby[MODBY_LEN];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1437
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1438 if (*mesg == ' ')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1439 {
1491
a135270b7549 updated for version 7.1-206
vimboss
parents: 1490
diff changeset
1440 vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1441 l = STRLEN(modby);
1491
a135270b7549 updated for version 7.1-206
vimboss
parents: 1490
diff changeset
1442 vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1443 mesg = modby;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1444 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1445 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1446
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1447 /* Center the message horizontally. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1448 col = vim_strsize(mesg);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1449 if (add_version)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1450 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1451 STRCPY(vers, mediumVersion);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1452 if (highest_patch())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1453 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1454 /* Check for 9.9x or 9.9xx, alpha/beta version */
2619
6a80537ac7aa updated for version 7.3.041
Bram Moolenaar <bram@vim.org>
parents: 2618
diff changeset
1455 if (isalpha((int)vers[3]))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1456 {
2619
6a80537ac7aa updated for version 7.3.041
Bram Moolenaar <bram@vim.org>
parents: 2618
diff changeset
1457 if (isalpha((int)vers[4]))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1458 sprintf((char *)vers + 5, ".%d%s", highest_patch(),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1459 mediumVersion + 5);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1460 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1461 sprintf((char *)vers + 4, ".%d%s", highest_patch(),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1462 mediumVersion + 4);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1463 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1464 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1465 sprintf((char *)vers + 3, ".%d", highest_patch());
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1466 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1467 col += (int)STRLEN(vers);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1468 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1469 col = (Columns - col) / 2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1470 if (col < 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1471 col = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1472
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1473 /* Split up in parts to highlight <> items differently. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1474 for (p = mesg; *p != NUL; p += l)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1475 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1476 clen = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1477 for (l = 0; p[l] != NUL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1478 && (l == 0 || (p[l] != '<' && p[l - 1] != '>')); ++l)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1479 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1480 #ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1481 if (has_mbyte)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1482 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1483 clen += ptr2cells(p + l);
474
a5fcf36ef512 updated for version 7.0127
vimboss
parents: 419
diff changeset
1484 l += (*mb_ptr2len)(p + l) - 1;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1485 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1486 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1487 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1488 clen += byte2cells(p[l]);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1489 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1490 screen_puts_len(p, l, row, col, *p == '<' ? hl_attr(HLF_8) : attr);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1491 col += clen;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1492 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1493
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1494 /* Add the version number to the version line. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1495 if (add_version)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1496 screen_puts(vers, row, col, 0);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1497 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1498
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1499 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1500 * ":intro": clear screen, display intro screen and wait for return.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1501 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1502 void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1503 ex_intro(eap)
1876
932ff0c0f57b updated for version 7.2-173
vimboss
parents: 1875
diff changeset
1504 exarg_T *eap UNUSED;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1505 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1506 screenclear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1507 intro_message(TRUE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1508 wait_return(TRUE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1509 }