annotate src/version.c @ 1328:4c70a10ce2bb v7.1.042

updated for version 7.1-042
author vimboss
date Fri, 27 Jul 2007 19:33:14 +0000
parents cd7eb2a18060
children 417c4d78a09c
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 #ifdef FEAT_CRYPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 "+cryptv",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 "-cryptv",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 #ifdef FEAT_CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 "+cscope",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 "-cscope",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 #endif
647
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
147 #ifdef CURSOR_SHAPE
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
148 "+cursorshape",
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
149 #else
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
150 "-cursorshape",
19106f131c87 updated for version 7.0188
vimboss
parents: 615
diff changeset
151 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 #if defined(FEAT_CON_DIALOG) && defined(FEAT_GUI_DIALOG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 "+dialog_con_gui",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 # if defined(FEAT_CON_DIALOG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 "+dialog_con",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 # if defined(FEAT_GUI_DIALOG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 "+dialog_gui",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 "-dialog",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 #ifdef FEAT_DIFF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 "+diff",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 "-diff",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 #ifdef FEAT_DIGRAPHS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 "+digraphs",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 "-digraphs",
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_DND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 "+dnd",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 "-dnd",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 #ifdef EBCDIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 "+ebcdic",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 "-ebcdic",
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_EMACS_TAGS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 "+emacs_tags",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 "-emacs_tags",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 #ifdef FEAT_EVAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 "+eval",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 "-eval",
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_EX_EXTRA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 "+ex_extra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 "-ex_extra",
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_SEARCH_EXTRA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 "+extra_search",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 "-extra_search",
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_FKMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 "+farsi",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 "-farsi",
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_SEARCHPATH
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 "+file_in_path",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 "-file_in_path",
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_FIND_ID
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 "+find_in_path",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 "-find_in_path",
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_FOLDING
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 "+folding",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 "-folding",
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_FOOTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 "+footer",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 "-footer",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 /* only interesting on Unix systems */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 #if !defined(USE_SYSTEM) && defined(UNIX)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 "+fork()",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 #ifdef FEAT_GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 # ifdef DYNAMIC_GETTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 "+gettext/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 "+gettext",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 "-gettext",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 #ifdef FEAT_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 "+hangul_input",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 "-hangul_input",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 #if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 # ifdef DYNAMIC_ICONV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 "+iconv/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 "+iconv",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 "-iconv",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 #ifdef FEAT_INS_EXPAND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 "+insert_expand",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 "-insert_expand",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 #ifdef FEAT_JUMPLIST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 "+jumplist",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 "-jumplist",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 #ifdef FEAT_KEYMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 "+keymap",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 "-keymap",
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_LANGMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 "+langmap",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 "-langmap",
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_LIBCALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 "+libcall",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 "-libcall",
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_LINEBREAK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 "+linebreak",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 "-linebreak",
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_LISP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 "+lispindent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 "-lispindent",
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_LISTCMDS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 "+listcmds",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 "-listcmds",
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_LOCALMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 "+localmap",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 "-localmap",
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_MENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 "+menu",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 "-menu",
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_SESSION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 "+mksession",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 "-mksession",
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_MODIFY_FNAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 "+modify_fname",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 "-modify_fname",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 #ifdef FEAT_MOUSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 "+mouse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 # ifdef FEAT_MOUSESHAPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 "+mouseshape",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 "-mouseshape",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 "-mouse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 #if defined(UNIX) || defined(VMS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 # ifdef FEAT_MOUSE_DEC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 "+mouse_dec",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 "-mouse_dec",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 # ifdef FEAT_MOUSE_GPM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 "+mouse_gpm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 "-mouse_gpm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 # ifdef FEAT_MOUSE_JSB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 "+mouse_jsbterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 "-mouse_jsbterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 # ifdef FEAT_MOUSE_NET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 "+mouse_netterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 "-mouse_netterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 # ifdef FEAT_MOUSE_XTERM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 "+mouse_xterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 "-mouse_xterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 #ifdef __QNX__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 # ifdef FEAT_MOUSE_PTERM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 "+mouse_pterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 "-mouse_pterm",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 #ifdef FEAT_MBYTE_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 # ifdef DYNAMIC_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 "+multi_byte_ime/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 "+multi_byte_ime",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 # ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 "+multi_byte",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 "-multi_byte",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 #ifdef FEAT_MULTI_LANG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 "+multi_lang",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 "-multi_lang",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 #endif
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
379 #ifdef FEAT_MZSCHEME
132
d6009de12681 updated for version 7.0044
vimboss
parents: 68
diff changeset
380 # ifdef DYNAMIC_MZSCHEME
d6009de12681 updated for version 7.0044
vimboss
parents: 68
diff changeset
381 "+mzscheme/dyn",
d6009de12681 updated for version 7.0044
vimboss
parents: 68
diff changeset
382 # else
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
383 "+mzscheme",
132
d6009de12681 updated for version 7.0044
vimboss
parents: 68
diff changeset
384 # endif
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
385 #else
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
386 "-mzscheme",
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
387 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 #ifdef FEAT_NETBEANS_INTG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 "+netbeans_intg",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 "-netbeans_intg",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 #ifdef FEAT_GUI_W32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 # ifdef FEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 "+ole",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 "-ole",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 #ifdef FEAT_OSFILETYPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 "+osfiletype",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 "-osfiletype",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 #ifdef FEAT_PATH_EXTRA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 "+path_extra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 "-path_extra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 #ifdef FEAT_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 # ifdef DYNAMIC_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 "+perl/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 "+perl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 "-perl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 #ifdef FEAT_PRINTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 # ifdef FEAT_POSTSCRIPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 "+postscript",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 "-postscript",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 "+printer",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 "-printer",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 #endif
170
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
429 #ifdef FEAT_PROFILE
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
430 "+profile",
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
431 #else
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
432 "-profile",
8c60f65311fa updated for version 7.0052
vimboss
parents: 132
diff changeset
433 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 #ifdef FEAT_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 # ifdef DYNAMIC_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 "+python/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 "+python",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 "-python",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 #ifdef FEAT_QUICKFIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 "+quickfix",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 "-quickfix",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 #endif
857
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
448 #ifdef FEAT_RELTIME
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
449 "+reltime",
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
450 #else
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
451 "-reltime",
b933657f7c9d updated for version 7.0g01
vimboss
parents: 647
diff changeset
452 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 #ifdef FEAT_RIGHTLEFT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 "+rightleft",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 "-rightleft",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 #ifdef FEAT_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 # ifdef DYNAMIC_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 "+ruby/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 "+ruby",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 "-ruby",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 #ifdef FEAT_SCROLLBIND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 "+scrollbind",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 "-scrollbind",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 #ifdef FEAT_SIGNS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 "+signs",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 "-signs",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 #ifdef FEAT_SMARTINDENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 "+smartindent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 "-smartindent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 #ifdef FEAT_SNIFF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 "+sniff",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 "-sniff",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 #ifdef FEAT_STL_OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 "+statusline",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490 "-statusline",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 #ifdef FEAT_SUN_WORKSHOP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 "+sun_workshop",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 "-sun_workshop",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 #ifdef FEAT_SYN_HL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498 "+syntax",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 "-syntax",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502 /* only interesting on Unix systems */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 #if defined(USE_SYSTEM) && (defined(UNIX) || defined(__EMX__))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 "+system()",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 #ifdef FEAT_TAG_BINS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 "+tag_binary",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 "-tag_binary",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 #ifdef FEAT_TAG_OLDSTATIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 "+tag_old_static",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 "-tag_old_static",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 #ifdef FEAT_TAG_ANYWHITE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517 "+tag_any_white",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 "-tag_any_white",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 #ifdef FEAT_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522 # ifdef DYNAMIC_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 "+tcl/dyn",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 "+tcl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 "-tcl",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 #if defined(UNIX) || defined(__EMX__)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531 /* only Unix (or OS/2 with EMX!) can have terminfo instead of termcap */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532 # ifdef TERMINFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 "+terminfo",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
534 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 "-terminfo",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 #else /* unix always includes termcap support */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 # ifdef HAVE_TGETENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 "+tgetent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 "-tgetent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 #ifdef FEAT_TERMRESPONSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 "+termresponse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547 "-termresponse",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 #ifdef FEAT_TEXTOBJ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 "+textobjects",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552 "-textobjects",
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_TITLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555 "+title",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 "-title",
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_TOOLBAR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 "+toolbar",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562 "-toolbar",
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_USR_CMDS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 "+user_commands",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567 "-user_commands",
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_VERTSPLIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 "+vertsplit",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 "-vertsplit",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 #ifdef FEAT_VIRTUALEDIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 "+virtualedit",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 "-virtualedit",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579 #ifdef FEAT_VISUAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 "+visual",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 # ifdef FEAT_VISUALEXTRA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 "+visualextra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 "-visualextra",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
585 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
586 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 "-visual",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589 #ifdef FEAT_VIMINFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 "+viminfo",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
591 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592 "-viminfo",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
594 #ifdef FEAT_VREPLACE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595 "+vreplace",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
596 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 "-vreplace",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
599 #ifdef FEAT_WILDIGN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 "+wildignore",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602 "-wildignore",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 #ifdef FEAT_WILDMENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 "+wildmenu",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 "-wildmenu",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
609 #ifdef FEAT_WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 "+windows",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 "-windows",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
614 #ifdef FEAT_WRITEBACKUP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 "+writebackup",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
617 "-writebackup",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 #if defined(UNIX) || defined(VMS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 # ifdef FEAT_X11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621 "+X11",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 "-X11",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 #ifdef FEAT_XFONTSET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 "+xfontset",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 "-xfontset",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 #ifdef FEAT_XIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 "+xim",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634 "-xim",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
636 #if defined(UNIX) || defined(VMS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 # ifdef USE_XSMP_INTERACT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 "+xsmp_interact",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
639 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 # ifdef USE_XSMP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
641 "+xsmp",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 "-xsmp",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 # ifdef FEAT_XCLIPBOARD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 "+xterm_clipboard",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 "-xterm_clipboard",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650 # endif
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_XTERM_SAVE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 "+xterm_save",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 "-xterm_save",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 #ifdef WIN3264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 # ifdef FEAT_XPM_W32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659 "+xpm_w32",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 "-xpm_w32",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664 NULL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
667 static int included_patches[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 { /* Add new patch number below this line */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669 /**/
1328
4c70a10ce2bb updated for version 7.1-042
vimboss
parents: 1327
diff changeset
670 42,
4c70a10ce2bb updated for version 7.1-042
vimboss
parents: 1327
diff changeset
671 /**/
1327
cd7eb2a18060 updated for version 7.1-041
vimboss
parents: 1326
diff changeset
672 41,
cd7eb2a18060 updated for version 7.1-041
vimboss
parents: 1326
diff changeset
673 /**/
1326
22886f3d882d updated for version 7.1-040
vimboss
parents: 1325
diff changeset
674 40,
22886f3d882d updated for version 7.1-040
vimboss
parents: 1325
diff changeset
675 /**/
1325
f26d0c74a329 updated for version 7.1-039
vimboss
parents: 1324
diff changeset
676 39,
f26d0c74a329 updated for version 7.1-039
vimboss
parents: 1324
diff changeset
677 /**/
1324
60d21d224d25 updated for version 7.1-038
vimboss
parents: 1323
diff changeset
678 38,
60d21d224d25 updated for version 7.1-038
vimboss
parents: 1323
diff changeset
679 /**/
1323
454d71a43417 updated for version 7.1-037
vimboss
parents: 1322
diff changeset
680 37,
454d71a43417 updated for version 7.1-037
vimboss
parents: 1322
diff changeset
681 /**/
1322
4ce0a7e4c6b3 updated for version 7.1-036
vimboss
parents: 1321
diff changeset
682 36,
4ce0a7e4c6b3 updated for version 7.1-036
vimboss
parents: 1321
diff changeset
683 /**/
1321
f3d7fa7dcf63 updated for version 7.1-035
vimboss
parents: 1320
diff changeset
684 35,
f3d7fa7dcf63 updated for version 7.1-035
vimboss
parents: 1320
diff changeset
685 /**/
1320
1f9e2c8e642a updated for version 7.1-034
vimboss
parents: 1319
diff changeset
686 34,
1f9e2c8e642a updated for version 7.1-034
vimboss
parents: 1319
diff changeset
687 /**/
1319
76c2b2dd25c9 updated for version 7.1-033
vimboss
parents: 1318
diff changeset
688 33,
76c2b2dd25c9 updated for version 7.1-033
vimboss
parents: 1318
diff changeset
689 /**/
1318
eb57516376d4 updated for version 7.1-032
vimboss
parents: 1317
diff changeset
690 32,
eb57516376d4 updated for version 7.1-032
vimboss
parents: 1317
diff changeset
691 /**/
1317
45bae37de037 updated for version 7.1-031
vimboss
parents: 1316
diff changeset
692 31,
45bae37de037 updated for version 7.1-031
vimboss
parents: 1316
diff changeset
693 /**/
1316
469c42f90fda updated for version 7.1-030
vimboss
parents: 1315
diff changeset
694 30,
469c42f90fda updated for version 7.1-030
vimboss
parents: 1315
diff changeset
695 /**/
1315
0868e4e53fb2 updated for version 7.1-029
vimboss
parents: 1314
diff changeset
696 29,
0868e4e53fb2 updated for version 7.1-029
vimboss
parents: 1314
diff changeset
697 /**/
1314
afad99b3612c updated for version 7.1-028
vimboss
parents: 1313
diff changeset
698 28,
afad99b3612c updated for version 7.1-028
vimboss
parents: 1313
diff changeset
699 /**/
1313
dbd226be80b1 updated for version 7.1-027
vimboss
parents: 1312
diff changeset
700 27,
dbd226be80b1 updated for version 7.1-027
vimboss
parents: 1312
diff changeset
701 /**/
1312
b4b1b5324380 updated for version 7.1-026
vimboss
parents: 1311
diff changeset
702 26,
b4b1b5324380 updated for version 7.1-026
vimboss
parents: 1311
diff changeset
703 /**/
1311
b686fb4898d1 updated for version 7.1-025
vimboss
parents: 1310
diff changeset
704 25,
b686fb4898d1 updated for version 7.1-025
vimboss
parents: 1310
diff changeset
705 /**/
1310
a33e606ceea6 updated for version 7.1-024
vimboss
parents: 1309
diff changeset
706 24,
a33e606ceea6 updated for version 7.1-024
vimboss
parents: 1309
diff changeset
707 /**/
1309
bb7a0b90100a updated for version 7.1-023
vimboss
parents: 1308
diff changeset
708 23,
bb7a0b90100a updated for version 7.1-023
vimboss
parents: 1308
diff changeset
709 /**/
1308
e70c0d863e0c updated for version 7.1-022
vimboss
parents: 1307
diff changeset
710 22,
e70c0d863e0c updated for version 7.1-022
vimboss
parents: 1307
diff changeset
711 /**/
1307
64dd70f176c9 updated for version 7.1-021
vimboss
parents: 1306
diff changeset
712 21,
64dd70f176c9 updated for version 7.1-021
vimboss
parents: 1306
diff changeset
713 /**/
1306
a5fd859f69f1 updated for version 7.1-020
vimboss
parents: 1305
diff changeset
714 20,
a5fd859f69f1 updated for version 7.1-020
vimboss
parents: 1305
diff changeset
715 /**/
1305
dc948c8dfd15 updated for version 7.1-019
vimboss
parents: 1304
diff changeset
716 19,
dc948c8dfd15 updated for version 7.1-019
vimboss
parents: 1304
diff changeset
717 /**/
1304
33792c36e3aa updated for version 7.1-018
vimboss
parents: 1303
diff changeset
718 18,
33792c36e3aa updated for version 7.1-018
vimboss
parents: 1303
diff changeset
719 /**/
1303
da0991871b02 updated for version 7.1-017
vimboss
parents: 1302
diff changeset
720 17,
da0991871b02 updated for version 7.1-017
vimboss
parents: 1302
diff changeset
721 /**/
1302
7281a86ae640 updated for version 7.1-016
vimboss
parents: 1301
diff changeset
722 16,
7281a86ae640 updated for version 7.1-016
vimboss
parents: 1301
diff changeset
723 /**/
1301
66ddf49935fb updated for version 7.1-015
vimboss
parents: 1300
diff changeset
724 15,
66ddf49935fb updated for version 7.1-015
vimboss
parents: 1300
diff changeset
725 /**/
1300
bacdeee78827 updated for version 7.1-014
vimboss
parents: 1299
diff changeset
726 14,
bacdeee78827 updated for version 7.1-014
vimboss
parents: 1299
diff changeset
727 /**/
1299
82add1e7c154 updated for version 7.1-013
vimboss
parents: 1298
diff changeset
728 13,
82add1e7c154 updated for version 7.1-013
vimboss
parents: 1298
diff changeset
729 /**/
1298
f4c7b5da017a updated for version 7.1-012
vimboss
parents: 1297
diff changeset
730 12,
f4c7b5da017a updated for version 7.1-012
vimboss
parents: 1297
diff changeset
731 /**/
1297
e2680bc6a180 updated for version 7.1-011
vimboss
parents: 1296
diff changeset
732 11,
e2680bc6a180 updated for version 7.1-011
vimboss
parents: 1296
diff changeset
733 /**/
1296
86079b930b3e updated for version 7.1-010
vimboss
parents: 1295
diff changeset
734 10,
86079b930b3e updated for version 7.1-010
vimboss
parents: 1295
diff changeset
735 /**/
1295
b090b216a832 updated for version 7.1-009
vimboss
parents: 1294
diff changeset
736 9,
b090b216a832 updated for version 7.1-009
vimboss
parents: 1294
diff changeset
737 /**/
1294
042fa969dab1 updated for version 7.1-008
vimboss
parents: 1292
diff changeset
738 8,
042fa969dab1 updated for version 7.1-008
vimboss
parents: 1292
diff changeset
739 /**/
1292
66e40876590b updated for version 7.1-007
vimboss
parents: 1291
diff changeset
740 7,
66e40876590b updated for version 7.1-007
vimboss
parents: 1291
diff changeset
741 /**/
1291
f12d38ee49de updated for version 7.1-006
vimboss
parents: 1290
diff changeset
742 6,
f12d38ee49de updated for version 7.1-006
vimboss
parents: 1290
diff changeset
743 /**/
1290
87a777aea899 updated for version 7.1-005
vimboss
parents: 1289
diff changeset
744 5,
87a777aea899 updated for version 7.1-005
vimboss
parents: 1289
diff changeset
745 /**/
1289
d2612392202f updated for version 7.1-004
vimboss
parents: 1288
diff changeset
746 4,
d2612392202f updated for version 7.1-004
vimboss
parents: 1288
diff changeset
747 /**/
1288
2a256978a646 updated for version 7.1-003
vimboss
parents: 1287
diff changeset
748 3,
2a256978a646 updated for version 7.1-003
vimboss
parents: 1287
diff changeset
749 /**/
1287
49b5a7f186aa updated for version 7.1-002
vimboss
parents: 1286
diff changeset
750 2,
49b5a7f186aa updated for version 7.1-002
vimboss
parents: 1286
diff changeset
751 /**/
1286
152e52624521 updated for version 7.1-001
vimboss
parents: 1265
diff changeset
752 1,
152e52624521 updated for version 7.1-001
vimboss
parents: 1265
diff changeset
753 /**/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
754 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
755 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
756
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
757 int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
758 highest_patch()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 int h = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
763 for (i = 0; included_patches[i] != 0; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 if (included_patches[i] > h)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 h = included_patches[i];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
766 return h;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
767 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
768
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 #if defined(FEAT_EVAL) || defined(PROTO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
770 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
771 * Return TRUE if patch "n" has been included.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
772 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
773 int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
774 has_patch(n)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
775 int n;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
776 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
777 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779 for (i = 0; included_patches[i] != 0; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
780 if (included_patches[i] == n)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 return TRUE;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
782 return FALSE;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
783 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
785
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
786 void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
787 ex_version(eap)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
788 exarg_T *eap;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
789 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
790 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
791 * Ignore a ":version 9.99" command.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
792 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
793 if (*eap->arg == NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 msg_putchar('\n');
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
796 list_version();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
798 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
799
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800 void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801 list_version()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
803 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
804 int first;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
805 char *s = "";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
806
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
807 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
808 * When adding features here, don't forget to update the list of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
809 * internal variables in eval.c!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
810 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
811 MSG(longVersion);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
812 #ifdef WIN3264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
813 # ifdef FEAT_GUI_W32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
814 # if defined(_MSC_VER) && (_MSC_VER <= 1010)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815 /* Only MS VC 4.1 and earlier can do Win32s */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
816 MSG_PUTS(_("\nMS-Windows 16/32 bit GUI version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
817 # else
990
9adbd26f7fee updated for version 7.0-116
vimboss
parents: 989
diff changeset
818 # ifdef _WIN64
9adbd26f7fee updated for version 7.0-116
vimboss
parents: 989
diff changeset
819 MSG_PUTS(_("\nMS-Windows 64 bit GUI version"));
9adbd26f7fee updated for version 7.0-116
vimboss
parents: 989
diff changeset
820 # else
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 MSG_PUTS(_("\nMS-Windows 32 bit GUI version"));
990
9adbd26f7fee updated for version 7.0-116
vimboss
parents: 989
diff changeset
822 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
823 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
824 if (gui_is_win32s())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
825 MSG_PUTS(_(" in Win32s mode"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
826 # ifdef FEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
827 MSG_PUTS(_(" with OLE support"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
828 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
829 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
830 MSG_PUTS(_("\nMS-Windows 32 bit console version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
831 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
832 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
833 #ifdef WIN16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
834 MSG_PUTS(_("\nMS-Windows 16 bit version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
835 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
836 #ifdef MSDOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
837 # ifdef DJGPP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
838 MSG_PUTS(_("\n32 bit MS-DOS version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
839 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
840 MSG_PUTS(_("\n16 bit MS-DOS version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
841 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
842 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
843 #ifdef MACOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
844 # ifdef MACOS_X
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
845 # ifdef MACOS_X_UNIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
846 MSG_PUTS(_("\nMacOS X (unix) version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
847 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
848 MSG_PUTS(_("\nMacOS X version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
849 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
850 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
851 MSG_PUTS(_("\nMacOS version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
852 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
853 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
854
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
855 #ifdef RISCOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
856 MSG_PUTS(_("\nRISC OS version"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
857 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
858 #ifdef VMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
859 MSG_PUTS("\nOpenVMS version");
1045
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
860 # ifdef HAVE_PATHDEF
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
861 if (*compiled_arch != NUL)
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
862 {
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
863 MSG_PUTS(" - ");
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
864 MSG_PUTS(compiled_arch);
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
865 }
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
866 # endif
7f01e52cc97a updated for version 7.0-171
vimboss
parents: 1044
diff changeset
867
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
868 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
869
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
870 /* Print the list of patch numbers if there is at least one. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
871 /* Print a range when patches are consecutive: "1-10, 12, 15-40, 42-45" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
872 if (included_patches[0] != 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
873 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
874 MSG_PUTS(_("\nIncluded patches: "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
875 first = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
876 /* find last one */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
877 for (i = 0; included_patches[i] != 0; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
878 ;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879 while (--i >= 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
880 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
881 if (first < 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
882 first = included_patches[i];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
883 if (i == 0 || included_patches[i - 1] != included_patches[i] + 1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
884 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
885 MSG_PUTS(s);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
886 s = ", ";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
887 msg_outnum((long)first);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
888 if (first != included_patches[i])
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
889 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
890 MSG_PUTS("-");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 msg_outnum((long)included_patches[i]);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
892 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 first = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
895 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
897
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
898 #ifdef MODIFIED_BY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
899 MSG_PUTS("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
900 MSG_PUTS(_("Modified by "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
901 MSG_PUTS(MODIFIED_BY);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
903
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
904 #ifdef HAVE_PATHDEF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
905 if (*compiled_user != NUL || *compiled_sys != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
906 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
907 MSG_PUTS(_("\nCompiled "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
908 if (*compiled_user != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
909 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
910 MSG_PUTS(_("by "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
911 MSG_PUTS(compiled_user);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
912 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
913 if (*compiled_sys != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
914 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
915 MSG_PUTS("@");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
916 MSG_PUTS(compiled_sys);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
917 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
918 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
919 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
920
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
921 #ifdef FEAT_HUGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
922 MSG_PUTS(_("\nHuge version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
923 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
924 # ifdef FEAT_BIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
925 MSG_PUTS(_("\nBig version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
926 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
927 # ifdef FEAT_NORMAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
928 MSG_PUTS(_("\nNormal version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
929 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
930 # ifdef FEAT_SMALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
931 MSG_PUTS(_("\nSmall version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
932 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
933 MSG_PUTS(_("\nTiny version "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
934 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
935 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
936 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
937 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
938 #ifndef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
939 MSG_PUTS(_("without GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
940 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
941 # ifdef FEAT_GUI_GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
942 # ifdef FEAT_GUI_GNOME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
943 # ifdef HAVE_GTK2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
944 MSG_PUTS(_("with GTK2-GNOME GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
945 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
946 MSG_PUTS(_("with GTK-GNOME GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
947 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
948 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
949 # ifdef HAVE_GTK2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
950 MSG_PUTS(_("with GTK2 GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
951 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
952 MSG_PUTS(_("with GTK GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
953 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
954 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
955 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
956 # ifdef FEAT_GUI_MOTIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
957 MSG_PUTS(_("with X11-Motif GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
958 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
959 # ifdef FEAT_GUI_ATHENA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
960 # ifdef FEAT_GUI_NEXTAW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
961 MSG_PUTS(_("with X11-neXtaw GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
962 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
963 MSG_PUTS(_("with X11-Athena GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
964 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
965 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
966 # ifdef FEAT_GUI_PHOTON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
967 MSG_PUTS(_("with Photon GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
968 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
969 # if defined(MSWIN)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
970 MSG_PUTS(_("with GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
972 # if defined (TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
973 MSG_PUTS(_("with Carbon GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
974 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
975 # if defined (TARGET_API_MAC_OSX) && TARGET_API_MAC_OSX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
976 MSG_PUTS(_("with Cocoa GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
977 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
978 # if defined (MACOS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
979 MSG_PUTS(_("with (classic) GUI."));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
980 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
981 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
982 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
983 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
984 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
985 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
986 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
987 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
988 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
989 version_msg(_(" Features included (+) or not (-):\n"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
990
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
991 /* print all the features */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
992 for (i = 0; features[i] != NULL; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
993 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
994 version_msg(features[i]);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
995 if (msg_col > 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
996 version_msg(" ");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
997 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
998
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
999 version_msg("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1000 #ifdef SYS_VIMRC_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1001 version_msg(_(" system vimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1002 version_msg(SYS_VIMRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1003 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1004 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1005 #ifdef USR_VIMRC_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1006 version_msg(_(" user vimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1007 version_msg(USR_VIMRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1008 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1009 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1010 #ifdef USR_VIMRC_FILE2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1011 version_msg(_(" 2nd user vimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1012 version_msg(USR_VIMRC_FILE2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1013 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1014 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1015 #ifdef USR_VIMRC_FILE3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1016 version_msg(_(" 3rd user vimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1017 version_msg(USR_VIMRC_FILE3);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1018 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1019 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1020 #ifdef USR_EXRC_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1021 version_msg(_(" user exrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1022 version_msg(USR_EXRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1023 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1024 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1025 #ifdef USR_EXRC_FILE2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1026 version_msg(_(" 2nd user exrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1027 version_msg(USR_EXRC_FILE2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1028 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1029 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1030 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1031 # ifdef SYS_GVIMRC_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1032 version_msg(_(" system gvimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1033 version_msg(SYS_GVIMRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1034 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1035 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1036 version_msg(_(" user gvimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1037 version_msg(USR_GVIMRC_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1038 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1039 # ifdef USR_GVIMRC_FILE2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1040 version_msg(_("2nd user gvimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1041 version_msg(USR_GVIMRC_FILE2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1042 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1043 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1044 # ifdef USR_GVIMRC_FILE3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1045 version_msg(_("3rd user gvimrc file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1046 version_msg(USR_GVIMRC_FILE3);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1047 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1048 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1049 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1050 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1051 # ifdef SYS_MENU_FILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1052 version_msg(_(" system menu file: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1053 version_msg(SYS_MENU_FILE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1054 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1055 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1056 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1057 #ifdef HAVE_PATHDEF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1058 if (*default_vim_dir != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1059 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1060 version_msg(_(" fall-back for $VIM: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1061 version_msg((char *)default_vim_dir);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1062 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1063 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1064 if (*default_vimruntime_dir != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1065 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1066 version_msg(_(" f-b for $VIMRUNTIME: \""));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1067 version_msg((char *)default_vimruntime_dir);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1068 version_msg("\"\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1069 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1070 version_msg(_("Compilation: "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1071 version_msg((char *)all_cflags);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1072 version_msg("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1073 #ifdef VMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1074 if (*compiler_version != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1075 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1076 version_msg(_("Compiler: "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1077 version_msg((char *)compiler_version);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1078 version_msg("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1079 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1080 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1081 version_msg(_("Linking: "));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1082 version_msg((char *)all_lflags);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1083 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1084 #ifdef DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1085 version_msg("\n");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1086 version_msg(_(" DEBUG BUILD"));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1087 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1088 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1089
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1090 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1091 * 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
1092 * newline, unless the message is too long to fit on the screen anyway.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1093 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1094 static void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1095 version_msg(s)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1096 char *s;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1097 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1098 int len = (int)STRLEN(s);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1099
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1100 if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1101 && *s != '\n')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1102 msg_putchar('\n');
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1103 if (!got_int)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1104 MSG_PUTS(s);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1105 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1106
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1107 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
1108
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1109 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1110 * Give an introductory message about Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1111 * Only used when starting Vim on an empty file, without a file name.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1112 * Or with the ":intro" command (for Sven :-).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1113 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1114 void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1115 intro_message(colon)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1116 int colon; /* TRUE for ":intro" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1117 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1118 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1119 int row;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1120 int blanklines;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1121 int sponsor;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1122 char *p;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1123 static char *(lines[]) =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1124 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1125 N_("VIM - Vi IMproved"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1126 "",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1127 N_("version "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1128 N_("by Bram Moolenaar et al."),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1129 #ifdef MODIFIED_BY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1130 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1131 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1132 N_("Vim is open source and freely distributable"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1133 "",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1134 N_("Help poor children in Uganda!"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1135 N_("type :help iccf<Enter> for information "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1136 "",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1137 N_("type :q<Enter> to exit "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1138 N_("type :help<Enter> or <F1> for on-line help"),
26
404aac550f35 updated for version 7.0017
vimboss
parents: 14
diff changeset
1139 N_("type :help version7<Enter> for version info"),
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1140 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1141 "",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1142 N_("Running in Vi compatible mode"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1143 N_("type :set nocp<Enter> for Vim defaults"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1144 N_("type :help cp-default<Enter> for info on this"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1145 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1146 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1147 static char *(gui_lines[]) =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1148 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1149 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1150 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1151 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1152 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1153 #ifdef MODIFIED_BY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1154 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1155 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1156 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1157 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1158 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1159 N_("menu Help->Orphans for information "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1160 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1161 N_("Running modeless, typed text is inserted"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1162 N_("menu Edit->Global Settings->Toggle Insert Mode "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1163 N_(" for two modes "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1164 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1165 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1166 NULL,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1167 N_("menu Edit->Global Settings->Toggle Vi Compatible"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1168 N_(" for Vim defaults "),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1169 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1170 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1171
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1172 /* blanklines = screen height - # message lines */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1173 blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1174 if (!p_cp)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1175 blanklines += 4; /* add 4 for not showing "Vi compatible" message */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1176 #if defined(WIN3264) && !defined(FEAT_GUI_W32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1177 if (mch_windows95())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1178 blanklines -= 3; /* subtract 3 for showing "Windows 95" message */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1179 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1181 #ifdef FEAT_WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1182 /* Don't overwrite a statusline. Depends on 'cmdheight'. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1183 if (p_ls > 1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1184 blanklines -= Rows - topframe->fr_height;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1185 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1186 if (blanklines < 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1187 blanklines = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1188
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1189 /* Show the sponsor and register message one out of four times, the Uganda
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1190 * message two out of four times. */
615
7fe13e0f5dce updated for version 7.0175
vimboss
parents: 574
diff changeset
1191 sponsor = (int)time(NULL);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1192 sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1193
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1194 /* start displaying the message lines after half of the blank lines */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1195 row = blanklines / 2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1196 if ((row >= 2 && Columns >= 50) || colon)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1197 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1198 for (i = 0; i < (int)(sizeof(lines) / sizeof(char *)); ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1199 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1200 p = lines[i];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1201 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1202 if (p_im && gui.in_use && gui_lines[i] != NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1203 p = gui_lines[i];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1204 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1205 if (p == NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1206 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1207 if (!p_cp)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1208 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1209 continue;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1210 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1211 if (sponsor != 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1212 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1213 if (strstr(p, "children") != NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1214 p = sponsor < 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1215 ? N_("Sponsor Vim development!")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1216 : N_("Become a registered Vim user!");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1217 else if (strstr(p, "iccf") != NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1218 p = sponsor < 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1219 ? N_("type :help sponsor<Enter> for information ")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1220 : N_("type :help register<Enter> for information ");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1221 else if (strstr(p, "Orphans") != NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1222 p = N_("menu Help->Sponsor/Register for information ");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1223 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1224 if (*p != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1225 do_intro_line(row, (char_u *)_(p), i == 2, 0);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1226 ++row;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1227 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1228 #if defined(WIN3264) && !defined(FEAT_GUI_W32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1229 if (mch_windows95())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1230 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1231 do_intro_line(++row,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1232 (char_u *)_("WARNING: Windows 95/98/ME detected"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1233 FALSE, hl_attr(HLF_E));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1234 do_intro_line(++row,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1235 (char_u *)_("type :help windows95<Enter> for info on this"),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1236 FALSE, 0);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1237 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1238 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1239 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1240
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1241 /* Make the wait-return message appear just below the text. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1242 if (colon)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1243 msg_row = row;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1244 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1245
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1246 static void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1247 do_intro_line(row, mesg, add_version, attr)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1248 int row;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1249 char_u *mesg;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1250 int add_version;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1251 int attr;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1252 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1253 char_u vers[20];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1254 int col;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1255 char_u *p;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1256 int l;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1257 int clen;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1258 #ifdef MODIFIED_BY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1259 # define MODBY_LEN 150
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1260 char_u modby[MODBY_LEN];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1261
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1262 if (*mesg == ' ')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1263 {
419
f713fc55bf7b updated for version 7.0109
vimboss
parents: 378
diff changeset
1264 vim_strncpy(modby, _("Modified by "), MODBY_LEN - 1);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1265 l = STRLEN(modby);
419
f713fc55bf7b updated for version 7.0109
vimboss
parents: 378
diff changeset
1266 vim_strncpy(modby + l, MODIFIED_BY, MODBY_LEN - l - 1);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1267 mesg = modby;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1268 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1269 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1270
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1271 /* Center the message horizontally. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1272 col = vim_strsize(mesg);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1273 if (add_version)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1274 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1275 STRCPY(vers, mediumVersion);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1276 if (highest_patch())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1277 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1278 /* Check for 9.9x or 9.9xx, alpha/beta version */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1279 if (isalpha((int)mediumVersion[3]))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1280 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1281 if (isalpha((int)mediumVersion[4]))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1282 sprintf((char *)vers + 5, ".%d%s", highest_patch(),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1283 mediumVersion + 5);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1284 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1285 sprintf((char *)vers + 4, ".%d%s", highest_patch(),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1286 mediumVersion + 4);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1287 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1288 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1289 sprintf((char *)vers + 3, ".%d", highest_patch());
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1290 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1291 col += (int)STRLEN(vers);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1292 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1293 col = (Columns - col) / 2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1294 if (col < 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1295 col = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1296
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1297 /* Split up in parts to highlight <> items differently. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1298 for (p = mesg; *p != NUL; p += l)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1299 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1300 clen = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1301 for (l = 0; p[l] != NUL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1302 && (l == 0 || (p[l] != '<' && p[l - 1] != '>')); ++l)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1303 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1304 #ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1305 if (has_mbyte)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1306 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1307 clen += ptr2cells(p + l);
474
a5fcf36ef512 updated for version 7.0127
vimboss
parents: 419
diff changeset
1308 l += (*mb_ptr2len)(p + l) - 1;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1309 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1310 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1311 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1312 clen += byte2cells(p[l]);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1313 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1314 screen_puts_len(p, l, row, col, *p == '<' ? hl_attr(HLF_8) : attr);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1315 col += clen;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1316 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1317
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1318 /* Add the version number to the version line. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1319 if (add_version)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1320 screen_puts(vers, row, col, 0);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1321 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1322
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1323 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1324 * ":intro": clear screen, display intro screen and wait for return.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1325 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1326 /*ARGSUSED*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1327 void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1328 ex_intro(eap)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1329 exarg_T *eap;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1330 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1331 screenclear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1332 intro_message(TRUE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1333 wait_return(TRUE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1334 }