Mercurial > vim
annotate src/version.c @ 6903:dd923806ae3b v7.4.771
patch 7.4.771
Problem: Search does not handle multi-byte character at the start position
correctly.
Solution: Take byte size of character into account. (Yukihiro Nakadaira)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 10 Jul 2015 14:43:35 +0200 |
parents | 2ce6b77a49de |
children | d973e23c3bf8 |
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]; | |
4147 | 37 |
7 | 38 void |
39 make_version() | |
40 { | |
41 /* | |
42 * Construct the long version string. Necessary because | |
43 * VAX C can't catenate strings in the preprocessor. | |
44 */ | |
45 strcpy(longVersion, VIM_VERSION_LONG_DATE); | |
46 strcat(longVersion, __DATE__); | |
47 strcat(longVersion, " "); | |
48 strcat(longVersion, __TIME__); | |
49 strcat(longVersion, ")"); | |
50 } | |
51 # else | |
52 char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")"; | |
53 # endif | |
54 #else | |
55 char *longVersion = VIM_VERSION_LONG; | |
56 #endif | |
57 | |
5166
467efeee8f9e
updated for version 7.4a.009
Bram Moolenaar <bram@vim.org>
parents:
5164
diff
changeset
|
58 static void list_features __ARGS((void)); |
7 | 59 static void version_msg __ARGS((char *s)); |
60 | |
61 static char *(features[]) = | |
62 { | |
5316 | 63 #ifdef HAVE_ACL |
64 "+acl", | |
65 #else | |
66 "-acl", | |
67 #endif | |
7 | 68 #ifdef AMIGA /* only for Amiga systems */ |
69 # ifdef FEAT_ARP | |
70 "+ARP", | |
71 # else | |
72 "-ARP", | |
73 # endif | |
74 #endif | |
75 #ifdef FEAT_ARABIC | |
76 "+arabic", | |
77 #else | |
78 "-arabic", | |
79 #endif | |
80 #ifdef FEAT_AUTOCMD | |
81 "+autocmd", | |
82 #else | |
83 "-autocmd", | |
84 #endif | |
85 #ifdef FEAT_BEVAL | |
86 "+balloon_eval", | |
87 #else | |
88 "-balloon_eval", | |
89 #endif | |
90 #ifdef FEAT_BROWSE | |
91 "+browse", | |
92 #else | |
93 "-browse", | |
94 #endif | |
95 #ifdef NO_BUILTIN_TCAPS | |
96 "-builtin_terms", | |
97 #endif | |
98 #ifdef SOME_BUILTIN_TCAPS | |
99 "+builtin_terms", | |
100 #endif | |
101 #ifdef ALL_BUILTIN_TCAPS | |
102 "++builtin_terms", | |
103 #endif | |
104 #ifdef FEAT_BYTEOFF | |
105 "+byte_offset", | |
106 #else | |
107 "-byte_offset", | |
108 #endif | |
109 #ifdef FEAT_CINDENT | |
110 "+cindent", | |
111 #else | |
112 "-cindent", | |
113 #endif | |
114 #ifdef FEAT_CLIENTSERVER | |
115 "+clientserver", | |
116 #else | |
117 "-clientserver", | |
118 #endif | |
119 #ifdef FEAT_CLIPBOARD | |
120 "+clipboard", | |
121 #else | |
122 "-clipboard", | |
123 #endif | |
124 #ifdef FEAT_CMDL_COMPL | |
125 "+cmdline_compl", | |
126 #else | |
127 "-cmdline_compl", | |
128 #endif | |
129 #ifdef FEAT_CMDHIST | |
130 "+cmdline_hist", | |
131 #else | |
132 "-cmdline_hist", | |
133 #endif | |
134 #ifdef FEAT_CMDL_INFO | |
135 "+cmdline_info", | |
136 #else | |
137 "-cmdline_info", | |
138 #endif | |
139 #ifdef FEAT_COMMENTS | |
140 "+comments", | |
141 #else | |
142 "-comments", | |
143 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
144 #ifdef FEAT_CONCEAL |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
145 "+conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
146 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
147 "-conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
148 #endif |
7 | 149 #ifdef FEAT_CRYPT |
150 "+cryptv", | |
151 #else | |
152 "-cryptv", | |
153 #endif | |
154 #ifdef FEAT_CSCOPE | |
155 "+cscope", | |
156 #else | |
157 "-cscope", | |
158 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
159 #ifdef FEAT_CURSORBIND |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
160 "+cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
161 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
162 "-cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
163 #endif |
647 | 164 #ifdef CURSOR_SHAPE |
165 "+cursorshape", | |
166 #else | |
167 "-cursorshape", | |
168 #endif | |
7 | 169 #if defined(FEAT_CON_DIALOG) && defined(FEAT_GUI_DIALOG) |
170 "+dialog_con_gui", | |
171 #else | |
172 # if defined(FEAT_CON_DIALOG) | |
173 "+dialog_con", | |
174 # else | |
175 # if defined(FEAT_GUI_DIALOG) | |
176 "+dialog_gui", | |
177 # else | |
178 "-dialog", | |
179 # endif | |
180 # endif | |
181 #endif | |
182 #ifdef FEAT_DIFF | |
183 "+diff", | |
184 #else | |
185 "-diff", | |
186 #endif | |
187 #ifdef FEAT_DIGRAPHS | |
188 "+digraphs", | |
189 #else | |
190 "-digraphs", | |
191 #endif | |
6110 | 192 #ifdef FEAT_GUI_W32 |
193 # ifdef FEAT_DIRECTX | |
194 "+directx", | |
195 # else | |
196 "-directx", | |
197 # endif | |
198 #endif | |
7 | 199 #ifdef FEAT_DND |
200 "+dnd", | |
201 #else | |
202 "-dnd", | |
203 #endif | |
204 #ifdef EBCDIC | |
205 "+ebcdic", | |
206 #else | |
207 "-ebcdic", | |
208 #endif | |
209 #ifdef FEAT_EMACS_TAGS | |
210 "+emacs_tags", | |
211 #else | |
212 "-emacs_tags", | |
213 #endif | |
214 #ifdef FEAT_EVAL | |
215 "+eval", | |
216 #else | |
217 "-eval", | |
218 #endif | |
219 #ifdef FEAT_EX_EXTRA | |
220 "+ex_extra", | |
221 #else | |
222 "-ex_extra", | |
223 #endif | |
224 #ifdef FEAT_SEARCH_EXTRA | |
225 "+extra_search", | |
226 #else | |
227 "-extra_search", | |
228 #endif | |
229 #ifdef FEAT_FKMAP | |
230 "+farsi", | |
231 #else | |
232 "-farsi", | |
233 #endif | |
234 #ifdef FEAT_SEARCHPATH | |
235 "+file_in_path", | |
236 #else | |
237 "-file_in_path", | |
238 #endif | |
239 #ifdef FEAT_FIND_ID | |
240 "+find_in_path", | |
241 #else | |
242 "-find_in_path", | |
243 #endif | |
1621 | 244 #ifdef FEAT_FLOAT |
245 "+float", | |
246 #else | |
247 "-float", | |
248 #endif | |
7 | 249 #ifdef FEAT_FOLDING |
250 "+folding", | |
251 #else | |
252 "-folding", | |
253 #endif | |
254 #ifdef FEAT_FOOTER | |
255 "+footer", | |
256 #else | |
257 "-footer", | |
258 #endif | |
259 /* only interesting on Unix systems */ | |
260 #if !defined(USE_SYSTEM) && defined(UNIX) | |
261 "+fork()", | |
262 #endif | |
263 #ifdef FEAT_GETTEXT | |
264 # ifdef DYNAMIC_GETTEXT | |
265 "+gettext/dyn", | |
266 # else | |
267 "+gettext", | |
268 # endif | |
269 #else | |
270 "-gettext", | |
271 #endif | |
272 #ifdef FEAT_HANGULIN | |
273 "+hangul_input", | |
274 #else | |
275 "-hangul_input", | |
276 #endif | |
277 #if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV) | |
278 # ifdef DYNAMIC_ICONV | |
279 "+iconv/dyn", | |
280 # else | |
281 "+iconv", | |
282 # endif | |
283 #else | |
284 "-iconv", | |
285 #endif | |
286 #ifdef FEAT_INS_EXPAND | |
287 "+insert_expand", | |
288 #else | |
289 "-insert_expand", | |
290 #endif | |
291 #ifdef FEAT_JUMPLIST | |
292 "+jumplist", | |
293 #else | |
294 "-jumplist", | |
295 #endif | |
296 #ifdef FEAT_KEYMAP | |
297 "+keymap", | |
298 #else | |
299 "-keymap", | |
300 #endif | |
301 #ifdef FEAT_LANGMAP | |
302 "+langmap", | |
303 #else | |
304 "-langmap", | |
305 #endif | |
306 #ifdef FEAT_LIBCALL | |
307 "+libcall", | |
308 #else | |
309 "-libcall", | |
310 #endif | |
311 #ifdef FEAT_LINEBREAK | |
312 "+linebreak", | |
313 #else | |
314 "-linebreak", | |
315 #endif | |
316 #ifdef FEAT_LISP | |
317 "+lispindent", | |
318 #else | |
319 "-lispindent", | |
320 #endif | |
321 #ifdef FEAT_LISTCMDS | |
322 "+listcmds", | |
323 #else | |
324 "-listcmds", | |
325 #endif | |
326 #ifdef FEAT_LOCALMAP | |
327 "+localmap", | |
328 #else | |
329 "-localmap", | |
330 #endif | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
331 #ifdef FEAT_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
332 # ifdef DYNAMIC_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
333 "+lua/dyn", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
334 # else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
335 "+lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
336 # endif |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
337 #else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
338 "-lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
339 #endif |
7 | 340 #ifdef FEAT_MENU |
341 "+menu", | |
342 #else | |
343 "-menu", | |
344 #endif | |
345 #ifdef FEAT_SESSION | |
346 "+mksession", | |
347 #else | |
348 "-mksession", | |
349 #endif | |
350 #ifdef FEAT_MODIFY_FNAME | |
351 "+modify_fname", | |
352 #else | |
353 "-modify_fname", | |
354 #endif | |
355 #ifdef FEAT_MOUSE | |
356 "+mouse", | |
357 # ifdef FEAT_MOUSESHAPE | |
358 "+mouseshape", | |
359 # else | |
360 "-mouseshape", | |
361 # endif | |
362 # else | |
363 "-mouse", | |
364 #endif | |
3898 | 365 |
7 | 366 #if defined(UNIX) || defined(VMS) |
367 # ifdef FEAT_MOUSE_DEC | |
368 "+mouse_dec", | |
369 # else | |
370 "-mouse_dec", | |
371 # endif | |
372 # ifdef FEAT_MOUSE_GPM | |
373 "+mouse_gpm", | |
374 # else | |
375 "-mouse_gpm", | |
376 # endif | |
377 # ifdef FEAT_MOUSE_JSB | |
378 "+mouse_jsbterm", | |
379 # else | |
380 "-mouse_jsbterm", | |
381 # endif | |
382 # ifdef FEAT_MOUSE_NET | |
383 "+mouse_netterm", | |
384 # else | |
385 "-mouse_netterm", | |
386 # endif | |
387 #endif | |
3898 | 388 |
7 | 389 #ifdef __QNX__ |
390 # ifdef FEAT_MOUSE_PTERM | |
391 "+mouse_pterm", | |
392 # else | |
393 "-mouse_pterm", | |
394 # endif | |
395 #endif | |
3898 | 396 |
397 #if defined(UNIX) || defined(VMS) | |
398 # ifdef FEAT_MOUSE_SGR | |
399 "+mouse_sgr", | |
400 # else | |
401 "-mouse_sgr", | |
402 # endif | |
403 # ifdef FEAT_SYSMOUSE | |
404 "+mouse_sysmouse", | |
405 # else | |
406 "-mouse_sysmouse", | |
407 # endif | |
408 # ifdef FEAT_MOUSE_URXVT | |
409 "+mouse_urxvt", | |
410 # else | |
411 "-mouse_urxvt", | |
412 # endif | |
413 # ifdef FEAT_MOUSE_XTERM | |
414 "+mouse_xterm", | |
415 # else | |
416 "-mouse_xterm", | |
417 # endif | |
418 #endif | |
419 | |
7 | 420 #ifdef FEAT_MBYTE_IME |
421 # ifdef DYNAMIC_IME | |
422 "+multi_byte_ime/dyn", | |
423 # else | |
424 "+multi_byte_ime", | |
425 # endif | |
426 #else | |
427 # ifdef FEAT_MBYTE | |
428 "+multi_byte", | |
429 # else | |
430 "-multi_byte", | |
431 # endif | |
432 #endif | |
433 #ifdef FEAT_MULTI_LANG | |
434 "+multi_lang", | |
435 #else | |
436 "-multi_lang", | |
437 #endif | |
14 | 438 #ifdef FEAT_MZSCHEME |
132 | 439 # ifdef DYNAMIC_MZSCHEME |
440 "+mzscheme/dyn", | |
441 # else | |
14 | 442 "+mzscheme", |
132 | 443 # endif |
14 | 444 #else |
445 "-mzscheme", | |
446 #endif | |
7 | 447 #ifdef FEAT_NETBEANS_INTG |
448 "+netbeans_intg", | |
449 #else | |
450 "-netbeans_intg", | |
451 #endif | |
452 #ifdef FEAT_GUI_W32 | |
453 # ifdef FEAT_OLE | |
454 "+ole", | |
455 # else | |
456 "-ole", | |
457 # endif | |
458 #endif | |
459 #ifdef FEAT_PATH_EXTRA | |
460 "+path_extra", | |
461 #else | |
462 "-path_extra", | |
463 #endif | |
464 #ifdef FEAT_PERL | |
465 # ifdef DYNAMIC_PERL | |
466 "+perl/dyn", | |
467 # else | |
468 "+perl", | |
469 # endif | |
470 #else | |
471 "-perl", | |
472 #endif | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
473 #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
|
474 "+persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
475 #else |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
476 "-persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
477 #endif |
7 | 478 #ifdef FEAT_PRINTER |
479 # ifdef FEAT_POSTSCRIPT | |
480 "+postscript", | |
481 # else | |
482 "-postscript", | |
483 # endif | |
484 "+printer", | |
485 #else | |
486 "-printer", | |
487 #endif | |
170 | 488 #ifdef FEAT_PROFILE |
489 "+profile", | |
490 #else | |
491 "-profile", | |
492 #endif | |
7 | 493 #ifdef FEAT_PYTHON |
494 # ifdef DYNAMIC_PYTHON | |
495 "+python/dyn", | |
496 # else | |
497 "+python", | |
498 # endif | |
499 #else | |
500 "-python", | |
501 #endif | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
502 #ifdef FEAT_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
503 # ifdef DYNAMIC_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
504 "+python3/dyn", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
505 # else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
506 "+python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
507 # endif |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
508 #else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
509 "-python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
510 #endif |
7 | 511 #ifdef FEAT_QUICKFIX |
512 "+quickfix", | |
513 #else | |
514 "-quickfix", | |
515 #endif | |
857 | 516 #ifdef FEAT_RELTIME |
517 "+reltime", | |
518 #else | |
519 "-reltime", | |
520 #endif | |
7 | 521 #ifdef FEAT_RIGHTLEFT |
522 "+rightleft", | |
523 #else | |
524 "-rightleft", | |
525 #endif | |
526 #ifdef FEAT_RUBY | |
527 # ifdef DYNAMIC_RUBY | |
528 "+ruby/dyn", | |
529 # else | |
530 "+ruby", | |
531 # endif | |
532 #else | |
533 "-ruby", | |
534 #endif | |
535 #ifdef FEAT_SCROLLBIND | |
536 "+scrollbind", | |
537 #else | |
538 "-scrollbind", | |
539 #endif | |
540 #ifdef FEAT_SIGNS | |
541 "+signs", | |
542 #else | |
543 "-signs", | |
544 #endif | |
545 #ifdef FEAT_SMARTINDENT | |
546 "+smartindent", | |
547 #else | |
548 "-smartindent", | |
549 #endif | |
550 #ifdef FEAT_SNIFF | |
551 "+sniff", | |
552 #else | |
553 "-sniff", | |
554 #endif | |
1989 | 555 #ifdef STARTUPTIME |
556 "+startuptime", | |
557 #else | |
558 "-startuptime", | |
559 #endif | |
7 | 560 #ifdef FEAT_STL_OPT |
561 "+statusline", | |
562 #else | |
563 "-statusline", | |
564 #endif | |
565 #ifdef FEAT_SUN_WORKSHOP | |
566 "+sun_workshop", | |
567 #else | |
568 "-sun_workshop", | |
569 #endif | |
570 #ifdef FEAT_SYN_HL | |
571 "+syntax", | |
572 #else | |
573 "-syntax", | |
574 #endif | |
575 /* only interesting on Unix systems */ | |
576 #if defined(USE_SYSTEM) && (defined(UNIX) || defined(__EMX__)) | |
577 "+system()", | |
578 #endif | |
579 #ifdef FEAT_TAG_BINS | |
580 "+tag_binary", | |
581 #else | |
582 "-tag_binary", | |
583 #endif | |
584 #ifdef FEAT_TAG_OLDSTATIC | |
585 "+tag_old_static", | |
586 #else | |
587 "-tag_old_static", | |
588 #endif | |
589 #ifdef FEAT_TAG_ANYWHITE | |
590 "+tag_any_white", | |
591 #else | |
592 "-tag_any_white", | |
593 #endif | |
594 #ifdef FEAT_TCL | |
595 # ifdef DYNAMIC_TCL | |
596 "+tcl/dyn", | |
597 # else | |
598 "+tcl", | |
599 # endif | |
600 #else | |
601 "-tcl", | |
602 #endif | |
603 #if defined(UNIX) || defined(__EMX__) | |
604 /* only Unix (or OS/2 with EMX!) can have terminfo instead of termcap */ | |
605 # ifdef TERMINFO | |
606 "+terminfo", | |
607 # else | |
608 "-terminfo", | |
609 # endif | |
610 #else /* unix always includes termcap support */ | |
611 # ifdef HAVE_TGETENT | |
612 "+tgetent", | |
613 # else | |
614 "-tgetent", | |
615 # endif | |
616 #endif | |
617 #ifdef FEAT_TERMRESPONSE | |
618 "+termresponse", | |
619 #else | |
620 "-termresponse", | |
621 #endif | |
622 #ifdef FEAT_TEXTOBJ | |
623 "+textobjects", | |
624 #else | |
625 "-textobjects", | |
626 #endif | |
627 #ifdef FEAT_TITLE | |
628 "+title", | |
629 #else | |
630 "-title", | |
631 #endif | |
632 #ifdef FEAT_TOOLBAR | |
633 "+toolbar", | |
634 #else | |
635 "-toolbar", | |
636 #endif | |
637 #ifdef FEAT_USR_CMDS | |
638 "+user_commands", | |
639 #else | |
640 "-user_commands", | |
641 #endif | |
642 #ifdef FEAT_VERTSPLIT | |
643 "+vertsplit", | |
644 #else | |
645 "-vertsplit", | |
646 #endif | |
647 #ifdef FEAT_VIRTUALEDIT | |
648 "+virtualedit", | |
649 #else | |
650 "-virtualedit", | |
651 #endif | |
652 "+visual", | |
5735 | 653 #ifdef FEAT_VISUALEXTRA |
7 | 654 "+visualextra", |
5735 | 655 #else |
7 | 656 "-visualextra", |
657 #endif | |
658 #ifdef FEAT_VIMINFO | |
659 "+viminfo", | |
660 #else | |
661 "-viminfo", | |
662 #endif | |
663 #ifdef FEAT_VREPLACE | |
664 "+vreplace", | |
665 #else | |
666 "-vreplace", | |
667 #endif | |
668 #ifdef FEAT_WILDIGN | |
669 "+wildignore", | |
670 #else | |
671 "-wildignore", | |
672 #endif | |
673 #ifdef FEAT_WILDMENU | |
674 "+wildmenu", | |
675 #else | |
676 "-wildmenu", | |
677 #endif | |
678 #ifdef FEAT_WINDOWS | |
679 "+windows", | |
680 #else | |
681 "-windows", | |
682 #endif | |
683 #ifdef FEAT_WRITEBACKUP | |
684 "+writebackup", | |
685 #else | |
686 "-writebackup", | |
687 #endif | |
688 #if defined(UNIX) || defined(VMS) | |
689 # ifdef FEAT_X11 | |
690 "+X11", | |
691 # else | |
692 "-X11", | |
693 # endif | |
694 #endif | |
695 #ifdef FEAT_XFONTSET | |
696 "+xfontset", | |
697 #else | |
698 "-xfontset", | |
699 #endif | |
700 #ifdef FEAT_XIM | |
701 "+xim", | |
702 #else | |
703 "-xim", | |
704 #endif | |
705 #if defined(UNIX) || defined(VMS) | |
706 # ifdef USE_XSMP_INTERACT | |
707 "+xsmp_interact", | |
708 # else | |
709 # ifdef USE_XSMP | |
710 "+xsmp", | |
711 # else | |
712 "-xsmp", | |
713 # endif | |
714 # endif | |
715 # ifdef FEAT_XCLIPBOARD | |
716 "+xterm_clipboard", | |
717 # else | |
718 "-xterm_clipboard", | |
719 # endif | |
720 #endif | |
721 #ifdef FEAT_XTERM_SAVE | |
722 "+xterm_save", | |
723 #else | |
724 "-xterm_save", | |
725 #endif | |
726 #ifdef WIN3264 | |
727 # ifdef FEAT_XPM_W32 | |
728 "+xpm_w32", | |
729 # else | |
730 "-xpm_w32", | |
731 # endif | |
5316 | 732 #else |
733 # ifdef HAVE_XPM | |
734 "+xpm", | |
735 # else | |
736 "-xpm", | |
737 # endif | |
7 | 738 #endif |
739 NULL | |
740 }; | |
741 | |
742 static int included_patches[] = | |
743 { /* Add new patch number below this line */ | |
744 /**/ | |
6903 | 745 771, |
746 /**/ | |
6901 | 747 770, |
748 /**/ | |
6899 | 749 769, |
750 /**/ | |
6897 | 751 768, |
752 /**/ | |
6895 | 753 767, |
754 /**/ | |
6893 | 755 766, |
756 /**/ | |
6891 | 757 765, |
758 /**/ | |
6889 | 759 764, |
760 /**/ | |
6887 | 761 763, |
762 /**/ | |
6885 | 763 762, |
764 /**/ | |
6882 | 765 761, |
766 /**/ | |
6880 | 767 760, |
768 /**/ | |
6878 | 769 759, |
770 /**/ | |
6876 | 771 758, |
772 /**/ | |
6874 | 773 757, |
774 /**/ | |
6872 | 775 756, |
776 /**/ | |
6870 | 777 755, |
778 /**/ | |
6868 | 779 754, |
780 /**/ | |
6866 | 781 753, |
782 /**/ | |
6864 | 783 752, |
784 /**/ | |
6862 | 785 751, |
786 /**/ | |
6860 | 787 750, |
788 /**/ | |
6858 | 789 749, |
790 /**/ | |
6856 | 791 748, |
792 /**/ | |
6853 | 793 747, |
794 /**/ | |
6851 | 795 746, |
796 /**/ | |
6849 | 797 745, |
798 /**/ | |
6847 | 799 744, |
800 /**/ | |
6845 | 801 743, |
802 /**/ | |
6843 | 803 742, |
804 /**/ | |
6841 | 805 741, |
806 /**/ | |
6838 | 807 740, |
808 /**/ | |
6836 | 809 739, |
810 /**/ | |
6834 | 811 738, |
812 /**/ | |
6832 | 813 737, |
814 /**/ | |
6830 | 815 736, |
816 /**/ | |
6828 | 817 735, |
818 /**/ | |
6826 | 819 734, |
820 /**/ | |
6824 | 821 733, |
822 /**/ | |
6821 | 823 732, |
824 /**/ | |
6819 | 825 731, |
826 /**/ | |
6817 | 827 730, |
828 /**/ | |
6815 | 829 729, |
830 /**/ | |
6813 | 831 728, |
832 /**/ | |
6811 | 833 727, |
834 /**/ | |
6809 | 835 726, |
836 /**/ | |
6807 | 837 725, |
838 /**/ | |
6805 | 839 724, |
840 /**/ | |
6803 | 841 723, |
842 /**/ | |
6801 | 843 722, |
844 /**/ | |
6799 | 845 721, |
846 /**/ | |
6797 | 847 720, |
848 /**/ | |
6795 | 849 719, |
850 /**/ | |
6793 | 851 718, |
852 /**/ | |
6791 | 853 717, |
854 /**/ | |
6789 | 855 716, |
856 /**/ | |
6787 | 857 715, |
858 /**/ | |
6785 | 859 714, |
860 /**/ | |
6783 | 861 713, |
862 /**/ | |
6781 | 863 712, |
864 /**/ | |
6779 | 865 711, |
866 /**/ | |
6777 | 867 710, |
868 /**/ | |
6775 | 869 709, |
870 /**/ | |
6773 | 871 708, |
872 /**/ | |
6771 | 873 707, |
874 /**/ | |
6769 | 875 706, |
876 /**/ | |
6767 | 877 705, |
878 /**/ | |
6765 | 879 704, |
880 /**/ | |
6763 | 881 703, |
882 /**/ | |
6761 | 883 702, |
884 /**/ | |
6759 | 885 701, |
886 /**/ | |
6755 | 887 700, |
888 /**/ | |
6753 | 889 699, |
890 /**/ | |
6751 | 891 698, |
892 /**/ | |
6749 | 893 697, |
894 /**/ | |
6747 | 895 696, |
896 /**/ | |
6745 | 897 695, |
898 /**/ | |
6742 | 899 694, |
900 /**/ | |
6739 | 901 693, |
902 /**/ | |
6737
9a07975061ed
patch 7.4.692 for Problem: Defining SOLARIS for no good reason. (Danek Duvall)
Bram Moolenaar <bram@vim.org>
parents:
6735
diff
changeset
|
903 692, |
9a07975061ed
patch 7.4.692 for Problem: Defining SOLARIS for no good reason. (Danek Duvall)
Bram Moolenaar <bram@vim.org>
parents:
6735
diff
changeset
|
904 /**/ |
6735
f6021786b775
patch 7.4.691 for Problem: Can't build with MzScheme.
Bram Moolenaar <bram@vim.org>
parents:
6733
diff
changeset
|
905 691, |
f6021786b775
patch 7.4.691 for Problem: Can't build with MzScheme.
Bram Moolenaar <bram@vim.org>
parents:
6733
diff
changeset
|
906 /**/ |
6733
5f6077b10738
patch 7.4.690 for Problem: Memory access errors when changing indent in Ex mode. Also missing
Bram Moolenaar <bram@vim.org>
parents:
6731
diff
changeset
|
907 690, |
5f6077b10738
patch 7.4.690 for Problem: Memory access errors when changing indent in Ex mode. Also missing
Bram Moolenaar <bram@vim.org>
parents:
6731
diff
changeset
|
908 /**/ |
6731 | 909 689, |
910 /**/ | |
6729 | 911 688, |
912 /**/ | |
6727 | 913 687, |
914 /**/ | |
6725 | 915 686, |
916 /**/ | |
6723 | 917 685, |
918 /**/ | |
6721 | 919 684, |
920 /**/ | |
6719 | 921 683, |
922 /**/ | |
6717 | 923 682, |
924 /**/ | |
6714 | 925 681, |
926 /**/ | |
6712 | 927 680, |
928 /**/ | |
6710 | 929 679, |
930 /**/ | |
6708 | 931 678, |
932 /**/ | |
6706 | 933 677, |
934 /**/ | |
6704 | 935 676, |
936 /**/ | |
6702 | 937 675, |
938 /**/ | |
6700 | 939 674, |
940 /**/ | |
6698 | 941 673, |
942 /**/ | |
6695 | 943 672, |
944 /**/ | |
6693 | 945 671, |
946 /**/ | |
6691 | 947 670, |
948 /**/ | |
6689 | 949 669, |
950 /**/ | |
6687 | 951 668, |
952 /**/ | |
6685 | 953 667, |
954 /**/ | |
6683 | 955 666, |
956 /**/ | |
6681 | 957 665, |
958 /**/ | |
6679 | 959 664, |
960 /**/ | |
6677 | 961 663, |
962 /**/ | |
6675 | 963 662, |
964 /**/ | |
6673 | 965 661, |
966 /**/ | |
6671 | 967 660, |
968 /**/ | |
6669 | 969 659, |
970 /**/ | |
6667 | 971 658, |
972 /**/ | |
6665 | 973 657, |
974 /**/ | |
6663 | 975 656, |
976 /**/ | |
6661 | 977 655, |
978 /**/ | |
6659 | 979 654, |
980 /**/ | |
6657 | 981 653, |
982 /**/ | |
6655 | 983 652, |
984 /**/ | |
6653 | 985 651, |
986 /**/ | |
6651 | 987 650, |
988 /**/ | |
6649 | 989 649, |
990 /**/ | |
6645 | 991 648, |
992 /**/ | |
6643 | 993 647, |
994 /**/ | |
6641 | 995 646, |
996 /**/ | |
6639 | 997 645, |
998 /**/ | |
6637 | 999 644, |
1000 /**/ | |
6635 | 1001 643, |
1002 /**/ | |
6633 | 1003 642, |
1004 /**/ | |
6631 | 1005 641, |
1006 /**/ | |
6629 | 1007 640, |
1008 /**/ | |
6627 | 1009 639, |
1010 /**/ | |
6625 | 1011 638, |
1012 /**/ | |
6623 | 1013 637, |
1014 /**/ | |
6620 | 1015 636, |
1016 /**/ | |
6618 | 1017 635, |
1018 /**/ | |
6616 | 1019 634, |
1020 /**/ | |
6614 | 1021 633, |
1022 /**/ | |
6612 | 1023 632, |
1024 /**/ | |
6610 | 1025 631, |
1026 /**/ | |
6608 | 1027 630, |
1028 /**/ | |
6606 | 1029 629, |
1030 /**/ | |
6604 | 1031 628, |
1032 /**/ | |
6602 | 1033 627, |
1034 /**/ | |
6600 | 1035 626, |
1036 /**/ | |
6598 | 1037 625, |
1038 /**/ | |
6596 | 1039 624, |
1040 /**/ | |
6594 | 1041 623, |
1042 /**/ | |
6592 | 1043 622, |
1044 /**/ | |
6590 | 1045 621, |
1046 /**/ | |
6588 | 1047 620, |
1048 /**/ | |
6586 | 1049 619, |
1050 /**/ | |
6584 | 1051 618, |
1052 /**/ | |
6581 | 1053 617, |
1054 /**/ | |
6579 | 1055 616, |
1056 /**/ | |
6577 | 1057 615, |
1058 /**/ | |
6575 | 1059 614, |
1060 /**/ | |
6573 | 1061 613, |
1062 /**/ | |
6571 | 1063 612, |
1064 /**/ | |
6569 | 1065 611, |
1066 /**/ | |
6567 | 1067 610, |
1068 /**/ | |
6565 | 1069 609, |
1070 /**/ | |
6563 | 1071 608, |
1072 /**/ | |
6561 | 1073 607, |
1074 /**/ | |
6559 | 1075 606, |
1076 /**/ | |
6557 | 1077 605, |
1078 /**/ | |
6555 | 1079 604, |
1080 /**/ | |
6553 | 1081 603, |
1082 /**/ | |
6551 | 1083 602, |
1084 /**/ | |
6549 | 1085 601, |
1086 /**/ | |
6547 | 1087 600, |
1088 /**/ | |
6545 | 1089 599, |
1090 /**/ | |
6543 | 1091 598, |
1092 /**/ | |
6541 | 1093 597, |
1094 /**/ | |
6539 | 1095 596, |
1096 /**/ | |
6537 | 1097 595, |
1098 /**/ | |
6535 | 1099 594, |
1100 /**/ | |
6533 | 1101 593, |
1102 /**/ | |
6531 | 1103 592, |
1104 /**/ | |
6528 | 1105 591, |
1106 /**/ | |
6526 | 1107 590, |
1108 /**/ | |
6524 | 1109 589, |
1110 /**/ | |
6522 | 1111 588, |
1112 /**/ | |
6520 | 1113 587, |
1114 /**/ | |
6518 | 1115 586, |
1116 /**/ | |
6516 | 1117 585, |
1118 /**/ | |
6514 | 1119 584, |
1120 /**/ | |
6512 | 1121 583, |
1122 /**/ | |
6510 | 1123 582, |
1124 /**/ | |
6508 | 1125 581, |
1126 /**/ | |
6506 | 1127 580, |
1128 /**/ | |
6503 | 1129 579, |
1130 /**/ | |
6501 | 1131 578, |
1132 /**/ | |
6499 | 1133 577, |
1134 /**/ | |
6497 | 1135 576, |
1136 /**/ | |
6495 | 1137 575, |
1138 /**/ | |
6493 | 1139 574, |
1140 /**/ | |
6491 | 1141 573, |
1142 /**/ | |
6489 | 1143 572, |
1144 /**/ | |
6487 | 1145 571, |
1146 /**/ | |
6485 | 1147 570, |
1148 /**/ | |
6482 | 1149 569, |
1150 /**/ | |
6480 | 1151 568, |
1152 /**/ | |
6477 | 1153 567, |
1154 /**/ | |
6474 | 1155 566, |
1156 /**/ | |
6472 | 1157 565, |
1158 /**/ | |
6470 | 1159 564, |
1160 /**/ | |
6468 | 1161 563, |
1162 /**/ | |
6466 | 1163 562, |
1164 /**/ | |
6464 | 1165 561, |
1166 /**/ | |
6462 | 1167 560, |
1168 /**/ | |
6460 | 1169 559, |
1170 /**/ | |
6458 | 1171 558, |
1172 /**/ | |
6456 | 1173 557, |
1174 /**/ | |
6454 | 1175 556, |
1176 /**/ | |
6452 | 1177 555, |
1178 /**/ | |
6450 | 1179 554, |
1180 /**/ | |
6448 | 1181 553, |
1182 /**/ | |
6445 | 1183 552, |
1184 /**/ | |
6443 | 1185 551, |
1186 /**/ | |
6441 | 1187 550, |
1188 /**/ | |
6438 | 1189 549, |
1190 /**/ | |
6436 | 1191 548, |
1192 /**/ | |
6434 | 1193 547, |
1194 /**/ | |
6432 | 1195 546, |
1196 /**/ | |
6430 | 1197 545, |
1198 /**/ | |
6428 | 1199 544, |
1200 /**/ | |
6426 | 1201 543, |
1202 /**/ | |
6424 | 1203 542, |
1204 /**/ | |
6422 | 1205 541, |
1206 /**/ | |
6419 | 1207 540, |
1208 /**/ | |
6417 | 1209 539, |
1210 /**/ | |
6415 | 1211 538, |
1212 /**/ | |
6413 | 1213 537, |
1214 /**/ | |
6411 | 1215 536, |
1216 /**/ | |
6409 | 1217 535, |
1218 /**/ | |
6406 | 1219 534, |
1220 /**/ | |
6404 | 1221 533, |
1222 /**/ | |
6402 | 1223 532, |
1224 /**/ | |
6400 | 1225 531, |
1226 /**/ | |
6398 | 1227 530, |
1228 /**/ | |
6396 | 1229 529, |
1230 /**/ | |
6394 | 1231 528, |
1232 /**/ | |
6392 | 1233 527, |
1234 /**/ | |
6390 | 1235 526, |
1236 /**/ | |
6388 | 1237 525, |
1238 /**/ | |
6386 | 1239 524, |
1240 /**/ | |
6383 | 1241 523, |
1242 /**/ | |
6381 | 1243 522, |
1244 /**/ | |
6379 | 1245 521, |
1246 /**/ | |
6377 | 1247 520, |
1248 /**/ | |
6375 | 1249 519, |
1250 /**/ | |
6373 | 1251 518, |
1252 /**/ | |
6371 | 1253 517, |
1254 /**/ | |
6367 | 1255 516, |
1256 /**/ | |
6365 | 1257 515, |
1258 /**/ | |
6363 | 1259 514, |
1260 /**/ | |
6361 | 1261 513, |
1262 /**/ | |
6359 | 1263 512, |
1264 /**/ | |
6357 | 1265 511, |
1266 /**/ | |
6355 | 1267 510, |
1268 /**/ | |
6353 | 1269 509, |
1270 /**/ | |
6351 | 1271 508, |
1272 /**/ | |
6349 | 1273 507, |
1274 /**/ | |
6347 | 1275 506, |
1276 /**/ | |
6345 | 1277 505, |
1278 /**/ | |
6343 | 1279 504, |
1280 /**/ | |
6341 | 1281 503, |
1282 /**/ | |
6339 | 1283 502, |
1284 /**/ | |
6337 | 1285 501, |
1286 /**/ | |
6334 | 1287 500, |
1288 /**/ | |
6332 | 1289 499, |
1290 /**/ | |
6330 | 1291 498, |
1292 /**/ | |
6328 | 1293 497, |
1294 /**/ | |
6326 | 1295 496, |
1296 /**/ | |
6324 | 1297 495, |
1298 /**/ | |
6322 | 1299 494, |
1300 /**/ | |
6320 | 1301 493, |
1302 /**/ | |
6318 | 1303 492, |
1304 /**/ | |
6316 | 1305 491, |
1306 /**/ | |
6314 | 1307 490, |
1308 /**/ | |
6312 | 1309 489, |
1310 /**/ | |
6310 | 1311 488, |
1312 /**/ | |
6307 | 1313 487, |
1314 /**/ | |
6305 | 1315 486, |
1316 /**/ | |
6303 | 1317 485, |
1318 /**/ | |
6301 | 1319 484, |
1320 /**/ | |
6299 | 1321 483, |
1322 /**/ | |
6297 | 1323 482, |
1324 /**/ | |
6295 | 1325 481, |
1326 /**/ | |
6293 | 1327 480, |
1328 /**/ | |
6290 | 1329 479, |
1330 /**/ | |
6288 | 1331 478, |
1332 /**/ | |
6286 | 1333 477, |
1334 /**/ | |
6284 | 1335 476, |
1336 /**/ | |
6282 | 1337 475, |
1338 /**/ | |
6280 | 1339 474, |
1340 /**/ | |
6278 | 1341 473, |
1342 /**/ | |
6276 | 1343 472, |
1344 /**/ | |
6274 | 1345 471, |
1346 /**/ | |
6272 | 1347 470, |
1348 /**/ | |
6270 | 1349 469, |
1350 /**/ | |
6268 | 1351 468, |
1352 /**/ | |
6266 | 1353 467, |
1354 /**/ | |
6264 | 1355 466, |
1356 /**/ | |
6262 | 1357 465, |
1358 /**/ | |
6260 | 1359 464, |
1360 /**/ | |
6257 | 1361 463, |
1362 /**/ | |
6255 | 1363 462, |
1364 /**/ | |
6253 | 1365 461, |
1366 /**/ | |
6251 | 1367 460, |
1368 /**/ | |
6249 | 1369 459, |
1370 /**/ | |
6247 | 1371 458, |
1372 /**/ | |
6245 | 1373 457, |
1374 /**/ | |
6243 | 1375 456, |
1376 /**/ | |
6241 | 1377 455, |
1378 /**/ | |
6239 | 1379 454, |
1380 /**/ | |
6236 | 1381 453, |
1382 /**/ | |
6234 | 1383 452, |
1384 /**/ | |
6232 | 1385 451, |
1386 /**/ | |
6230 | 1387 450, |
1388 /**/ | |
6228 | 1389 449, |
1390 /**/ | |
6226 | 1391 448, |
1392 /**/ | |
6224 | 1393 447, |
1394 /**/ | |
6222 | 1395 446, |
1396 /**/ | |
6220 | 1397 445, |
1398 /**/ | |
6218 | 1399 444, |
1400 /**/ | |
6216 | 1401 443, |
1402 /**/ | |
6214 | 1403 442, |
1404 /**/ | |
6211 | 1405 441, |
1406 /**/ | |
6209 | 1407 440, |
1408 /**/ | |
6207 | 1409 439, |
1410 /**/ | |
6205 | 1411 438, |
1412 /**/ | |
6203 | 1413 437, |
1414 /**/ | |
6201 | 1415 436, |
1416 /**/ | |
6199 | 1417 435, |
1418 /**/ | |
6197 | 1419 434, |
1420 /**/ | |
6195 | 1421 433, |
1422 /**/ | |
6193 | 1423 432, |
1424 /**/ | |
6191 | 1425 431, |
1426 /**/ | |
6189 | 1427 430, |
1428 /**/ | |
6187 | 1429 429, |
1430 /**/ | |
6185 | 1431 428, |
1432 /**/ | |
6183 | 1433 427, |
1434 /**/ | |
6181 | 1435 426, |
1436 /**/ | |
6178 | 1437 425, |
1438 /**/ | |
6176 | 1439 424, |
1440 /**/ | |
6174 | 1441 423, |
1442 /**/ | |
6172 | 1443 422, |
1444 /**/ | |
6170 | 1445 421, |
1446 /**/ | |
6168 | 1447 420, |
1448 /**/ | |
6166 | 1449 419, |
1450 /**/ | |
6164 | 1451 418, |
1452 /**/ | |
6162 | 1453 417, |
1454 /**/ | |
6160 | 1455 416, |
1456 /**/ | |
6158
353442863d85
Update version number to 7.4.415
Bram Moolenaar <bram@vim.org>
parents:
6154
diff
changeset
|
1457 415, |
353442863d85
Update version number to 7.4.415
Bram Moolenaar <bram@vim.org>
parents:
6154
diff
changeset
|
1458 /**/ |
6154 | 1459 414, |
1460 /**/ | |
6151 | 1461 413, |
1462 /**/ | |
6149 | 1463 412, |
1464 /**/ | |
6147 | 1465 411, |
1466 /**/ | |
6145 | 1467 410, |
1468 /**/ | |
6143 | 1469 409, |
1470 /**/ | |
6140 | 1471 408, |
1472 /**/ | |
6138 | 1473 407, |
1474 /**/ | |
6136 | 1475 406, |
1476 /**/ | |
6134 | 1477 405, |
1478 /**/ | |
6132 | 1479 404, |
1480 /**/ | |
6130 | 1481 403, |
1482 /**/ | |
6128 | 1483 402, |
1484 /**/ | |
6126 | 1485 401, |
1486 /**/ | |
6124 | 1487 400, |
1488 /**/ | |
6122 | 1489 399, |
1490 /**/ | |
6120 | 1491 398, |
1492 /**/ | |
6118 | 1493 397, |
1494 /**/ | |
6116 | 1495 396, |
1496 /**/ | |
6114 | 1497 395, |
1498 /**/ | |
6112 | 1499 394, |
1500 /**/ | |
6110 | 1501 393, |
1502 /**/ | |
6108 | 1503 392, |
1504 /**/ | |
6106 | 1505 391, |
1506 /**/ | |
6104 | 1507 390, |
1508 /**/ | |
6102 | 1509 389, |
1510 /**/ | |
6100 | 1511 388, |
1512 /**/ | |
6098 | 1513 387, |
1514 /**/ | |
6096 | 1515 386, |
1516 /**/ | |
6094 | 1517 385, |
1518 /**/ | |
6092 | 1519 384, |
1520 /**/ | |
6089 | 1521 383, |
1522 /**/ | |
6087 | 1523 382, |
1524 /**/ | |
6085 | 1525 381, |
1526 /**/ | |
6083 | 1527 380, |
1528 /**/ | |
6081 | 1529 379, |
1530 /**/ | |
6079 | 1531 378, |
1532 /**/ | |
6077 | 1533 377, |
1534 /**/ | |
6075 | 1535 376, |
1536 /**/ | |
6073 | 1537 375, |
1538 /**/ | |
6071 | 1539 374, |
1540 /**/ | |
6068 | 1541 373, |
1542 /**/ | |
6066 | 1543 372, |
1544 /**/ | |
6064 | 1545 371, |
1546 /**/ | |
6062 | 1547 370, |
1548 /**/ | |
6060 | 1549 369, |
1550 /**/ | |
6058 | 1551 368, |
1552 /**/ | |
6056 | 1553 367, |
1554 /**/ | |
6054 | 1555 366, |
1556 /**/ | |
6052 | 1557 365, |
1558 /**/ | |
6049 | 1559 364, |
1560 /**/ | |
6047 | 1561 363, |
1562 /**/ | |
6045 | 1563 362, |
1564 /**/ | |
6043 | 1565 361, |
1566 /**/ | |
6041 | 1567 360, |
1568 /**/ | |
6039 | 1569 359, |
1570 /**/ | |
6037 | 1571 358, |
1572 /**/ | |
6035 | 1573 357, |
1574 /**/ | |
6033 | 1575 356, |
1576 /**/ | |
6030 | 1577 355, |
1578 /**/ | |
6028 | 1579 354, |
1580 /**/ | |
6026 | 1581 353, |
1582 /**/ | |
6024 | 1583 352, |
1584 /**/ | |
6022 | 1585 351, |
1586 /**/ | |
6020 | 1587 350, |
1588 /**/ | |
6018 | 1589 349, |
1590 /**/ | |
6016 | 1591 348, |
1592 /**/ | |
6014 | 1593 347, |
1594 /**/ | |
6012 | 1595 346, |
1596 /**/ | |
6010 | 1597 345, |
1598 /**/ | |
6007 | 1599 344, |
1600 /**/ | |
6005 | 1601 343, |
1602 /**/ | |
6003 | 1603 342, |
1604 /**/ | |
6001 | 1605 341, |
1606 /**/ | |
5999 | 1607 340, |
1608 /**/ | |
5997 | 1609 339, |
1610 /**/ | |
5995 | 1611 338, |
1612 /**/ | |
5993 | 1613 337, |
1614 /**/ | |
5991 | 1615 336, |
1616 /**/ | |
5989 | 1617 335, |
1618 /**/ | |
5987 | 1619 334, |
1620 /**/ | |
5985 | 1621 333, |
1622 /**/ | |
5983 | 1623 332, |
1624 /**/ | |
5981 | 1625 331, |
1626 /**/ | |
5979 | 1627 330, |
1628 /**/ | |
5977 | 1629 329, |
1630 /**/ | |
5975 | 1631 328, |
1632 /**/ | |
5973 | 1633 327, |
1634 /**/ | |
5971 | 1635 326, |
1636 /**/ | |
5969 | 1637 325, |
1638 /**/ | |
5966 | 1639 324, |
1640 /**/ | |
5964 | 1641 323, |
1642 /**/ | |
5962 | 1643 322, |
1644 /**/ | |
5960 | 1645 321, |
1646 /**/ | |
5958 | 1647 320, |
1648 /**/ | |
5956 | 1649 319, |
1650 /**/ | |
5954 | 1651 318, |
1652 /**/ | |
5952 | 1653 317, |
1654 /**/ | |
5950 | 1655 316, |
1656 /**/ | |
5948 | 1657 315, |
1658 /**/ | |
5946 | 1659 314, |
1660 /**/ | |
5944 | 1661 313, |
1662 /**/ | |
5942 | 1663 312, |
1664 /**/ | |
5940 | 1665 311, |
1666 /**/ | |
5938 | 1667 310, |
1668 /**/ | |
5936 | 1669 309, |
1670 /**/ | |
5934 | 1671 308, |
1672 /**/ | |
5932 | 1673 307, |
1674 /**/ | |
5930 | 1675 306, |
1676 /**/ | |
5927 | 1677 305, |
1678 /**/ | |
5925 | 1679 304, |
1680 /**/ | |
5923 | 1681 303, |
1682 /**/ | |
5921 | 1683 302, |
1684 /**/ | |
5919 | 1685 301, |
1686 /**/ | |
5917 | 1687 300, |
1688 /**/ | |
5915 | 1689 299, |
1690 /**/ | |
5913 | 1691 298, |
1692 /**/ | |
5911 | 1693 297, |
1694 /**/ | |
5909 | 1695 296, |
1696 /**/ | |
5905 | 1697 295, |
1698 /**/ | |
5903 | 1699 294, |
1700 /**/ | |
5901 | 1701 293, |
1702 /**/ | |
5899 | 1703 292, |
1704 /**/ | |
5897 | 1705 291, |
1706 /**/ | |
5895 | 1707 290, |
1708 /**/ | |
5893 | 1709 289, |
1710 /**/ | |
5891 | 1711 288, |
1712 /**/ | |
5889 | 1713 287, |
1714 /**/ | |
5887 | 1715 286, |
1716 /**/ | |
5885 | 1717 285, |
1718 /**/ | |
5883 | 1719 284, |
1720 /**/ | |
5881 | 1721 283, |
1722 /**/ | |
5879 | 1723 282, |
1724 /**/ | |
5877 | 1725 281, |
1726 /**/ | |
5875 | 1727 280, |
1728 /**/ | |
5873 | 1729 279, |
1730 /**/ | |
5871 | 1731 278, |
1732 /**/ | |
5869 | 1733 277, |
1734 /**/ | |
5867 | 1735 276, |
1736 /**/ | |
5865 | 1737 275, |
1738 /**/ | |
5863 | 1739 274, |
1740 /**/ | |
5860 | 1741 273, |
1742 /**/ | |
5858 | 1743 272, |
1744 /**/ | |
5856 | 1745 271, |
1746 /**/ | |
5854 | 1747 270, |
1748 /**/ | |
5852 | 1749 269, |
1750 /**/ | |
5850 | 1751 268, |
1752 /**/ | |
5848 | 1753 267, |
1754 /**/ | |
5846 | 1755 266, |
1756 /**/ | |
5844 | 1757 265, |
1758 /**/ | |
5842 | 1759 264, |
1760 /**/ | |
5840 | 1761 263, |
1762 /**/ | |
5838 | 1763 262, |
1764 /**/ | |
5836 | 1765 261, |
1766 /**/ | |
5834 | 1767 260, |
1768 /**/ | |
5832 | 1769 259, |
1770 /**/ | |
5830 | 1771 258, |
1772 /**/ | |
5828 | 1773 257, |
1774 /**/ | |
5826 | 1775 256, |
1776 /**/ | |
5824 | 1777 255, |
1778 /**/ | |
5822 | 1779 254, |
1780 /**/ | |
5820 | 1781 253, |
1782 /**/ | |
5818 | 1783 252, |
1784 /**/ | |
5816 | 1785 251, |
1786 /**/ | |
5812 | 1787 250, |
1788 /**/ | |
5810 | 1789 249, |
1790 /**/ | |
5808 | 1791 248, |
1792 /**/ | |
5806 | 1793 247, |
1794 /**/ | |
5804 | 1795 246, |
1796 /**/ | |
5802 | 1797 245, |
1798 /**/ | |
5800 | 1799 244, |
1800 /**/ | |
5798 | 1801 243, |
1802 /**/ | |
5796 | 1803 242, |
1804 /**/ | |
5794 | 1805 241, |
1806 /**/ | |
5792 | 1807 240, |
1808 /**/ | |
5790 | 1809 239, |
1810 /**/ | |
5788 | 1811 238, |
1812 /**/ | |
5786 | 1813 237, |
1814 /**/ | |
5784 | 1815 236, |
1816 /**/ | |
5782 | 1817 235, |
1818 /**/ | |
5780 | 1819 234, |
1820 /**/ | |
5778 | 1821 233, |
1822 /**/ | |
5776 | 1823 232, |
1824 /**/ | |
5774 | 1825 231, |
1826 /**/ | |
5772 | 1827 230, |
1828 /**/ | |
5770 | 1829 229, |
1830 /**/ | |
5768 | 1831 228, |
1832 /**/ | |
5766 | 1833 227, |
1834 /**/ | |
5764 | 1835 226, |
1836 /**/ | |
5761 | 1837 225, |
1838 /**/ | |
5759 | 1839 224, |
1840 /**/ | |
5757 | 1841 223, |
1842 /**/ | |
5755 | 1843 222, |
1844 /**/ | |
5753 | 1845 221, |
1846 /**/ | |
5751 | 1847 220, |
1848 /**/ | |
5749 | 1849 219, |
1850 /**/ | |
5747 | 1851 218, |
1852 /**/ | |
5745 | 1853 217, |
1854 /**/ | |
5743 | 1855 216, |
1856 /**/ | |
5741 | 1857 215, |
1858 /**/ | |
5739 | 1859 214, |
1860 /**/ | |
5737 | 1861 213, |
1862 /**/ | |
5735 | 1863 212, |
1864 /**/ | |
5732 | 1865 211, |
1866 /**/ | |
5730 | 1867 210, |
1868 /**/ | |
5728 | 1869 209, |
1870 /**/ | |
5726 | 1871 208, |
1872 /**/ | |
5724 | 1873 207, |
1874 /**/ | |
5722 | 1875 206, |
1876 /**/ | |
5720 | 1877 205, |
1878 /**/ | |
5718 | 1879 204, |
1880 /**/ | |
5716 | 1881 203, |
1882 /**/ | |
5714 | 1883 202, |
1884 /**/ | |
5712 | 1885 201, |
1886 /**/ | |
5710 | 1887 200, |
1888 /**/ | |
5708 | 1889 199, |
1890 /**/ | |
5706 | 1891 198, |
1892 /**/ | |
5704 | 1893 197, |
1894 /**/ | |
5702 | 1895 196, |
1896 /**/ | |
5700 | 1897 195, |
1898 /**/ | |
5698 | 1899 194, |
1900 /**/ | |
5695 | 1901 193, |
1902 /**/ | |
5693 | 1903 192, |
1904 /**/ | |
5690 | 1905 191, |
1906 /**/ | |
5688 | 1907 190, |
1908 /**/ | |
5686 | 1909 189, |
1910 /**/ | |
5684 | 1911 188, |
1912 /**/ | |
5682 | 1913 187, |
1914 /**/ | |
5680 | 1915 186, |
1916 /**/ | |
5678 | 1917 185, |
1918 /**/ | |
5676 | 1919 184, |
1920 /**/ | |
5674 | 1921 183, |
1922 /**/ | |
5672 | 1923 182, |
1924 /**/ | |
5670 | 1925 181, |
1926 /**/ | |
5668 | 1927 180, |
1928 /**/ | |
5666 | 1929 179, |
1930 /**/ | |
5664 | 1931 178, |
1932 /**/ | |
5661 | 1933 177, |
1934 /**/ | |
5659 | 1935 176, |
1936 /**/ | |
5657 | 1937 175, |
1938 /**/ | |
5655 | 1939 174, |
1940 /**/ | |
5653 | 1941 173, |
1942 /**/ | |
5651 | 1943 172, |
1944 /**/ | |
5649 | 1945 171, |
1946 /**/ | |
5647 | 1947 170, |
1948 /**/ | |
5645 | 1949 169, |
1950 /**/ | |
5643 | 1951 168, |
1952 /**/ | |
5641 | 1953 167, |
1954 /**/ | |
5639 | 1955 166, |
1956 /**/ | |
5637 | 1957 165, |
1958 /**/ | |
5635 | 1959 164, |
1960 /**/ | |
5633 | 1961 163, |
1962 /**/ | |
5631 | 1963 162, |
1964 /**/ | |
5629 | 1965 161, |
1966 /**/ | |
5627 | 1967 160, |
1968 /**/ | |
5625 | 1969 159, |
1970 /**/ | |
5623 | 1971 158, |
1972 /**/ | |
5621 | 1973 157, |
1974 /**/ | |
5619 | 1975 156, |
1976 /**/ | |
5616 | 1977 155, |
1978 /**/ | |
5614 | 1979 154, |
1980 /**/ | |
5612 | 1981 153, |
1982 /**/ | |
5610 | 1983 152, |
1984 /**/ | |
5608 | 1985 151, |
1986 /**/ | |
5606 | 1987 150, |
1988 /**/ | |
5604 | 1989 149, |
1990 /**/ | |
5602 | 1991 148, |
1992 /**/ | |
5600 | 1993 147, |
1994 /**/ | |
5598 | 1995 146, |
1996 /**/ | |
5596 | 1997 145, |
1998 /**/ | |
5594 | 1999 144, |
2000 /**/ | |
5592 | 2001 143, |
2002 /**/ | |
5590 | 2003 142, |
2004 /**/ | |
5588 | 2005 141, |
2006 /**/ | |
5586 | 2007 140, |
2008 /**/ | |
5584 | 2009 139, |
2010 /**/ | |
5582 | 2011 138, |
2012 /**/ | |
5580 | 2013 137, |
2014 /**/ | |
5578 | 2015 136, |
2016 /**/ | |
5575 | 2017 135, |
2018 /**/ | |
5573 | 2019 134, |
2020 /**/ | |
5571 | 2021 133, |
2022 /**/ | |
5569 | 2023 132, |
2024 /**/ | |
5566 | 2025 131, |
2026 /**/ | |
5564 | 2027 130, |
2028 /**/ | |
5562 | 2029 129, |
2030 /**/ | |
5560 | 2031 128, |
2032 /**/ | |
5558 | 2033 127, |
2034 /**/ | |
5556 | 2035 126, |
2036 /**/ | |
5553 | 2037 125, |
2038 /**/ | |
5551 | 2039 124, |
2040 /**/ | |
5549 | 2041 123, |
2042 /**/ | |
5547 | 2043 122, |
2044 /**/ | |
5545 | 2045 121, |
2046 /**/ | |
5543 | 2047 120, |
2048 /**/ | |
5541 | 2049 119, |
2050 /**/ | |
5539 | 2051 118, |
2052 /**/ | |
5537 | 2053 117, |
2054 /**/ | |
5535 | 2055 116, |
2056 /**/ | |
5533 | 2057 115, |
2058 /**/ | |
5531 | 2059 114, |
2060 /**/ | |
5529 | 2061 113, |
2062 /**/ | |
5527 | 2063 112, |
2064 /**/ | |
5525 | 2065 111, |
2066 /**/ | |
5523 | 2067 110, |
2068 /**/ | |
5521 | 2069 109, |
2070 /**/ | |
5519 | 2071 108, |
2072 /**/ | |
5517 | 2073 107, |
2074 /**/ | |
5515 | 2075 106, |
2076 /**/ | |
5513 | 2077 105, |
2078 /**/ | |
5511 | 2079 104, |
2080 /**/ | |
5508 | 2081 103, |
2082 /**/ | |
5506 | 2083 102, |
2084 /**/ | |
5504 | 2085 101, |
2086 /**/ | |
5502 | 2087 100, |
2088 /**/ | |
5500 | 2089 99, |
2090 /**/ | |
5498 | 2091 98, |
2092 /**/ | |
5496 | 2093 97, |
2094 /**/ | |
5494 | 2095 96, |
2096 /**/ | |
5492 | 2097 95, |
2098 /**/ | |
5490 | 2099 94, |
2100 /**/ | |
5488 | 2101 93, |
2102 /**/ | |
5485 | 2103 92, |
2104 /**/ | |
5483 | 2105 91, |
2106 /**/ | |
5481 | 2107 90, |
2108 /**/ | |
5479 | 2109 89, |
2110 /**/ | |
5477 | 2111 88, |
2112 /**/ | |
5475 | 2113 87, |
2114 /**/ | |
5473 | 2115 86, |
2116 /**/ | |
5471 | 2117 85, |
2118 /**/ | |
5469 | 2119 84, |
2120 /**/ | |
5467 | 2121 83, |
2122 /**/ | |
5464 | 2123 82, |
2124 /**/ | |
5462 | 2125 81, |
2126 /**/ | |
5460 | 2127 80, |
2128 /**/ | |
5458 | 2129 79, |
2130 /**/ | |
5456 | 2131 78, |
2132 /**/ | |
5454 | 2133 77, |
2134 /**/ | |
5452 | 2135 76, |
2136 /**/ | |
5450 | 2137 75, |
2138 /**/ | |
5448 | 2139 74, |
2140 /**/ | |
5446 | 2141 73, |
2142 /**/ | |
5444 | 2143 72, |
2144 /**/ | |
5442 | 2145 71, |
2146 /**/ | |
5440 | 2147 70, |
2148 /**/ | |
5438 | 2149 69, |
2150 /**/ | |
5436 | 2151 68, |
2152 /**/ | |
5434 | 2153 67, |
2154 /**/ | |
5432 | 2155 66, |
2156 /**/ | |
5430 | 2157 65, |
2158 /**/ | |
5428 | 2159 64, |
2160 /**/ | |
5426 | 2161 63, |
2162 /**/ | |
5423 | 2163 62, |
2164 /**/ | |
5421 | 2165 61, |
2166 /**/ | |
5419 | 2167 60, |
2168 /**/ | |
5417 | 2169 59, |
2170 /**/ | |
5415 | 2171 58, |
2172 /**/ | |
5413 | 2173 57, |
2174 /**/ | |
5411 | 2175 56, |
2176 /**/ | |
5409 | 2177 55, |
2178 /**/ | |
5407 | 2179 54, |
2180 /**/ | |
5405 | 2181 53, |
2182 /**/ | |
5403 | 2183 52, |
2184 /**/ | |
5401 | 2185 51, |
2186 /**/ | |
5398 | 2187 50, |
2188 /**/ | |
5396 | 2189 49, |
2190 /**/ | |
5394 | 2191 48, |
2192 /**/ | |
5392 | 2193 47, |
2194 /**/ | |
5390 | 2195 46, |
2196 /**/ | |
5388 | 2197 45, |
2198 /**/ | |
5386 | 2199 44, |
2200 /**/ | |
5384 | 2201 43, |
2202 /**/ | |
5382 | 2203 42, |
2204 /**/ | |
5380 | 2205 41, |
2206 /**/ | |
5378 | 2207 40, |
2208 /**/ | |
5376 | 2209 39, |
2210 /**/ | |
5374 | 2211 38, |
2212 /**/ | |
5372 | 2213 37, |
2214 /**/ | |
5370 | 2215 36, |
2216 /**/ | |
5367 | 2217 35, |
2218 /**/ | |
5365 | 2219 34, |
2220 /**/ | |
5363 | 2221 33, |
2222 /**/ | |
5360 | 2223 32, |
2224 /**/ | |
5358 | 2225 31, |
2226 /**/ | |
5356 | 2227 30, |
2228 /**/ | |
5353 | 2229 29, |
2230 /**/ | |
5351 | 2231 28, |
2232 /**/ | |
5349 | 2233 27, |
2234 /**/ | |
5347 | 2235 26, |
2236 /**/ | |
5345 | 2237 25, |
2238 /**/ | |
5343 | 2239 24, |
2240 /**/ | |
5341 | 2241 23, |
2242 /**/ | |
5338 | 2243 22, |
2244 /**/ | |
5336 | 2245 21, |
2246 /**/ | |
5334 | 2247 20, |
2248 /**/ | |
5332 | 2249 19, |
2250 /**/ | |
5330 | 2251 18, |
2252 /**/ | |
5328 | 2253 17, |
2254 /**/ | |
5326 | 2255 16, |
2256 /**/ | |
5324 | 2257 15, |
2258 /**/ | |
5322 | 2259 14, |
2260 /**/ | |
5320 | 2261 13, |
2262 /**/ | |
5318 | 2263 12, |
2264 /**/ | |
5316 | 2265 11, |
2266 /**/ | |
5314 | 2267 10, |
2268 /**/ | |
5312 | 2269 9, |
2270 /**/ | |
5310 | 2271 8, |
2272 /**/ | |
5308 | 2273 7, |
2274 /**/ | |
5306 | 2275 6, |
2276 /**/ | |
5304 | 2277 5, |
2278 /**/ | |
5302 | 2279 4, |
2280 /**/ | |
5300 | 2281 3, |
2282 /**/ | |
5298 | 2283 2, |
2284 /**/ | |
5296 | 2285 1, |
2286 /**/ | |
7 | 2287 0 |
2288 }; | |
2289 | |
1760 | 2290 /* |
2291 * Place to put a short description when adding a feature with a patch. | |
2292 * Keep it short, e.g.,: "relative numbers", "persistent undo". | |
2293 * Also add a comment marker to separate the lines. | |
2294 * See the official Vim patches for the diff format: It must use a context of | |
1777 | 2295 * one line only. Create it by hand or use "diff -C2" and edit the patch. |
1760 | 2296 */ |
2297 static char *(extra_patches[]) = | |
2298 { /* Add your patch description below this line */ | |
2299 /**/ | |
2300 NULL | |
2301 }; | |
2302 | |
7 | 2303 int |
2304 highest_patch() | |
2305 { | |
2306 int i; | |
2307 int h = 0; | |
2308 | |
2309 for (i = 0; included_patches[i] != 0; ++i) | |
2310 if (included_patches[i] > h) | |
2311 h = included_patches[i]; | |
2312 return h; | |
2313 } | |
2314 | |
2315 #if defined(FEAT_EVAL) || defined(PROTO) | |
2316 /* | |
2317 * Return TRUE if patch "n" has been included. | |
2318 */ | |
2319 int | |
2320 has_patch(n) | |
2321 int n; | |
2322 { | |
2323 int i; | |
2324 | |
2325 for (i = 0; included_patches[i] != 0; ++i) | |
2326 if (included_patches[i] == n) | |
2327 return TRUE; | |
2328 return FALSE; | |
2329 } | |
2330 #endif | |
2331 | |
2332 void | |
2333 ex_version(eap) | |
2334 exarg_T *eap; | |
2335 { | |
2336 /* | |
2337 * Ignore a ":version 9.99" command. | |
2338 */ | |
2339 if (*eap->arg == NUL) | |
2340 { | |
2341 msg_putchar('\n'); | |
2342 list_version(); | |
2343 } | |
2344 } | |
2345 | |
4147 | 2346 /* |
2347 * List all features aligned in columns, dictionary style. | |
2348 */ | |
2349 static void | |
2350 list_features() | |
2351 { | |
2352 int i; | |
2353 int ncol; | |
2354 int nrow; | |
2355 int nfeat = 0; | |
2356 int width = 0; | |
2357 | |
2358 /* Find the length of the longest feature name, use that + 1 as the column | |
2359 * width */ | |
2360 for (i = 0; features[i] != NULL; ++i) | |
2361 { | |
4160 | 2362 int l = (int)STRLEN(features[i]); |
4147 | 2363 |
2364 if (l > width) | |
2365 width = l; | |
2366 ++nfeat; | |
2367 } | |
2368 width += 1; | |
2369 | |
2370 if (Columns < width) | |
2371 { | |
2372 /* Not enough screen columns - show one per line */ | |
2373 for (i = 0; features[i] != NULL; ++i) | |
2374 { | |
2375 version_msg(features[i]); | |
2376 if (msg_col > 0) | |
2377 msg_putchar('\n'); | |
2378 } | |
2379 return; | |
2380 } | |
2381 | |
2382 /* The rightmost column doesn't need a separator. | |
2383 * Sacrifice it to fit in one more column if possible. */ | |
4170 | 2384 ncol = (int) (Columns + 1) / width; |
4147 | 2385 nrow = nfeat / ncol + (nfeat % ncol ? 1 : 0); |
2386 | |
4170 | 2387 /* i counts columns then rows. idx counts rows then columns. */ |
4147 | 2388 for (i = 0; !got_int && i < nrow * ncol; ++i) |
2389 { | |
2390 int idx = (i / ncol) + (i % ncol) * nrow; | |
2391 | |
2392 if (idx < nfeat) | |
2393 { | |
2394 int last_col = (i + 1) % ncol == 0; | |
2395 | |
2396 msg_puts((char_u *)features[idx]); | |
2397 if (last_col) | |
2398 { | |
2399 if (msg_col > 0) | |
2400 msg_putchar('\n'); | |
2401 } | |
2402 else | |
2403 { | |
2404 while (msg_col % width) | |
2405 msg_putchar(' '); | |
2406 } | |
2407 } | |
2408 else | |
4170 | 2409 { |
2410 if (msg_col > 0) | |
2411 msg_putchar('\n'); | |
2412 } | |
4147 | 2413 } |
2414 } | |
4160 | 2415 |
7 | 2416 void |
2417 list_version() | |
2418 { | |
2419 int i; | |
2420 int first; | |
2421 char *s = ""; | |
2422 | |
2423 /* | |
2424 * When adding features here, don't forget to update the list of | |
2425 * internal variables in eval.c! | |
2426 */ | |
2427 MSG(longVersion); | |
2428 #ifdef WIN3264 | |
2429 # ifdef FEAT_GUI_W32 | |
2430 # if defined(_MSC_VER) && (_MSC_VER <= 1010) | |
2431 /* Only MS VC 4.1 and earlier can do Win32s */ | |
1607 | 2432 MSG_PUTS(_("\nMS-Windows 16/32-bit GUI version")); |
7 | 2433 # else |
990 | 2434 # ifdef _WIN64 |
1607 | 2435 MSG_PUTS(_("\nMS-Windows 64-bit GUI version")); |
990 | 2436 # else |
1607 | 2437 MSG_PUTS(_("\nMS-Windows 32-bit GUI version")); |
990 | 2438 # endif |
7 | 2439 # endif |
2440 if (gui_is_win32s()) | |
2441 MSG_PUTS(_(" in Win32s mode")); | |
2442 # ifdef FEAT_OLE | |
2443 MSG_PUTS(_(" with OLE support")); | |
2444 # endif | |
2445 # else | |
1607 | 2446 # ifdef _WIN64 |
2447 MSG_PUTS(_("\nMS-Windows 64-bit console version")); | |
2448 # else | |
2449 MSG_PUTS(_("\nMS-Windows 32-bit console version")); | |
2450 # endif | |
7 | 2451 # endif |
2452 #endif | |
2453 #ifdef WIN16 | |
1607 | 2454 MSG_PUTS(_("\nMS-Windows 16-bit version")); |
7 | 2455 #endif |
2456 #ifdef MSDOS | |
2457 # ifdef DJGPP | |
1607 | 2458 MSG_PUTS(_("\n32-bit MS-DOS version")); |
7 | 2459 # else |
1607 | 2460 MSG_PUTS(_("\n16-bit MS-DOS version")); |
7 | 2461 # endif |
2462 #endif | |
2463 #ifdef MACOS | |
2464 # ifdef MACOS_X | |
2465 # ifdef MACOS_X_UNIX | |
2466 MSG_PUTS(_("\nMacOS X (unix) version")); | |
2467 # else | |
2468 MSG_PUTS(_("\nMacOS X version")); | |
2469 # endif | |
2470 #else | |
2471 MSG_PUTS(_("\nMacOS version")); | |
2472 # endif | |
2473 #endif | |
2474 | |
2475 #ifdef VMS | |
1705 | 2476 MSG_PUTS(_("\nOpenVMS version")); |
1045 | 2477 # ifdef HAVE_PATHDEF |
2478 if (*compiled_arch != NUL) | |
2479 { | |
2480 MSG_PUTS(" - "); | |
2481 MSG_PUTS(compiled_arch); | |
2482 } | |
2483 # endif | |
2484 | |
7 | 2485 #endif |
2486 | |
2487 /* Print the list of patch numbers if there is at least one. */ | |
2488 /* Print a range when patches are consecutive: "1-10, 12, 15-40, 42-45" */ | |
2489 if (included_patches[0] != 0) | |
2490 { | |
2491 MSG_PUTS(_("\nIncluded patches: ")); | |
2492 first = -1; | |
2493 /* find last one */ | |
2494 for (i = 0; included_patches[i] != 0; ++i) | |
2495 ; | |
2496 while (--i >= 0) | |
2497 { | |
2498 if (first < 0) | |
2499 first = included_patches[i]; | |
2500 if (i == 0 || included_patches[i - 1] != included_patches[i] + 1) | |
2501 { | |
2502 MSG_PUTS(s); | |
2503 s = ", "; | |
2504 msg_outnum((long)first); | |
2505 if (first != included_patches[i]) | |
2506 { | |
2507 MSG_PUTS("-"); | |
2508 msg_outnum((long)included_patches[i]); | |
2509 } | |
2510 first = -1; | |
2511 } | |
2512 } | |
2513 } | |
2514 | |
1760 | 2515 /* Print the list of extra patch descriptions if there is at least one. */ |
2516 if (extra_patches[0] != NULL) | |
2517 { | |
2518 MSG_PUTS(_("\nExtra patches: ")); | |
2519 s = ""; | |
2520 for (i = 0; extra_patches[i] != NULL; ++i) | |
2521 { | |
2522 MSG_PUTS(s); | |
2523 s = ", "; | |
2524 MSG_PUTS(extra_patches[i]); | |
2525 } | |
2526 } | |
2527 | |
7 | 2528 #ifdef MODIFIED_BY |
2529 MSG_PUTS("\n"); | |
2530 MSG_PUTS(_("Modified by ")); | |
2531 MSG_PUTS(MODIFIED_BY); | |
2532 #endif | |
2533 | |
2534 #ifdef HAVE_PATHDEF | |
2535 if (*compiled_user != NUL || *compiled_sys != NUL) | |
2536 { | |
2537 MSG_PUTS(_("\nCompiled ")); | |
2538 if (*compiled_user != NUL) | |
2539 { | |
2540 MSG_PUTS(_("by ")); | |
2541 MSG_PUTS(compiled_user); | |
2542 } | |
2543 if (*compiled_sys != NUL) | |
2544 { | |
2545 MSG_PUTS("@"); | |
2546 MSG_PUTS(compiled_sys); | |
2547 } | |
2548 } | |
2549 #endif | |
2550 | |
2551 #ifdef FEAT_HUGE | |
2552 MSG_PUTS(_("\nHuge version ")); | |
2553 #else | |
2554 # ifdef FEAT_BIG | |
2555 MSG_PUTS(_("\nBig version ")); | |
2556 # else | |
2557 # ifdef FEAT_NORMAL | |
2558 MSG_PUTS(_("\nNormal version ")); | |
2559 # else | |
2560 # ifdef FEAT_SMALL | |
2561 MSG_PUTS(_("\nSmall version ")); | |
2562 # else | |
2563 MSG_PUTS(_("\nTiny version ")); | |
2564 # endif | |
2565 # endif | |
2566 # endif | |
2567 #endif | |
2568 #ifndef FEAT_GUI | |
2569 MSG_PUTS(_("without GUI.")); | |
2570 #else | |
2571 # ifdef FEAT_GUI_GTK | |
2572 # ifdef FEAT_GUI_GNOME | |
2573 MSG_PUTS(_("with GTK2-GNOME GUI.")); | |
2574 # else | |
2575 MSG_PUTS(_("with GTK2 GUI.")); | |
2576 # endif | |
2577 # else | |
2578 # ifdef FEAT_GUI_MOTIF | |
2579 MSG_PUTS(_("with X11-Motif GUI.")); | |
2580 # else | |
2581 # ifdef FEAT_GUI_ATHENA | |
2582 # ifdef FEAT_GUI_NEXTAW | |
2583 MSG_PUTS(_("with X11-neXtaw GUI.")); | |
2584 # else | |
2585 MSG_PUTS(_("with X11-Athena GUI.")); | |
2586 # endif | |
2587 # else | |
2588 # ifdef FEAT_GUI_PHOTON | |
2589 MSG_PUTS(_("with Photon GUI.")); | |
2590 # else | |
2591 # if defined(MSWIN) | |
2592 MSG_PUTS(_("with GUI.")); | |
2593 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2594 # if defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON |
7 | 2595 MSG_PUTS(_("with Carbon GUI.")); |
2596 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2597 # if defined(TARGET_API_MAC_OSX) && TARGET_API_MAC_OSX |
7 | 2598 MSG_PUTS(_("with Cocoa GUI.")); |
2599 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2600 # if defined(MACOS) |
7 | 2601 MSG_PUTS(_("with (classic) GUI.")); |
2602 # endif | |
2603 # endif | |
2604 # endif | |
2605 # endif | |
2606 # endif | |
2607 # endif | |
2608 # endif | |
2609 # endif | |
2610 #endif | |
2611 version_msg(_(" Features included (+) or not (-):\n")); | |
2612 | |
4147 | 2613 list_features(); |
7 | 2614 |
2615 #ifdef SYS_VIMRC_FILE | |
2616 version_msg(_(" system vimrc file: \"")); | |
2617 version_msg(SYS_VIMRC_FILE); | |
2618 version_msg("\"\n"); | |
2619 #endif | |
2620 #ifdef USR_VIMRC_FILE | |
2621 version_msg(_(" user vimrc file: \"")); | |
2622 version_msg(USR_VIMRC_FILE); | |
2623 version_msg("\"\n"); | |
2624 #endif | |
2625 #ifdef USR_VIMRC_FILE2 | |
2626 version_msg(_(" 2nd user vimrc file: \"")); | |
2627 version_msg(USR_VIMRC_FILE2); | |
2628 version_msg("\"\n"); | |
2629 #endif | |
2630 #ifdef USR_VIMRC_FILE3 | |
2631 version_msg(_(" 3rd user vimrc file: \"")); | |
2632 version_msg(USR_VIMRC_FILE3); | |
2633 version_msg("\"\n"); | |
2634 #endif | |
2635 #ifdef USR_EXRC_FILE | |
2636 version_msg(_(" user exrc file: \"")); | |
2637 version_msg(USR_EXRC_FILE); | |
2638 version_msg("\"\n"); | |
2639 #endif | |
2640 #ifdef USR_EXRC_FILE2 | |
2641 version_msg(_(" 2nd user exrc file: \"")); | |
2642 version_msg(USR_EXRC_FILE2); | |
2643 version_msg("\"\n"); | |
2644 #endif | |
2645 #ifdef FEAT_GUI | |
2646 # ifdef SYS_GVIMRC_FILE | |
2647 version_msg(_(" system gvimrc file: \"")); | |
2648 version_msg(SYS_GVIMRC_FILE); | |
2649 version_msg("\"\n"); | |
2650 # endif | |
2651 version_msg(_(" user gvimrc file: \"")); | |
2652 version_msg(USR_GVIMRC_FILE); | |
2653 version_msg("\"\n"); | |
2654 # ifdef USR_GVIMRC_FILE2 | |
2655 version_msg(_("2nd user gvimrc file: \"")); | |
2656 version_msg(USR_GVIMRC_FILE2); | |
2657 version_msg("\"\n"); | |
2658 # endif | |
2659 # ifdef USR_GVIMRC_FILE3 | |
2660 version_msg(_("3rd user gvimrc file: \"")); | |
2661 version_msg(USR_GVIMRC_FILE3); | |
2662 version_msg("\"\n"); | |
2663 # endif | |
2664 #endif | |
2665 #ifdef FEAT_GUI | |
2666 # ifdef SYS_MENU_FILE | |
2667 version_msg(_(" system menu file: \"")); | |
2668 version_msg(SYS_MENU_FILE); | |
2669 version_msg("\"\n"); | |
2670 # endif | |
2671 #endif | |
2672 #ifdef HAVE_PATHDEF | |
2673 if (*default_vim_dir != NUL) | |
2674 { | |
2675 version_msg(_(" fall-back for $VIM: \"")); | |
2676 version_msg((char *)default_vim_dir); | |
2677 version_msg("\"\n"); | |
2678 } | |
2679 if (*default_vimruntime_dir != NUL) | |
2680 { | |
2681 version_msg(_(" f-b for $VIMRUNTIME: \"")); | |
2682 version_msg((char *)default_vimruntime_dir); | |
2683 version_msg("\"\n"); | |
2684 } | |
2685 version_msg(_("Compilation: ")); | |
2686 version_msg((char *)all_cflags); | |
2687 version_msg("\n"); | |
2688 #ifdef VMS | |
2689 if (*compiler_version != NUL) | |
2690 { | |
2691 version_msg(_("Compiler: ")); | |
2692 version_msg((char *)compiler_version); | |
2693 version_msg("\n"); | |
2694 } | |
2695 #endif | |
2696 version_msg(_("Linking: ")); | |
2697 version_msg((char *)all_lflags); | |
2698 #endif | |
2699 #ifdef DEBUG | |
2700 version_msg("\n"); | |
2701 version_msg(_(" DEBUG BUILD")); | |
2702 #endif | |
2703 } | |
2704 | |
2705 /* | |
2706 * Output a string for the version message. If it's going to wrap, output a | |
2707 * newline, unless the message is too long to fit on the screen anyway. | |
2708 */ | |
2709 static void | |
2710 version_msg(s) | |
2711 char *s; | |
2712 { | |
2713 int len = (int)STRLEN(s); | |
2714 | |
2715 if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns | |
2716 && *s != '\n') | |
2717 msg_putchar('\n'); | |
2718 if (!got_int) | |
2719 MSG_PUTS(s); | |
2720 } | |
2721 | |
2722 static void do_intro_line __ARGS((int row, char_u *mesg, int add_version, int attr)); | |
2723 | |
2724 /* | |
5126
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2725 * Show the intro message when not editing a file. |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2726 */ |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2727 void |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2728 maybe_intro_message() |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2729 { |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2730 if (bufempty() |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2731 && curbuf->b_fname == NULL |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2732 #ifdef FEAT_WINDOWS |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2733 && firstwin->w_next == NULL |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2734 #endif |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2735 && vim_strchr(p_shm, SHM_INTRO) == NULL) |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2736 intro_message(FALSE); |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2737 } |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2738 |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2739 /* |
7 | 2740 * Give an introductory message about Vim. |
2741 * Only used when starting Vim on an empty file, without a file name. | |
2742 * Or with the ":intro" command (for Sven :-). | |
2743 */ | |
2744 void | |
2745 intro_message(colon) | |
2746 int colon; /* TRUE for ":intro" */ | |
2747 { | |
2748 int i; | |
2749 int row; | |
2750 int blanklines; | |
2751 int sponsor; | |
2752 char *p; | |
2753 static char *(lines[]) = | |
2754 { | |
2755 N_("VIM - Vi IMproved"), | |
2756 "", | |
2757 N_("version "), | |
2758 N_("by Bram Moolenaar et al."), | |
2759 #ifdef MODIFIED_BY | |
2760 " ", | |
2761 #endif | |
2762 N_("Vim is open source and freely distributable"), | |
2763 "", | |
2764 N_("Help poor children in Uganda!"), | |
2765 N_("type :help iccf<Enter> for information "), | |
2766 "", | |
2767 N_("type :q<Enter> to exit "), | |
2768 N_("type :help<Enter> or <F1> for on-line help"), | |
26 | 2769 N_("type :help version7<Enter> for version info"), |
7 | 2770 NULL, |
2771 "", | |
2772 N_("Running in Vi compatible mode"), | |
2773 N_("type :set nocp<Enter> for Vim defaults"), | |
2774 N_("type :help cp-default<Enter> for info on this"), | |
2775 }; | |
2776 #ifdef FEAT_GUI | |
2777 static char *(gui_lines[]) = | |
2778 { | |
2779 NULL, | |
2780 NULL, | |
2781 NULL, | |
2782 NULL, | |
2783 #ifdef MODIFIED_BY | |
2784 NULL, | |
2785 #endif | |
2786 NULL, | |
2787 NULL, | |
2788 NULL, | |
2789 N_("menu Help->Orphans for information "), | |
2790 NULL, | |
2791 N_("Running modeless, typed text is inserted"), | |
2792 N_("menu Edit->Global Settings->Toggle Insert Mode "), | |
2793 N_(" for two modes "), | |
2794 NULL, | |
2795 NULL, | |
2796 NULL, | |
2797 N_("menu Edit->Global Settings->Toggle Vi Compatible"), | |
2798 N_(" for Vim defaults "), | |
2799 }; | |
2800 #endif | |
2801 | |
2802 /* blanklines = screen height - # message lines */ | |
2803 blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1); | |
2804 if (!p_cp) | |
2805 blanklines += 4; /* add 4 for not showing "Vi compatible" message */ | |
2806 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
2807 if (mch_windows95()) | |
2808 blanklines -= 3; /* subtract 3 for showing "Windows 95" message */ | |
2809 #endif | |
2810 | |
2811 #ifdef FEAT_WINDOWS | |
2812 /* Don't overwrite a statusline. Depends on 'cmdheight'. */ | |
2813 if (p_ls > 1) | |
2814 blanklines -= Rows - topframe->fr_height; | |
2815 #endif | |
2816 if (blanklines < 0) | |
2817 blanklines = 0; | |
2818 | |
2819 /* Show the sponsor and register message one out of four times, the Uganda | |
2820 * message two out of four times. */ | |
615 | 2821 sponsor = (int)time(NULL); |
7 | 2822 sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0); |
2823 | |
2824 /* start displaying the message lines after half of the blank lines */ | |
2825 row = blanklines / 2; | |
2826 if ((row >= 2 && Columns >= 50) || colon) | |
2827 { | |
2828 for (i = 0; i < (int)(sizeof(lines) / sizeof(char *)); ++i) | |
2829 { | |
2830 p = lines[i]; | |
2831 #ifdef FEAT_GUI | |
2832 if (p_im && gui.in_use && gui_lines[i] != NULL) | |
2833 p = gui_lines[i]; | |
2834 #endif | |
2835 if (p == NULL) | |
2836 { | |
2837 if (!p_cp) | |
2838 break; | |
2839 continue; | |
2840 } | |
2841 if (sponsor != 0) | |
2842 { | |
2843 if (strstr(p, "children") != NULL) | |
2844 p = sponsor < 0 | |
2845 ? N_("Sponsor Vim development!") | |
2846 : N_("Become a registered Vim user!"); | |
2847 else if (strstr(p, "iccf") != NULL) | |
2848 p = sponsor < 0 | |
2849 ? N_("type :help sponsor<Enter> for information ") | |
2850 : N_("type :help register<Enter> for information "); | |
2851 else if (strstr(p, "Orphans") != NULL) | |
2852 p = N_("menu Help->Sponsor/Register for information "); | |
2853 } | |
2854 if (*p != NUL) | |
2855 do_intro_line(row, (char_u *)_(p), i == 2, 0); | |
2856 ++row; | |
2857 } | |
2858 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
2859 if (mch_windows95()) | |
2860 { | |
2861 do_intro_line(++row, | |
2862 (char_u *)_("WARNING: Windows 95/98/ME detected"), | |
2863 FALSE, hl_attr(HLF_E)); | |
2864 do_intro_line(++row, | |
2865 (char_u *)_("type :help windows95<Enter> for info on this"), | |
2866 FALSE, 0); | |
2867 } | |
2868 #endif | |
2869 } | |
2870 | |
2871 /* Make the wait-return message appear just below the text. */ | |
2872 if (colon) | |
2873 msg_row = row; | |
2874 } | |
2875 | |
2876 static void | |
2877 do_intro_line(row, mesg, add_version, attr) | |
2878 int row; | |
2879 char_u *mesg; | |
2880 int add_version; | |
2881 int attr; | |
2882 { | |
2883 char_u vers[20]; | |
2884 int col; | |
2885 char_u *p; | |
2886 int l; | |
2887 int clen; | |
2888 #ifdef MODIFIED_BY | |
2889 # define MODBY_LEN 150 | |
2890 char_u modby[MODBY_LEN]; | |
2891 | |
2892 if (*mesg == ' ') | |
2893 { | |
1491 | 2894 vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1); |
7 | 2895 l = STRLEN(modby); |
1491 | 2896 vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1); |
7 | 2897 mesg = modby; |
2898 } | |
2899 #endif | |
2900 | |
2901 /* Center the message horizontally. */ | |
2902 col = vim_strsize(mesg); | |
2903 if (add_version) | |
2904 { | |
2905 STRCPY(vers, mediumVersion); | |
2906 if (highest_patch()) | |
2907 { | |
2908 /* Check for 9.9x or 9.9xx, alpha/beta version */ | |
2619 | 2909 if (isalpha((int)vers[3])) |
7 | 2910 { |
3396 | 2911 int len = (isalpha((int)vers[4])) ? 5 : 4; |
2912 sprintf((char *)vers + len, ".%d%s", highest_patch(), | |
2913 mediumVersion + len); | |
7 | 2914 } |
2915 else | |
2916 sprintf((char *)vers + 3, ".%d", highest_patch()); | |
2917 } | |
2918 col += (int)STRLEN(vers); | |
2919 } | |
2920 col = (Columns - col) / 2; | |
2921 if (col < 0) | |
2922 col = 0; | |
2923 | |
2924 /* Split up in parts to highlight <> items differently. */ | |
2925 for (p = mesg; *p != NUL; p += l) | |
2926 { | |
2927 clen = 0; | |
2928 for (l = 0; p[l] != NUL | |
2929 && (l == 0 || (p[l] != '<' && p[l - 1] != '>')); ++l) | |
2930 { | |
2931 #ifdef FEAT_MBYTE | |
2932 if (has_mbyte) | |
2933 { | |
2934 clen += ptr2cells(p + l); | |
474 | 2935 l += (*mb_ptr2len)(p + l) - 1; |
7 | 2936 } |
2937 else | |
2938 #endif | |
2939 clen += byte2cells(p[l]); | |
2940 } | |
2941 screen_puts_len(p, l, row, col, *p == '<' ? hl_attr(HLF_8) : attr); | |
2942 col += clen; | |
2943 } | |
2944 | |
2945 /* Add the version number to the version line. */ | |
2946 if (add_version) | |
2947 screen_puts(vers, row, col, 0); | |
2948 } | |
2949 | |
2950 /* | |
2951 * ":intro": clear screen, display intro screen and wait for return. | |
2952 */ | |
2953 void | |
2954 ex_intro(eap) | |
1876 | 2955 exarg_T *eap UNUSED; |
7 | 2956 { |
2957 screenclear(); | |
2958 intro_message(TRUE); | |
2959 wait_return(TRUE); | |
2960 } |