Mercurial > vim
annotate src/version.c @ 3302:4500a0ad2e0a v7.3.418
updated for version 7.3.418
Problem: When a user complete function returns -1 an error message is
given.
Solution: When -2 is returned stop completion silently. (Yasuhiro Matsumoto)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 26 Jan 2012 18:58:38 +0100 |
parents | 63d3541d0733 |
children | f4574729f6df |
rev | line source |
---|---|
7 | 1 /* vi:set ts=8 sts=4 sw=4: |
2 * | |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 * See README.txt for an overview of the Vim source code. | |
8 */ | |
9 | |
10 #include "vim.h" | |
11 | |
12 #ifdef AMIGA | |
13 # include <time.h> /* for time() */ | |
14 #endif | |
15 | |
16 /* | |
17 * Vim originated from Stevie version 3.6 (Fish disk 217) by GRWalter (Fred) | |
18 * It has been changed beyond recognition since then. | |
19 * | |
26 | 20 * Differences between version 6.x and 7.x can be found with ":help version7". |
7 | 21 * Differences between version 5.x and 6.x can be found with ":help version6". |
22 * Differences between version 4.x and 5.x can be found with ":help version5". | |
23 * Differences between version 3.0 and 4.x can be found with ":help version4". | |
24 * All the remarks about older versions have been removed, they are not very | |
25 * interesting. | |
26 */ | |
27 | |
28 #include "version.h" | |
29 | |
378 | 30 char *Version = VIM_VERSION_SHORT; |
31 static char *mediumVersion = VIM_VERSION_MEDIUM; | |
7 | 32 |
33 #if defined(HAVE_DATE_TIME) || defined(PROTO) | |
34 # if (defined(VMS) && defined(VAXC)) || defined(PROTO) | |
35 char longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__) | |
36 + sizeof(__TIME__) + 3]; | |
37 void | |
38 make_version() | |
39 { | |
40 /* | |
41 * Construct the long version string. Necessary because | |
42 * VAX C can't catenate strings in the preprocessor. | |
43 */ | |
44 strcpy(longVersion, VIM_VERSION_LONG_DATE); | |
45 strcat(longVersion, __DATE__); | |
46 strcat(longVersion, " "); | |
47 strcat(longVersion, __TIME__); | |
48 strcat(longVersion, ")"); | |
49 } | |
50 # else | |
51 char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")"; | |
52 # endif | |
53 #else | |
54 char *longVersion = VIM_VERSION_LONG; | |
55 #endif | |
56 | |
57 static void version_msg __ARGS((char *s)); | |
58 | |
59 static char *(features[]) = | |
60 { | |
61 #ifdef AMIGA /* only for Amiga systems */ | |
62 # ifdef FEAT_ARP | |
63 "+ARP", | |
64 # else | |
65 "-ARP", | |
66 # endif | |
67 #endif | |
68 #ifdef FEAT_ARABIC | |
69 "+arabic", | |
70 #else | |
71 "-arabic", | |
72 #endif | |
73 #ifdef FEAT_AUTOCMD | |
74 "+autocmd", | |
75 #else | |
76 "-autocmd", | |
77 #endif | |
78 #ifdef FEAT_BEVAL | |
79 "+balloon_eval", | |
80 #else | |
81 "-balloon_eval", | |
82 #endif | |
83 #ifdef FEAT_BROWSE | |
84 "+browse", | |
85 #else | |
86 "-browse", | |
87 #endif | |
88 #ifdef NO_BUILTIN_TCAPS | |
89 "-builtin_terms", | |
90 #endif | |
91 #ifdef SOME_BUILTIN_TCAPS | |
92 "+builtin_terms", | |
93 #endif | |
94 #ifdef ALL_BUILTIN_TCAPS | |
95 "++builtin_terms", | |
96 #endif | |
97 #ifdef FEAT_BYTEOFF | |
98 "+byte_offset", | |
99 #else | |
100 "-byte_offset", | |
101 #endif | |
102 #ifdef FEAT_CINDENT | |
103 "+cindent", | |
104 #else | |
105 "-cindent", | |
106 #endif | |
107 #ifdef FEAT_CLIENTSERVER | |
108 "+clientserver", | |
109 #else | |
110 "-clientserver", | |
111 #endif | |
112 #ifdef FEAT_CLIPBOARD | |
113 "+clipboard", | |
114 #else | |
115 "-clipboard", | |
116 #endif | |
117 #ifdef FEAT_CMDL_COMPL | |
118 "+cmdline_compl", | |
119 #else | |
120 "-cmdline_compl", | |
121 #endif | |
122 #ifdef FEAT_CMDHIST | |
123 "+cmdline_hist", | |
124 #else | |
125 "-cmdline_hist", | |
126 #endif | |
127 #ifdef FEAT_CMDL_INFO | |
128 "+cmdline_info", | |
129 #else | |
130 "-cmdline_info", | |
131 #endif | |
132 #ifdef FEAT_COMMENTS | |
133 "+comments", | |
134 #else | |
135 "-comments", | |
136 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
137 #ifdef FEAT_CONCEAL |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
138 "+conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
139 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
140 "-conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
141 #endif |
7 | 142 #ifdef FEAT_CRYPT |
143 "+cryptv", | |
144 #else | |
145 "-cryptv", | |
146 #endif | |
147 #ifdef FEAT_CSCOPE | |
148 "+cscope", | |
149 #else | |
150 "-cscope", | |
151 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
152 #ifdef FEAT_CURSORBIND |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
153 "+cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
154 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
155 "-cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
156 #endif |
647 | 157 #ifdef CURSOR_SHAPE |
158 "+cursorshape", | |
159 #else | |
160 "-cursorshape", | |
161 #endif | |
7 | 162 #if defined(FEAT_CON_DIALOG) && defined(FEAT_GUI_DIALOG) |
163 "+dialog_con_gui", | |
164 #else | |
165 # if defined(FEAT_CON_DIALOG) | |
166 "+dialog_con", | |
167 # else | |
168 # if defined(FEAT_GUI_DIALOG) | |
169 "+dialog_gui", | |
170 # else | |
171 "-dialog", | |
172 # endif | |
173 # endif | |
174 #endif | |
175 #ifdef FEAT_DIFF | |
176 "+diff", | |
177 #else | |
178 "-diff", | |
179 #endif | |
180 #ifdef FEAT_DIGRAPHS | |
181 "+digraphs", | |
182 #else | |
183 "-digraphs", | |
184 #endif | |
185 #ifdef FEAT_DND | |
186 "+dnd", | |
187 #else | |
188 "-dnd", | |
189 #endif | |
190 #ifdef EBCDIC | |
191 "+ebcdic", | |
192 #else | |
193 "-ebcdic", | |
194 #endif | |
195 #ifdef FEAT_EMACS_TAGS | |
196 "+emacs_tags", | |
197 #else | |
198 "-emacs_tags", | |
199 #endif | |
200 #ifdef FEAT_EVAL | |
201 "+eval", | |
202 #else | |
203 "-eval", | |
204 #endif | |
205 #ifdef FEAT_EX_EXTRA | |
206 "+ex_extra", | |
207 #else | |
208 "-ex_extra", | |
209 #endif | |
210 #ifdef FEAT_SEARCH_EXTRA | |
211 "+extra_search", | |
212 #else | |
213 "-extra_search", | |
214 #endif | |
215 #ifdef FEAT_FKMAP | |
216 "+farsi", | |
217 #else | |
218 "-farsi", | |
219 #endif | |
220 #ifdef FEAT_SEARCHPATH | |
221 "+file_in_path", | |
222 #else | |
223 "-file_in_path", | |
224 #endif | |
225 #ifdef FEAT_FIND_ID | |
226 "+find_in_path", | |
227 #else | |
228 "-find_in_path", | |
229 #endif | |
1621 | 230 #ifdef FEAT_FLOAT |
231 "+float", | |
232 #else | |
233 "-float", | |
234 #endif | |
7 | 235 #ifdef FEAT_FOLDING |
236 "+folding", | |
237 #else | |
238 "-folding", | |
239 #endif | |
240 #ifdef FEAT_FOOTER | |
241 "+footer", | |
242 #else | |
243 "-footer", | |
244 #endif | |
245 /* only interesting on Unix systems */ | |
246 #if !defined(USE_SYSTEM) && defined(UNIX) | |
247 "+fork()", | |
248 #endif | |
249 #ifdef FEAT_GETTEXT | |
250 # ifdef DYNAMIC_GETTEXT | |
251 "+gettext/dyn", | |
252 # else | |
253 "+gettext", | |
254 # endif | |
255 #else | |
256 "-gettext", | |
257 #endif | |
258 #ifdef FEAT_HANGULIN | |
259 "+hangul_input", | |
260 #else | |
261 "-hangul_input", | |
262 #endif | |
263 #if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV) | |
264 # ifdef DYNAMIC_ICONV | |
265 "+iconv/dyn", | |
266 # else | |
267 "+iconv", | |
268 # endif | |
269 #else | |
270 "-iconv", | |
271 #endif | |
272 #ifdef FEAT_INS_EXPAND | |
273 "+insert_expand", | |
274 #else | |
275 "-insert_expand", | |
276 #endif | |
277 #ifdef FEAT_JUMPLIST | |
278 "+jumplist", | |
279 #else | |
280 "-jumplist", | |
281 #endif | |
282 #ifdef FEAT_KEYMAP | |
283 "+keymap", | |
284 #else | |
285 "-keymap", | |
286 #endif | |
287 #ifdef FEAT_LANGMAP | |
288 "+langmap", | |
289 #else | |
290 "-langmap", | |
291 #endif | |
292 #ifdef FEAT_LIBCALL | |
293 "+libcall", | |
294 #else | |
295 "-libcall", | |
296 #endif | |
297 #ifdef FEAT_LINEBREAK | |
298 "+linebreak", | |
299 #else | |
300 "-linebreak", | |
301 #endif | |
302 #ifdef FEAT_LISP | |
303 "+lispindent", | |
304 #else | |
305 "-lispindent", | |
306 #endif | |
307 #ifdef FEAT_LISTCMDS | |
308 "+listcmds", | |
309 #else | |
310 "-listcmds", | |
311 #endif | |
312 #ifdef FEAT_LOCALMAP | |
313 "+localmap", | |
314 #else | |
315 "-localmap", | |
316 #endif | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
317 #ifdef FEAT_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
318 # ifdef DYNAMIC_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
319 "+lua/dyn", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
320 # else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
321 "+lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
322 # endif |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
323 #else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
324 "-lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
325 #endif |
7 | 326 #ifdef FEAT_MENU |
327 "+menu", | |
328 #else | |
329 "-menu", | |
330 #endif | |
331 #ifdef FEAT_SESSION | |
332 "+mksession", | |
333 #else | |
334 "-mksession", | |
335 #endif | |
336 #ifdef FEAT_MODIFY_FNAME | |
337 "+modify_fname", | |
338 #else | |
339 "-modify_fname", | |
340 #endif | |
341 #ifdef FEAT_MOUSE | |
342 "+mouse", | |
343 # ifdef FEAT_MOUSESHAPE | |
344 "+mouseshape", | |
345 # else | |
346 "-mouseshape", | |
347 # endif | |
348 # else | |
349 "-mouse", | |
350 #endif | |
351 #if defined(UNIX) || defined(VMS) | |
352 # ifdef FEAT_MOUSE_DEC | |
353 "+mouse_dec", | |
354 # else | |
355 "-mouse_dec", | |
356 # endif | |
357 # ifdef FEAT_MOUSE_GPM | |
358 "+mouse_gpm", | |
359 # else | |
360 "-mouse_gpm", | |
361 # endif | |
362 # ifdef FEAT_MOUSE_JSB | |
363 "+mouse_jsbterm", | |
364 # else | |
365 "-mouse_jsbterm", | |
366 # endif | |
367 # ifdef FEAT_MOUSE_NET | |
368 "+mouse_netterm", | |
369 # else | |
370 "-mouse_netterm", | |
371 # endif | |
1621 | 372 # ifdef FEAT_SYSMOUSE |
373 "+mouse_sysmouse", | |
374 # else | |
375 "-mouse_sysmouse", | |
376 # endif | |
7 | 377 # ifdef FEAT_MOUSE_XTERM |
378 "+mouse_xterm", | |
379 # else | |
380 "-mouse_xterm", | |
381 # endif | |
3145 | 382 # ifdef FEAT_MOUSE_URXVT |
383 "+mouse_urxvt", | |
384 # else | |
385 "-mouse_urxvt", | |
386 # endif | |
7 | 387 #endif |
388 #ifdef __QNX__ | |
389 # ifdef FEAT_MOUSE_PTERM | |
390 "+mouse_pterm", | |
391 # else | |
392 "-mouse_pterm", | |
393 # endif | |
394 #endif | |
395 #ifdef FEAT_MBYTE_IME | |
396 # ifdef DYNAMIC_IME | |
397 "+multi_byte_ime/dyn", | |
398 # else | |
399 "+multi_byte_ime", | |
400 # endif | |
401 #else | |
402 # ifdef FEAT_MBYTE | |
403 "+multi_byte", | |
404 # else | |
405 "-multi_byte", | |
406 # endif | |
407 #endif | |
408 #ifdef FEAT_MULTI_LANG | |
409 "+multi_lang", | |
410 #else | |
411 "-multi_lang", | |
412 #endif | |
14 | 413 #ifdef FEAT_MZSCHEME |
132 | 414 # ifdef DYNAMIC_MZSCHEME |
415 "+mzscheme/dyn", | |
416 # else | |
14 | 417 "+mzscheme", |
132 | 418 # endif |
14 | 419 #else |
420 "-mzscheme", | |
421 #endif | |
7 | 422 #ifdef FEAT_NETBEANS_INTG |
423 "+netbeans_intg", | |
424 #else | |
425 "-netbeans_intg", | |
426 #endif | |
427 #ifdef FEAT_GUI_W32 | |
428 # ifdef FEAT_OLE | |
429 "+ole", | |
430 # else | |
431 "-ole", | |
432 # endif | |
433 #endif | |
434 #ifdef FEAT_PATH_EXTRA | |
435 "+path_extra", | |
436 #else | |
437 "-path_extra", | |
438 #endif | |
439 #ifdef FEAT_PERL | |
440 # ifdef DYNAMIC_PERL | |
441 "+perl/dyn", | |
442 # else | |
443 "+perl", | |
444 # endif | |
445 #else | |
446 "-perl", | |
447 #endif | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
448 #ifdef FEAT_PERSISTENT_UNDO |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
449 "+persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
450 #else |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
451 "-persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
452 #endif |
7 | 453 #ifdef FEAT_PRINTER |
454 # ifdef FEAT_POSTSCRIPT | |
455 "+postscript", | |
456 # else | |
457 "-postscript", | |
458 # endif | |
459 "+printer", | |
460 #else | |
461 "-printer", | |
462 #endif | |
170 | 463 #ifdef FEAT_PROFILE |
464 "+profile", | |
465 #else | |
466 "-profile", | |
467 #endif | |
7 | 468 #ifdef FEAT_PYTHON |
469 # ifdef DYNAMIC_PYTHON | |
470 "+python/dyn", | |
471 # else | |
472 "+python", | |
473 # endif | |
474 #else | |
475 "-python", | |
476 #endif | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
477 #ifdef FEAT_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
478 # ifdef DYNAMIC_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
479 "+python3/dyn", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
480 # else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
481 "+python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
482 # endif |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
483 #else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
484 "-python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
485 #endif |
7 | 486 #ifdef FEAT_QUICKFIX |
487 "+quickfix", | |
488 #else | |
489 "-quickfix", | |
490 #endif | |
857 | 491 #ifdef FEAT_RELTIME |
492 "+reltime", | |
493 #else | |
494 "-reltime", | |
495 #endif | |
7 | 496 #ifdef FEAT_RIGHTLEFT |
497 "+rightleft", | |
498 #else | |
499 "-rightleft", | |
500 #endif | |
501 #ifdef FEAT_RUBY | |
502 # ifdef DYNAMIC_RUBY | |
503 "+ruby/dyn", | |
504 # else | |
505 "+ruby", | |
506 # endif | |
507 #else | |
508 "-ruby", | |
509 #endif | |
510 #ifdef FEAT_SCROLLBIND | |
511 "+scrollbind", | |
512 #else | |
513 "-scrollbind", | |
514 #endif | |
515 #ifdef FEAT_SIGNS | |
516 "+signs", | |
517 #else | |
518 "-signs", | |
519 #endif | |
520 #ifdef FEAT_SMARTINDENT | |
521 "+smartindent", | |
522 #else | |
523 "-smartindent", | |
524 #endif | |
525 #ifdef FEAT_SNIFF | |
526 "+sniff", | |
527 #else | |
528 "-sniff", | |
529 #endif | |
1989 | 530 #ifdef STARTUPTIME |
531 "+startuptime", | |
532 #else | |
533 "-startuptime", | |
534 #endif | |
7 | 535 #ifdef FEAT_STL_OPT |
536 "+statusline", | |
537 #else | |
538 "-statusline", | |
539 #endif | |
540 #ifdef FEAT_SUN_WORKSHOP | |
541 "+sun_workshop", | |
542 #else | |
543 "-sun_workshop", | |
544 #endif | |
545 #ifdef FEAT_SYN_HL | |
546 "+syntax", | |
547 #else | |
548 "-syntax", | |
549 #endif | |
550 /* only interesting on Unix systems */ | |
551 #if defined(USE_SYSTEM) && (defined(UNIX) || defined(__EMX__)) | |
552 "+system()", | |
553 #endif | |
554 #ifdef FEAT_TAG_BINS | |
555 "+tag_binary", | |
556 #else | |
557 "-tag_binary", | |
558 #endif | |
559 #ifdef FEAT_TAG_OLDSTATIC | |
560 "+tag_old_static", | |
561 #else | |
562 "-tag_old_static", | |
563 #endif | |
564 #ifdef FEAT_TAG_ANYWHITE | |
565 "+tag_any_white", | |
566 #else | |
567 "-tag_any_white", | |
568 #endif | |
569 #ifdef FEAT_TCL | |
570 # ifdef DYNAMIC_TCL | |
571 "+tcl/dyn", | |
572 # else | |
573 "+tcl", | |
574 # endif | |
575 #else | |
576 "-tcl", | |
577 #endif | |
578 #if defined(UNIX) || defined(__EMX__) | |
579 /* only Unix (or OS/2 with EMX!) can have terminfo instead of termcap */ | |
580 # ifdef TERMINFO | |
581 "+terminfo", | |
582 # else | |
583 "-terminfo", | |
584 # endif | |
585 #else /* unix always includes termcap support */ | |
586 # ifdef HAVE_TGETENT | |
587 "+tgetent", | |
588 # else | |
589 "-tgetent", | |
590 # endif | |
591 #endif | |
592 #ifdef FEAT_TERMRESPONSE | |
593 "+termresponse", | |
594 #else | |
595 "-termresponse", | |
596 #endif | |
597 #ifdef FEAT_TEXTOBJ | |
598 "+textobjects", | |
599 #else | |
600 "-textobjects", | |
601 #endif | |
602 #ifdef FEAT_TITLE | |
603 "+title", | |
604 #else | |
605 "-title", | |
606 #endif | |
607 #ifdef FEAT_TOOLBAR | |
608 "+toolbar", | |
609 #else | |
610 "-toolbar", | |
611 #endif | |
612 #ifdef FEAT_USR_CMDS | |
613 "+user_commands", | |
614 #else | |
615 "-user_commands", | |
616 #endif | |
617 #ifdef FEAT_VERTSPLIT | |
618 "+vertsplit", | |
619 #else | |
620 "-vertsplit", | |
621 #endif | |
622 #ifdef FEAT_VIRTUALEDIT | |
623 "+virtualedit", | |
624 #else | |
625 "-virtualedit", | |
626 #endif | |
627 #ifdef FEAT_VISUAL | |
628 "+visual", | |
629 # ifdef FEAT_VISUALEXTRA | |
630 "+visualextra", | |
631 # else | |
632 "-visualextra", | |
633 # endif | |
634 #else | |
635 "-visual", | |
636 #endif | |
637 #ifdef FEAT_VIMINFO | |
638 "+viminfo", | |
639 #else | |
640 "-viminfo", | |
641 #endif | |
642 #ifdef FEAT_VREPLACE | |
643 "+vreplace", | |
644 #else | |
645 "-vreplace", | |
646 #endif | |
647 #ifdef FEAT_WILDIGN | |
648 "+wildignore", | |
649 #else | |
650 "-wildignore", | |
651 #endif | |
652 #ifdef FEAT_WILDMENU | |
653 "+wildmenu", | |
654 #else | |
655 "-wildmenu", | |
656 #endif | |
657 #ifdef FEAT_WINDOWS | |
658 "+windows", | |
659 #else | |
660 "-windows", | |
661 #endif | |
662 #ifdef FEAT_WRITEBACKUP | |
663 "+writebackup", | |
664 #else | |
665 "-writebackup", | |
666 #endif | |
667 #if defined(UNIX) || defined(VMS) | |
668 # ifdef FEAT_X11 | |
669 "+X11", | |
670 # else | |
671 "-X11", | |
672 # endif | |
673 #endif | |
674 #ifdef FEAT_XFONTSET | |
675 "+xfontset", | |
676 #else | |
677 "-xfontset", | |
678 #endif | |
679 #ifdef FEAT_XIM | |
680 "+xim", | |
681 #else | |
682 "-xim", | |
683 #endif | |
684 #if defined(UNIX) || defined(VMS) | |
685 # ifdef USE_XSMP_INTERACT | |
686 "+xsmp_interact", | |
687 # else | |
688 # ifdef USE_XSMP | |
689 "+xsmp", | |
690 # else | |
691 "-xsmp", | |
692 # endif | |
693 # endif | |
694 # ifdef FEAT_XCLIPBOARD | |
695 "+xterm_clipboard", | |
696 # else | |
697 "-xterm_clipboard", | |
698 # endif | |
699 #endif | |
700 #ifdef FEAT_XTERM_SAVE | |
701 "+xterm_save", | |
702 #else | |
703 "-xterm_save", | |
704 #endif | |
705 #ifdef WIN3264 | |
706 # ifdef FEAT_XPM_W32 | |
707 "+xpm_w32", | |
708 # else | |
709 "-xpm_w32", | |
710 # endif | |
711 #endif | |
712 NULL | |
713 }; | |
714 | |
715 static int included_patches[] = | |
716 { /* Add new patch number below this line */ | |
717 /**/ | |
3302 | 718 418, |
719 /**/ | |
3300 | 720 417, |
721 /**/ | |
3298 | 722 416, |
723 /**/ | |
3294 | 724 415, |
725 /**/ | |
3292 | 726 414, |
727 /**/ | |
3290 | 728 413, |
729 /**/ | |
3288 | 730 412, |
731 /**/ | |
3286 | 732 411, |
733 /**/ | |
3284 | 734 410, |
735 /**/ | |
3282 | 736 409, |
737 /**/ | |
3279 | 738 408, |
739 /**/ | |
3277 | 740 407, |
741 /**/ | |
3275 | 742 406, |
743 /**/ | |
3273 | 744 405, |
745 /**/ | |
3271 | 746 404, |
747 /**/ | |
3269 | 748 403, |
749 /**/ | |
3267 | 750 402, |
751 /**/ | |
3265 | 752 401, |
753 /**/ | |
3263 | 754 400, |
755 /**/ | |
3261 | 756 399, |
757 /**/ | |
3259 | 758 398, |
759 /**/ | |
3257 | 760 397, |
761 /**/ | |
3254 | 762 396, |
763 /**/ | |
3252 | 764 395, |
765 /**/ | |
3250 | 766 394, |
767 /**/ | |
3248 | 768 393, |
769 /**/ | |
3246 | 770 392, |
771 /**/ | |
3244 | 772 391, |
773 /**/ | |
3242 | 774 390, |
775 /**/ | |
3240 | 776 389, |
777 /**/ | |
3238 | 778 388, |
779 /**/ | |
3235 | 780 387, |
781 /**/ | |
3233 | 782 386, |
783 /**/ | |
3231 | 784 385, |
785 /**/ | |
3229 | 786 384, |
787 /**/ | |
3227 | 788 383, |
789 /**/ | |
3225 | 790 382, |
791 /**/ | |
3222 | 792 381, |
793 /**/ | |
3220 | 794 380, |
795 /**/ | |
3218 | 796 379, |
797 /**/ | |
3216 | 798 378, |
799 /**/ | |
3214 | 800 377, |
801 /**/ | |
3212 | 802 376, |
803 /**/ | |
3210 | 804 375, |
805 /**/ | |
3208 | 806 374, |
807 /**/ | |
3206 | 808 373, |
809 /**/ | |
3204 | 810 372, |
811 /**/ | |
3202 | 812 371, |
813 /**/ | |
3200 | 814 370, |
815 /**/ | |
3198 | 816 369, |
817 /**/ | |
3196 | 818 368, |
819 /**/ | |
3194 | 820 367, |
821 /**/ | |
3192 | 822 366, |
823 /**/ | |
3190 | 824 365, |
825 /**/ | |
3188 | 826 364, |
827 /**/ | |
3186 | 828 363, |
829 /**/ | |
3184 | 830 362, |
831 /**/ | |
3182 | 832 361, |
833 /**/ | |
3180 | 834 360, |
835 /**/ | |
3178 | 836 359, |
837 /**/ | |
3176 | 838 358, |
839 /**/ | |
3174 | 840 357, |
841 /**/ | |
3172 | 842 356, |
843 /**/ | |
3170 | 844 355, |
845 /**/ | |
3168 | 846 354, |
847 /**/ | |
3166 | 848 353, |
849 /**/ | |
3164 | 850 352, |
851 /**/ | |
3162 | 852 351, |
853 /**/ | |
3160 | 854 350, |
855 /**/ | |
3158 | 856 349, |
857 /**/ | |
3156 | 858 348, |
859 /**/ | |
3154 | 860 347, |
861 /**/ | |
3151 | 862 346, |
863 /**/ | |
3149 | 864 345, |
865 /**/ | |
3147 | 866 344, |
867 /**/ | |
3145 | 868 343, |
869 /**/ | |
3143 | 870 342, |
871 /**/ | |
3141 | 872 341, |
873 /**/ | |
3139 | 874 340, |
875 /**/ | |
3137 | 876 339, |
877 /**/ | |
3135 | 878 338, |
879 /**/ | |
3133 | 880 337, |
881 /**/ | |
3131 | 882 336, |
883 /**/ | |
3129 | 884 335, |
885 /**/ | |
3127 | 886 334, |
887 /**/ | |
3125 | 888 333, |
889 /**/ | |
3123 | 890 332, |
891 /**/ | |
3121 | 892 331, |
893 /**/ | |
3119 | 894 330, |
895 /**/ | |
3116 | 896 329, |
897 /**/ | |
3114 | 898 328, |
899 /**/ | |
3112 | 900 327, |
901 /**/ | |
3110 | 902 326, |
903 /**/ | |
3108 | 904 325, |
905 /**/ | |
3106 | 906 324, |
907 /**/ | |
3104 | 908 323, |
909 /**/ | |
3102 | 910 322, |
911 /**/ | |
3100 | 912 321, |
913 /**/ | |
3097 | 914 320, |
915 /**/ | |
3095 | 916 319, |
917 /**/ | |
3093 | 918 318, |
919 /**/ | |
3091 | 920 317, |
921 /**/ | |
3089 | 922 316, |
923 /**/ | |
3087 | 924 315, |
925 /**/ | |
3085 | 926 314, |
927 /**/ | |
3083 | 928 313, |
929 /**/ | |
3080 | 930 312, |
931 /**/ | |
3078 | 932 311, |
933 /**/ | |
3076 | 934 310, |
935 /**/ | |
3074 | 936 309, |
937 /**/ | |
3072 | 938 308, |
939 /**/ | |
3070 | 940 307, |
941 /**/ | |
3068 | 942 306, |
943 /**/ | |
3066 | 944 305, |
945 /**/ | |
3064 | 946 304, |
947 /**/ | |
3062 | 948 303, |
949 /**/ | |
3060 | 950 302, |
951 /**/ | |
3058 | 952 301, |
953 /**/ | |
3056 | 954 300, |
955 /**/ | |
3054 | 956 299, |
957 /**/ | |
3052 | 958 298, |
959 /**/ | |
3050 | 960 297, |
961 /**/ | |
3048 | 962 296, |
963 /**/ | |
3046 | 964 295, |
965 /**/ | |
3044 | 966 294, |
967 /**/ | |
3042 | 968 293, |
969 /**/ | |
3040 | 970 292, |
971 /**/ | |
3038 | 972 291, |
973 /**/ | |
3036 | 974 290, |
975 /**/ | |
3034 | 976 289, |
977 /**/ | |
3032 | 978 288, |
979 /**/ | |
3030 | 980 287, |
981 /**/ | |
3028 | 982 286, |
983 /**/ | |
3026 | 984 285, |
985 /**/ | |
3024 | 986 284, |
987 /**/ | |
3022 | 988 283, |
989 /**/ | |
3020 | 990 282, |
991 /**/ | |
3018 | 992 281, |
993 /**/ | |
3016 | 994 280, |
995 /**/ | |
3014 | 996 279, |
997 /**/ | |
3012 | 998 278, |
999 /**/ | |
3010 | 1000 277, |
1001 /**/ | |
3008 | 1002 276, |
1003 /**/ | |
3006 | 1004 275, |
1005 /**/ | |
3004 | 1006 274, |
1007 /**/ | |
3002 | 1008 273, |
1009 /**/ | |
3000 | 1010 272, |
1011 /**/ | |
2998 | 1012 271, |
1013 /**/ | |
2996 | 1014 270, |
1015 /**/ | |
2994 | 1016 269, |
1017 /**/ | |
2992 | 1018 268, |
1019 /**/ | |
2990 | 1020 267, |
1021 /**/ | |
2988 | 1022 266, |
1023 /**/ | |
2986 | 1024 265, |
1025 /**/ | |
2984 | 1026 264, |
1027 /**/ | |
2982 | 1028 263, |
1029 /**/ | |
2980 | 1030 262, |
1031 /**/ | |
2978 | 1032 261, |
1033 /**/ | |
2976 | 1034 260, |
1035 /**/ | |
2974 | 1036 259, |
1037 /**/ | |
2972 | 1038 258, |
1039 /**/ | |
2970 | 1040 257, |
1041 /**/ | |
2968 | 1042 256, |
1043 /**/ | |
2966 | 1044 255, |
1045 /**/ | |
2963 | 1046 254, |
1047 /**/ | |
2961 | 1048 253, |
1049 /**/ | |
2959 | 1050 252, |
1051 /**/ | |
2957 | 1052 251, |
1053 /**/ | |
2955 | 1054 250, |
1055 /**/ | |
2953 | 1056 249, |
1057 /**/ | |
2951 | 1058 248, |
1059 /**/ | |
2949 | 1060 247, |
1061 /**/ | |
2947 | 1062 246, |
1063 /**/ | |
2945 | 1064 245, |
1065 /**/ | |
2943 | 1066 244, |
1067 /**/ | |
2941 | 1068 243, |
1069 /**/ | |
2939 | 1070 242, |
1071 /**/ | |
2937 | 1072 241, |
1073 /**/ | |
2935 | 1074 240, |
1075 /**/ | |
2933 | 1076 239, |
1077 /**/ | |
2931 | 1078 238, |
1079 /**/ | |
2929 | 1080 237, |
1081 /**/ | |
2927 | 1082 236, |
1083 /**/ | |
2925 | 1084 235, |
1085 /**/ | |
2923 | 1086 234, |
1087 /**/ | |
2921 | 1088 233, |
1089 /**/ | |
2919 | 1090 232, |
1091 /**/ | |
2917 | 1092 231, |
1093 /**/ | |
2915 | 1094 230, |
1095 /**/ | |
2913 | 1096 229, |
1097 /**/ | |
2911 | 1098 228, |
1099 /**/ | |
2909 | 1100 227, |
1101 /**/ | |
2906 | 1102 226, |
1103 /**/ | |
2904 | 1104 225, |
1105 /**/ | |
2902 | 1106 224, |
1107 /**/ | |
2900 | 1108 223, |
1109 /**/ | |
2898 | 1110 222, |
1111 /**/ | |
2896 | 1112 221, |
1113 /**/ | |
2894 | 1114 220, |
1115 /**/ | |
2891 | 1116 219, |
1117 /**/ | |
2889 | 1118 218, |
1119 /**/ | |
2887 | 1120 217, |
1121 /**/ | |
2885 | 1122 216, |
1123 /**/ | |
2883 | 1124 215, |
1125 /**/ | |
2881 | 1126 214, |
1127 /**/ | |
2879 | 1128 213, |
1129 /**/ | |
2877 | 1130 212, |
1131 /**/ | |
2875 | 1132 211, |
1133 /**/ | |
2873 | 1134 210, |
1135 /**/ | |
2871 | 1136 209, |
1137 /**/ | |
2869 | 1138 208, |
1139 /**/ | |
2867 | 1140 207, |
1141 /**/ | |
2865 | 1142 206, |
1143 /**/ | |
2863 | 1144 205, |
1145 /**/ | |
2861 | 1146 204, |
1147 /**/ | |
2859 | 1148 203, |
1149 /**/ | |
2857 | 1150 202, |
1151 /**/ | |
2855 | 1152 201, |
1153 /**/ | |
2853 | 1154 200, |
1155 /**/ | |
2851 | 1156 199, |
1157 /**/ | |
2849 | 1158 198, |
1159 /**/ | |
2847 | 1160 197, |
1161 /**/ | |
2845 | 1162 196, |
1163 /**/ | |
2843 | 1164 195, |
1165 /**/ | |
2841 | 1166 194, |
1167 /**/ | |
2839 | 1168 193, |
1169 /**/ | |
2837 | 1170 192, |
1171 /**/ | |
2834 | 1172 191, |
1173 /**/ | |
2831 | 1174 190, |
1175 /**/ | |
2829 | 1176 189, |
1177 /**/ | |
2827 | 1178 188, |
1179 /**/ | |
2823 | 1180 187, |
1181 /**/ | |
2821 | 1182 186, |
1183 /**/ | |
2819 | 1184 185, |
1185 /**/ | |
2817 | 1186 184, |
1187 /**/ | |
2815 | 1188 183, |
1189 /**/ | |
2813 | 1190 182, |
1191 /**/ | |
2811 | 1192 181, |
1193 /**/ | |
2809 | 1194 180, |
1195 /**/ | |
2807 | 1196 179, |
1197 /**/ | |
2805 | 1198 178, |
1199 /**/ | |
2803 | 1200 177, |
1201 /**/ | |
2801 | 1202 176, |
1203 /**/ | |
2799 | 1204 175, |
1205 /**/ | |
2797 | 1206 174, |
1207 /**/ | |
2795 | 1208 173, |
1209 /**/ | |
2793 | 1210 172, |
1211 /**/ | |
2791 | 1212 171, |
1213 /**/ | |
2789 | 1214 170, |
1215 /**/ | |
2786 | 1216 169, |
1217 /**/ | |
2784 | 1218 168, |
1219 /**/ | |
2782 | 1220 167, |
1221 /**/ | |
2780 | 1222 166, |
1223 /**/ | |
2778 | 1224 165, |
1225 /**/ | |
2776 | 1226 164, |
1227 /**/ | |
2774 | 1228 163, |
1229 /**/ | |
2772 | 1230 162, |
1231 /**/ | |
2770 | 1232 161, |
1233 /**/ | |
2768 | 1234 160, |
1235 /**/ | |
2766 | 1236 159, |
1237 /**/ | |
2764 | 1238 158, |
1239 /**/ | |
2762 | 1240 157, |
1241 /**/ | |
2760 | 1242 156, |
1243 /**/ | |
2758 | 1244 155, |
1245 /**/ | |
2756 | 1246 154, |
1247 /**/ | |
2754 | 1248 153, |
1249 /**/ | |
2752 | 1250 152, |
1251 /**/ | |
2749 | 1252 151, |
1253 /**/ | |
2747 | 1254 150, |
1255 /**/ | |
2745 | 1256 149, |
1257 /**/ | |
2743 | 1258 148, |
1259 /**/ | |
2741 | 1260 147, |
1261 /**/ | |
2739 | 1262 146, |
1263 /**/ | |
2737 | 1264 145, |
1265 /**/ | |
2735 | 1266 144, |
1267 /**/ | |
2730 | 1268 143, |
1269 /**/ | |
2727 | 1270 142, |
1271 /**/ | |
2726 | 1272 141, |
1273 /**/ | |
2724 | 1274 140, |
1275 /**/ | |
2723 | 1276 139, |
1277 /**/ | |
2722 | 1278 138, |
1279 /**/ | |
2721 | 1280 137, |
1281 /**/ | |
2720 | 1282 136, |
1283 /**/ | |
2719 | 1284 135, |
1285 /**/ | |
2718 | 1286 134, |
1287 /**/ | |
2717 | 1288 133, |
1289 /**/ | |
2716 | 1290 132, |
1291 /**/ | |
2715 | 1292 131, |
1293 /**/ | |
2714 | 1294 130, |
1295 /**/ | |
2713 | 1296 129, |
1297 /**/ | |
2712 | 1298 128, |
1299 /**/ | |
2711 | 1300 127, |
1301 /**/ | |
2710 | 1302 126, |
1303 /**/ | |
2708 | 1304 125, |
1305 /**/ | |
2707 | 1306 124, |
1307 /**/ | |
2706 | 1308 123, |
1309 /**/ | |
2705 | 1310 122, |
1311 /**/ | |
2704 | 1312 121, |
1313 /**/ | |
2703 | 1314 120, |
1315 /**/ | |
2702 | 1316 119, |
1317 /**/ | |
2701 | 1318 118, |
1319 /**/ | |
2700 | 1320 117, |
1321 /**/ | |
2699 | 1322 116, |
1323 /**/ | |
2697 | 1324 115, |
1325 /**/ | |
2696 | 1326 114, |
1327 /**/ | |
2695 | 1328 113, |
1329 /**/ | |
2694 | 1330 112, |
1331 /**/ | |
2693 | 1332 111, |
1333 /**/ | |
2692 | 1334 110, |
1335 /**/ | |
2691 | 1336 109, |
1337 /**/ | |
2690 | 1338 108, |
1339 /**/ | |
2689 | 1340 107, |
1341 /**/ | |
2688 | 1342 106, |
1343 /**/ | |
2687 | 1344 105, |
1345 /**/ | |
2686 | 1346 104, |
1347 /**/ | |
2685 | 1348 103, |
1349 /**/ | |
2684 | 1350 102, |
1351 /**/ | |
2683 | 1352 101, |
1353 /**/ | |
2682 | 1354 100, |
1355 /**/ | |
2680 | 1356 99, |
1357 /**/ | |
2679 | 1358 98, |
1359 /**/ | |
2678 | 1360 97, |
1361 /**/ | |
2677 | 1362 96, |
1363 /**/ | |
2676 | 1364 95, |
1365 /**/ | |
2675 | 1366 94, |
1367 /**/ | |
2674 | 1368 93, |
1369 /**/ | |
2673 | 1370 92, |
1371 /**/ | |
2672 | 1372 91, |
1373 /**/ | |
2671 | 1374 90, |
1375 /**/ | |
2670 | 1376 89, |
1377 /**/ | |
2669 | 1378 88, |
1379 /**/ | |
2668 | 1380 87, |
1381 /**/ | |
2667 | 1382 86, |
1383 /**/ | |
2666 | 1384 85, |
1385 /**/ | |
2665 | 1386 84, |
1387 /**/ | |
2664 | 1388 83, |
1389 /**/ | |
2663 | 1390 82, |
1391 /**/ | |
2661 | 1392 81, |
1393 /**/ | |
2660 | 1394 80, |
1395 /**/ | |
2659 | 1396 79, |
1397 /**/ | |
2658 | 1398 78, |
1399 /**/ | |
2657 | 1400 77, |
1401 /**/ | |
2656 | 1402 76, |
1403 /**/ | |
2655 | 1404 75, |
1405 /**/ | |
2654 | 1406 74, |
1407 /**/ | |
2653 | 1408 73, |
1409 /**/ | |
2652 | 1410 72, |
1411 /**/ | |
2651 | 1412 71, |
1413 /**/ | |
2650 | 1414 70, |
1415 /**/ | |
2649 | 1416 69, |
1417 /**/ | |
2648 | 1418 68, |
1419 /**/ | |
2647 | 1420 67, |
1421 /**/ | |
2646 | 1422 66, |
1423 /**/ | |
2645 | 1424 65, |
1425 /**/ | |
2644 | 1426 64, |
1427 /**/ | |
2643 | 1428 63, |
1429 /**/ | |
2641 | 1430 62, |
1431 /**/ | |
2640 | 1432 61, |
1433 /**/ | |
2639 | 1434 60, |
1435 /**/ | |
2638 | 1436 59, |
1437 /**/ | |
2637 | 1438 58, |
1439 /**/ | |
2636 | 1440 57, |
1441 /**/ | |
2635 | 1442 56, |
1443 /**/ | |
2634 | 1444 55, |
1445 /**/ | |
2633 | 1446 54, |
1447 /**/ | |
2632 | 1448 53, |
1449 /**/ | |
2631 | 1450 52, |
1451 /**/ | |
2630 | 1452 51, |
1453 /**/ | |
2629 | 1454 50, |
1455 /**/ | |
2628 | 1456 49, |
1457 /**/ | |
2627 | 1458 48, |
1459 /**/ | |
2626 | 1460 47, |
1461 /**/ | |
2624 | 1462 46, |
1463 /**/ | |
2623 | 1464 45, |
1465 /**/ | |
2622 | 1466 44, |
1467 /**/ | |
2621 | 1468 43, |
1469 /**/ | |
2620 | 1470 42, |
1471 /**/ | |
2619 | 1472 41, |
1473 /**/ | |
2618 | 1474 40, |
1475 /**/ | |
2617 | 1476 39, |
1477 /**/ | |
2616 | 1478 38, |
1479 /**/ | |
2615 | 1480 37, |
1481 /**/ | |
2614 | 1482 36, |
1483 /**/ | |
2613 | 1484 35, |
1485 /**/ | |
2612 | 1486 34, |
1487 /**/ | |
2611 | 1488 33, |
1489 /**/ | |
2610 | 1490 32, |
1491 /**/ | |
2609 | 1492 31, |
1493 /**/ | |
2607 | 1494 30, |
1495 /**/ | |
2606 | 1496 29, |
1497 /**/ | |
2605 | 1498 28, |
1499 /**/ | |
2604 | 1500 27, |
1501 /**/ | |
2603 | 1502 26, |
1503 /**/ | |
2602 | 1504 25, |
1505 /**/ | |
2601 | 1506 24, |
1507 /**/ | |
2600 | 1508 23, |
1509 /**/ | |
2599 | 1510 22, |
1511 /**/ | |
2598 | 1512 21, |
1513 /**/ | |
2597 | 1514 20, |
1515 /**/ | |
2595 | 1516 19, |
1517 /**/ | |
2594 | 1518 18, |
1519 /**/ | |
2593 | 1520 17, |
1521 /**/ | |
2592 | 1522 16, |
1523 /**/ | |
2591 | 1524 15, |
1525 /**/ | |
2590 | 1526 14, |
1527 /**/ | |
2589 | 1528 13, |
1529 /**/ | |
2588 | 1530 12, |
1531 /**/ | |
2586 | 1532 11, |
1533 /**/ | |
2585 | 1534 10, |
1535 /**/ | |
2584 | 1536 9, |
1537 /**/ | |
2583 | 1538 8, |
1539 /**/ | |
2582 | 1540 7, |
1541 /**/ | |
2580 | 1542 6, |
1543 /**/ | |
2579 | 1544 5, |
1545 /**/ | |
2578 | 1546 4, |
1547 /**/ | |
2165
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
1548 3, |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
1549 /**/ |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
1550 2, |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
1551 /**/ |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
1552 1, |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
1553 /**/ |
7 | 1554 0 |
1555 }; | |
1556 | |
1760 | 1557 /* |
1558 * Place to put a short description when adding a feature with a patch. | |
1559 * Keep it short, e.g.,: "relative numbers", "persistent undo". | |
1560 * Also add a comment marker to separate the lines. | |
1561 * See the official Vim patches for the diff format: It must use a context of | |
1777 | 1562 * one line only. Create it by hand or use "diff -C2" and edit the patch. |
1760 | 1563 */ |
1564 static char *(extra_patches[]) = | |
1565 { /* Add your patch description below this line */ | |
1566 /**/ | |
1567 NULL | |
1568 }; | |
1569 | |
7 | 1570 int |
1571 highest_patch() | |
1572 { | |
1573 int i; | |
1574 int h = 0; | |
1575 | |
1576 for (i = 0; included_patches[i] != 0; ++i) | |
1577 if (included_patches[i] > h) | |
1578 h = included_patches[i]; | |
1579 return h; | |
1580 } | |
1581 | |
1582 #if defined(FEAT_EVAL) || defined(PROTO) | |
1583 /* | |
1584 * Return TRUE if patch "n" has been included. | |
1585 */ | |
1586 int | |
1587 has_patch(n) | |
1588 int n; | |
1589 { | |
1590 int i; | |
1591 | |
1592 for (i = 0; included_patches[i] != 0; ++i) | |
1593 if (included_patches[i] == n) | |
1594 return TRUE; | |
1595 return FALSE; | |
1596 } | |
1597 #endif | |
1598 | |
1599 void | |
1600 ex_version(eap) | |
1601 exarg_T *eap; | |
1602 { | |
1603 /* | |
1604 * Ignore a ":version 9.99" command. | |
1605 */ | |
1606 if (*eap->arg == NUL) | |
1607 { | |
1608 msg_putchar('\n'); | |
1609 list_version(); | |
1610 } | |
1611 } | |
1612 | |
1613 void | |
1614 list_version() | |
1615 { | |
1616 int i; | |
1617 int first; | |
1618 char *s = ""; | |
1619 | |
1620 /* | |
1621 * When adding features here, don't forget to update the list of | |
1622 * internal variables in eval.c! | |
1623 */ | |
1624 MSG(longVersion); | |
1625 #ifdef WIN3264 | |
1626 # ifdef FEAT_GUI_W32 | |
1627 # if defined(_MSC_VER) && (_MSC_VER <= 1010) | |
1628 /* Only MS VC 4.1 and earlier can do Win32s */ | |
1607 | 1629 MSG_PUTS(_("\nMS-Windows 16/32-bit GUI version")); |
7 | 1630 # else |
990 | 1631 # ifdef _WIN64 |
1607 | 1632 MSG_PUTS(_("\nMS-Windows 64-bit GUI version")); |
990 | 1633 # else |
1607 | 1634 MSG_PUTS(_("\nMS-Windows 32-bit GUI version")); |
990 | 1635 # endif |
7 | 1636 # endif |
1637 if (gui_is_win32s()) | |
1638 MSG_PUTS(_(" in Win32s mode")); | |
1639 # ifdef FEAT_OLE | |
1640 MSG_PUTS(_(" with OLE support")); | |
1641 # endif | |
1642 # else | |
1607 | 1643 # ifdef _WIN64 |
1644 MSG_PUTS(_("\nMS-Windows 64-bit console version")); | |
1645 # else | |
1646 MSG_PUTS(_("\nMS-Windows 32-bit console version")); | |
1647 # endif | |
7 | 1648 # endif |
1649 #endif | |
1650 #ifdef WIN16 | |
1607 | 1651 MSG_PUTS(_("\nMS-Windows 16-bit version")); |
7 | 1652 #endif |
1653 #ifdef MSDOS | |
1654 # ifdef DJGPP | |
1607 | 1655 MSG_PUTS(_("\n32-bit MS-DOS version")); |
7 | 1656 # else |
1607 | 1657 MSG_PUTS(_("\n16-bit MS-DOS version")); |
7 | 1658 # endif |
1659 #endif | |
1660 #ifdef MACOS | |
1661 # ifdef MACOS_X | |
1662 # ifdef MACOS_X_UNIX | |
1663 MSG_PUTS(_("\nMacOS X (unix) version")); | |
1664 # else | |
1665 MSG_PUTS(_("\nMacOS X version")); | |
1666 # endif | |
1667 #else | |
1668 MSG_PUTS(_("\nMacOS version")); | |
1669 # endif | |
1670 #endif | |
1671 | |
1672 #ifdef VMS | |
1705 | 1673 MSG_PUTS(_("\nOpenVMS version")); |
1045 | 1674 # ifdef HAVE_PATHDEF |
1675 if (*compiled_arch != NUL) | |
1676 { | |
1677 MSG_PUTS(" - "); | |
1678 MSG_PUTS(compiled_arch); | |
1679 } | |
1680 # endif | |
1681 | |
7 | 1682 #endif |
1683 | |
1684 /* Print the list of patch numbers if there is at least one. */ | |
1685 /* Print a range when patches are consecutive: "1-10, 12, 15-40, 42-45" */ | |
1686 if (included_patches[0] != 0) | |
1687 { | |
1688 MSG_PUTS(_("\nIncluded patches: ")); | |
1689 first = -1; | |
1690 /* find last one */ | |
1691 for (i = 0; included_patches[i] != 0; ++i) | |
1692 ; | |
1693 while (--i >= 0) | |
1694 { | |
1695 if (first < 0) | |
1696 first = included_patches[i]; | |
1697 if (i == 0 || included_patches[i - 1] != included_patches[i] + 1) | |
1698 { | |
1699 MSG_PUTS(s); | |
1700 s = ", "; | |
1701 msg_outnum((long)first); | |
1702 if (first != included_patches[i]) | |
1703 { | |
1704 MSG_PUTS("-"); | |
1705 msg_outnum((long)included_patches[i]); | |
1706 } | |
1707 first = -1; | |
1708 } | |
1709 } | |
1710 } | |
1711 | |
1760 | 1712 /* Print the list of extra patch descriptions if there is at least one. */ |
1713 if (extra_patches[0] != NULL) | |
1714 { | |
1715 MSG_PUTS(_("\nExtra patches: ")); | |
1716 s = ""; | |
1717 for (i = 0; extra_patches[i] != NULL; ++i) | |
1718 { | |
1719 MSG_PUTS(s); | |
1720 s = ", "; | |
1721 MSG_PUTS(extra_patches[i]); | |
1722 } | |
1723 } | |
1724 | |
7 | 1725 #ifdef MODIFIED_BY |
1726 MSG_PUTS("\n"); | |
1727 MSG_PUTS(_("Modified by ")); | |
1728 MSG_PUTS(MODIFIED_BY); | |
1729 #endif | |
1730 | |
1731 #ifdef HAVE_PATHDEF | |
1732 if (*compiled_user != NUL || *compiled_sys != NUL) | |
1733 { | |
1734 MSG_PUTS(_("\nCompiled ")); | |
1735 if (*compiled_user != NUL) | |
1736 { | |
1737 MSG_PUTS(_("by ")); | |
1738 MSG_PUTS(compiled_user); | |
1739 } | |
1740 if (*compiled_sys != NUL) | |
1741 { | |
1742 MSG_PUTS("@"); | |
1743 MSG_PUTS(compiled_sys); | |
1744 } | |
1745 } | |
1746 #endif | |
1747 | |
1748 #ifdef FEAT_HUGE | |
1749 MSG_PUTS(_("\nHuge version ")); | |
1750 #else | |
1751 # ifdef FEAT_BIG | |
1752 MSG_PUTS(_("\nBig version ")); | |
1753 # else | |
1754 # ifdef FEAT_NORMAL | |
1755 MSG_PUTS(_("\nNormal version ")); | |
1756 # else | |
1757 # ifdef FEAT_SMALL | |
1758 MSG_PUTS(_("\nSmall version ")); | |
1759 # else | |
1760 MSG_PUTS(_("\nTiny version ")); | |
1761 # endif | |
1762 # endif | |
1763 # endif | |
1764 #endif | |
1765 #ifndef FEAT_GUI | |
1766 MSG_PUTS(_("without GUI.")); | |
1767 #else | |
1768 # ifdef FEAT_GUI_GTK | |
1769 # ifdef FEAT_GUI_GNOME | |
1770 MSG_PUTS(_("with GTK2-GNOME GUI.")); | |
1771 # else | |
1772 MSG_PUTS(_("with GTK2 GUI.")); | |
1773 # endif | |
1774 # else | |
1775 # ifdef FEAT_GUI_MOTIF | |
1776 MSG_PUTS(_("with X11-Motif GUI.")); | |
1777 # else | |
1778 # ifdef FEAT_GUI_ATHENA | |
1779 # ifdef FEAT_GUI_NEXTAW | |
1780 MSG_PUTS(_("with X11-neXtaw GUI.")); | |
1781 # else | |
1782 MSG_PUTS(_("with X11-Athena GUI.")); | |
1783 # endif | |
1784 # else | |
1785 # ifdef FEAT_GUI_PHOTON | |
1786 MSG_PUTS(_("with Photon GUI.")); | |
1787 # else | |
1788 # if defined(MSWIN) | |
1789 MSG_PUTS(_("with GUI.")); | |
1790 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
1791 # if defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON |
7 | 1792 MSG_PUTS(_("with Carbon GUI.")); |
1793 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
1794 # if defined(TARGET_API_MAC_OSX) && TARGET_API_MAC_OSX |
7 | 1795 MSG_PUTS(_("with Cocoa GUI.")); |
1796 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
1797 # if defined(MACOS) |
7 | 1798 MSG_PUTS(_("with (classic) GUI.")); |
1799 # endif | |
1800 # endif | |
1801 # endif | |
1802 # endif | |
1803 # endif | |
1804 # endif | |
1805 # endif | |
1806 # endif | |
1807 #endif | |
1808 version_msg(_(" Features included (+) or not (-):\n")); | |
1809 | |
1810 /* print all the features */ | |
1811 for (i = 0; features[i] != NULL; ++i) | |
1812 { | |
1813 version_msg(features[i]); | |
1814 if (msg_col > 0) | |
1815 version_msg(" "); | |
1816 } | |
1817 | |
1818 version_msg("\n"); | |
1819 #ifdef SYS_VIMRC_FILE | |
1820 version_msg(_(" system vimrc file: \"")); | |
1821 version_msg(SYS_VIMRC_FILE); | |
1822 version_msg("\"\n"); | |
1823 #endif | |
1824 #ifdef USR_VIMRC_FILE | |
1825 version_msg(_(" user vimrc file: \"")); | |
1826 version_msg(USR_VIMRC_FILE); | |
1827 version_msg("\"\n"); | |
1828 #endif | |
1829 #ifdef USR_VIMRC_FILE2 | |
1830 version_msg(_(" 2nd user vimrc file: \"")); | |
1831 version_msg(USR_VIMRC_FILE2); | |
1832 version_msg("\"\n"); | |
1833 #endif | |
1834 #ifdef USR_VIMRC_FILE3 | |
1835 version_msg(_(" 3rd user vimrc file: \"")); | |
1836 version_msg(USR_VIMRC_FILE3); | |
1837 version_msg("\"\n"); | |
1838 #endif | |
1839 #ifdef USR_EXRC_FILE | |
1840 version_msg(_(" user exrc file: \"")); | |
1841 version_msg(USR_EXRC_FILE); | |
1842 version_msg("\"\n"); | |
1843 #endif | |
1844 #ifdef USR_EXRC_FILE2 | |
1845 version_msg(_(" 2nd user exrc file: \"")); | |
1846 version_msg(USR_EXRC_FILE2); | |
1847 version_msg("\"\n"); | |
1848 #endif | |
1849 #ifdef FEAT_GUI | |
1850 # ifdef SYS_GVIMRC_FILE | |
1851 version_msg(_(" system gvimrc file: \"")); | |
1852 version_msg(SYS_GVIMRC_FILE); | |
1853 version_msg("\"\n"); | |
1854 # endif | |
1855 version_msg(_(" user gvimrc file: \"")); | |
1856 version_msg(USR_GVIMRC_FILE); | |
1857 version_msg("\"\n"); | |
1858 # ifdef USR_GVIMRC_FILE2 | |
1859 version_msg(_("2nd user gvimrc file: \"")); | |
1860 version_msg(USR_GVIMRC_FILE2); | |
1861 version_msg("\"\n"); | |
1862 # endif | |
1863 # ifdef USR_GVIMRC_FILE3 | |
1864 version_msg(_("3rd user gvimrc file: \"")); | |
1865 version_msg(USR_GVIMRC_FILE3); | |
1866 version_msg("\"\n"); | |
1867 # endif | |
1868 #endif | |
1869 #ifdef FEAT_GUI | |
1870 # ifdef SYS_MENU_FILE | |
1871 version_msg(_(" system menu file: \"")); | |
1872 version_msg(SYS_MENU_FILE); | |
1873 version_msg("\"\n"); | |
1874 # endif | |
1875 #endif | |
1876 #ifdef HAVE_PATHDEF | |
1877 if (*default_vim_dir != NUL) | |
1878 { | |
1879 version_msg(_(" fall-back for $VIM: \"")); | |
1880 version_msg((char *)default_vim_dir); | |
1881 version_msg("\"\n"); | |
1882 } | |
1883 if (*default_vimruntime_dir != NUL) | |
1884 { | |
1885 version_msg(_(" f-b for $VIMRUNTIME: \"")); | |
1886 version_msg((char *)default_vimruntime_dir); | |
1887 version_msg("\"\n"); | |
1888 } | |
1889 version_msg(_("Compilation: ")); | |
1890 version_msg((char *)all_cflags); | |
1891 version_msg("\n"); | |
1892 #ifdef VMS | |
1893 if (*compiler_version != NUL) | |
1894 { | |
1895 version_msg(_("Compiler: ")); | |
1896 version_msg((char *)compiler_version); | |
1897 version_msg("\n"); | |
1898 } | |
1899 #endif | |
1900 version_msg(_("Linking: ")); | |
1901 version_msg((char *)all_lflags); | |
1902 #endif | |
1903 #ifdef DEBUG | |
1904 version_msg("\n"); | |
1905 version_msg(_(" DEBUG BUILD")); | |
1906 #endif | |
1907 } | |
1908 | |
1909 /* | |
1910 * Output a string for the version message. If it's going to wrap, output a | |
1911 * newline, unless the message is too long to fit on the screen anyway. | |
1912 */ | |
1913 static void | |
1914 version_msg(s) | |
1915 char *s; | |
1916 { | |
1917 int len = (int)STRLEN(s); | |
1918 | |
1919 if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns | |
1920 && *s != '\n') | |
1921 msg_putchar('\n'); | |
1922 if (!got_int) | |
1923 MSG_PUTS(s); | |
1924 } | |
1925 | |
1926 static void do_intro_line __ARGS((int row, char_u *mesg, int add_version, int attr)); | |
1927 | |
1928 /* | |
1929 * Give an introductory message about Vim. | |
1930 * Only used when starting Vim on an empty file, without a file name. | |
1931 * Or with the ":intro" command (for Sven :-). | |
1932 */ | |
1933 void | |
1934 intro_message(colon) | |
1935 int colon; /* TRUE for ":intro" */ | |
1936 { | |
1937 int i; | |
1938 int row; | |
1939 int blanklines; | |
1940 int sponsor; | |
1941 char *p; | |
1942 static char *(lines[]) = | |
1943 { | |
1944 N_("VIM - Vi IMproved"), | |
1945 "", | |
1946 N_("version "), | |
1947 N_("by Bram Moolenaar et al."), | |
1948 #ifdef MODIFIED_BY | |
1949 " ", | |
1950 #endif | |
1951 N_("Vim is open source and freely distributable"), | |
1952 "", | |
1953 N_("Help poor children in Uganda!"), | |
1954 N_("type :help iccf<Enter> for information "), | |
1955 "", | |
1956 N_("type :q<Enter> to exit "), | |
1957 N_("type :help<Enter> or <F1> for on-line help"), | |
26 | 1958 N_("type :help version7<Enter> for version info"), |
7 | 1959 NULL, |
1960 "", | |
1961 N_("Running in Vi compatible mode"), | |
1962 N_("type :set nocp<Enter> for Vim defaults"), | |
1963 N_("type :help cp-default<Enter> for info on this"), | |
1964 }; | |
1965 #ifdef FEAT_GUI | |
1966 static char *(gui_lines[]) = | |
1967 { | |
1968 NULL, | |
1969 NULL, | |
1970 NULL, | |
1971 NULL, | |
1972 #ifdef MODIFIED_BY | |
1973 NULL, | |
1974 #endif | |
1975 NULL, | |
1976 NULL, | |
1977 NULL, | |
1978 N_("menu Help->Orphans for information "), | |
1979 NULL, | |
1980 N_("Running modeless, typed text is inserted"), | |
1981 N_("menu Edit->Global Settings->Toggle Insert Mode "), | |
1982 N_(" for two modes "), | |
1983 NULL, | |
1984 NULL, | |
1985 NULL, | |
1986 N_("menu Edit->Global Settings->Toggle Vi Compatible"), | |
1987 N_(" for Vim defaults "), | |
1988 }; | |
1989 #endif | |
1990 | |
1991 /* blanklines = screen height - # message lines */ | |
1992 blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1); | |
1993 if (!p_cp) | |
1994 blanklines += 4; /* add 4 for not showing "Vi compatible" message */ | |
1995 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
1996 if (mch_windows95()) | |
1997 blanklines -= 3; /* subtract 3 for showing "Windows 95" message */ | |
1998 #endif | |
1999 | |
2000 #ifdef FEAT_WINDOWS | |
2001 /* Don't overwrite a statusline. Depends on 'cmdheight'. */ | |
2002 if (p_ls > 1) | |
2003 blanklines -= Rows - topframe->fr_height; | |
2004 #endif | |
2005 if (blanklines < 0) | |
2006 blanklines = 0; | |
2007 | |
2008 /* Show the sponsor and register message one out of four times, the Uganda | |
2009 * message two out of four times. */ | |
615 | 2010 sponsor = (int)time(NULL); |
7 | 2011 sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0); |
2012 | |
2013 /* start displaying the message lines after half of the blank lines */ | |
2014 row = blanklines / 2; | |
2015 if ((row >= 2 && Columns >= 50) || colon) | |
2016 { | |
2017 for (i = 0; i < (int)(sizeof(lines) / sizeof(char *)); ++i) | |
2018 { | |
2019 p = lines[i]; | |
2020 #ifdef FEAT_GUI | |
2021 if (p_im && gui.in_use && gui_lines[i] != NULL) | |
2022 p = gui_lines[i]; | |
2023 #endif | |
2024 if (p == NULL) | |
2025 { | |
2026 if (!p_cp) | |
2027 break; | |
2028 continue; | |
2029 } | |
2030 if (sponsor != 0) | |
2031 { | |
2032 if (strstr(p, "children") != NULL) | |
2033 p = sponsor < 0 | |
2034 ? N_("Sponsor Vim development!") | |
2035 : N_("Become a registered Vim user!"); | |
2036 else if (strstr(p, "iccf") != NULL) | |
2037 p = sponsor < 0 | |
2038 ? N_("type :help sponsor<Enter> for information ") | |
2039 : N_("type :help register<Enter> for information "); | |
2040 else if (strstr(p, "Orphans") != NULL) | |
2041 p = N_("menu Help->Sponsor/Register for information "); | |
2042 } | |
2043 if (*p != NUL) | |
2044 do_intro_line(row, (char_u *)_(p), i == 2, 0); | |
2045 ++row; | |
2046 } | |
2047 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
2048 if (mch_windows95()) | |
2049 { | |
2050 do_intro_line(++row, | |
2051 (char_u *)_("WARNING: Windows 95/98/ME detected"), | |
2052 FALSE, hl_attr(HLF_E)); | |
2053 do_intro_line(++row, | |
2054 (char_u *)_("type :help windows95<Enter> for info on this"), | |
2055 FALSE, 0); | |
2056 } | |
2057 #endif | |
2058 } | |
2059 | |
2060 /* Make the wait-return message appear just below the text. */ | |
2061 if (colon) | |
2062 msg_row = row; | |
2063 } | |
2064 | |
2065 static void | |
2066 do_intro_line(row, mesg, add_version, attr) | |
2067 int row; | |
2068 char_u *mesg; | |
2069 int add_version; | |
2070 int attr; | |
2071 { | |
2072 char_u vers[20]; | |
2073 int col; | |
2074 char_u *p; | |
2075 int l; | |
2076 int clen; | |
2077 #ifdef MODIFIED_BY | |
2078 # define MODBY_LEN 150 | |
2079 char_u modby[MODBY_LEN]; | |
2080 | |
2081 if (*mesg == ' ') | |
2082 { | |
1491 | 2083 vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1); |
7 | 2084 l = STRLEN(modby); |
1491 | 2085 vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1); |
7 | 2086 mesg = modby; |
2087 } | |
2088 #endif | |
2089 | |
2090 /* Center the message horizontally. */ | |
2091 col = vim_strsize(mesg); | |
2092 if (add_version) | |
2093 { | |
2094 STRCPY(vers, mediumVersion); | |
2095 if (highest_patch()) | |
2096 { | |
2097 /* Check for 9.9x or 9.9xx, alpha/beta version */ | |
2619 | 2098 if (isalpha((int)vers[3])) |
7 | 2099 { |
2619 | 2100 if (isalpha((int)vers[4])) |
7 | 2101 sprintf((char *)vers + 5, ".%d%s", highest_patch(), |
2102 mediumVersion + 5); | |
2103 else | |
2104 sprintf((char *)vers + 4, ".%d%s", highest_patch(), | |
2105 mediumVersion + 4); | |
2106 } | |
2107 else | |
2108 sprintf((char *)vers + 3, ".%d", highest_patch()); | |
2109 } | |
2110 col += (int)STRLEN(vers); | |
2111 } | |
2112 col = (Columns - col) / 2; | |
2113 if (col < 0) | |
2114 col = 0; | |
2115 | |
2116 /* Split up in parts to highlight <> items differently. */ | |
2117 for (p = mesg; *p != NUL; p += l) | |
2118 { | |
2119 clen = 0; | |
2120 for (l = 0; p[l] != NUL | |
2121 && (l == 0 || (p[l] != '<' && p[l - 1] != '>')); ++l) | |
2122 { | |
2123 #ifdef FEAT_MBYTE | |
2124 if (has_mbyte) | |
2125 { | |
2126 clen += ptr2cells(p + l); | |
474 | 2127 l += (*mb_ptr2len)(p + l) - 1; |
7 | 2128 } |
2129 else | |
2130 #endif | |
2131 clen += byte2cells(p[l]); | |
2132 } | |
2133 screen_puts_len(p, l, row, col, *p == '<' ? hl_attr(HLF_8) : attr); | |
2134 col += clen; | |
2135 } | |
2136 | |
2137 /* Add the version number to the version line. */ | |
2138 if (add_version) | |
2139 screen_puts(vers, row, col, 0); | |
2140 } | |
2141 | |
2142 /* | |
2143 * ":intro": clear screen, display intro screen and wait for return. | |
2144 */ | |
2145 void | |
2146 ex_intro(eap) | |
1876 | 2147 exarg_T *eap UNUSED; |
7 | 2148 { |
2149 screenclear(); | |
2150 intro_message(TRUE); | |
2151 wait_return(TRUE); | |
2152 } |