xref: /vim-8.2.3635/src/version.c (revision ea2d8d25)
1 /* vi:set ts=8 sts=4 sw=4 noet:
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  *
20  * Differences between version 7.4 and 8.x can be found with ":help version8".
21  * Differences between version 6.4 and 7.x can be found with ":help version7".
22  * Differences between version 5.8 and 6.x can be found with ":help version6".
23  * Differences between version 4.x and 5.x can be found with ":help version5".
24  * Differences between version 3.0 and 4.x can be found with ":help version4".
25  * All the remarks about older versions have been removed, they are not very
26  * interesting.
27  */
28 
29 #include "version.h"
30 
31 char		*Version = VIM_VERSION_SHORT;
32 static char	*mediumVersion = VIM_VERSION_MEDIUM;
33 
34 #if defined(HAVE_DATE_TIME) || defined(PROTO)
35 # if (defined(VMS) && defined(VAXC)) || defined(PROTO)
36 char	longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__)
37 						      + sizeof(__TIME__) + 3];
38 
39     void
40 init_longVersion(void)
41 {
42     /*
43      * Construct the long version string.  Necessary because
44      * VAX C can't concatenate strings in the preprocessor.
45      */
46     strcpy(longVersion, VIM_VERSION_LONG_DATE);
47 #ifdef BUILD_DATE
48     strcat(longVersion, BUILD_DATE);
49 #else
50     strcat(longVersion, __DATE__);
51     strcat(longVersion, " ");
52     strcat(longVersion, __TIME__);
53 #endif
54     strcat(longVersion, ")");
55 }
56 
57 # else
58     void
59 init_longVersion(void)
60 {
61     if (longVersion == NULL)
62     {
63 #ifdef BUILD_DATE
64 	char *date_time = BUILD_DATE;
65 #else
66 	char *date_time = __DATE__ " " __TIME__;
67 #endif
68 	char *msg = _("%s (%s, compiled %s)");
69 	size_t len = strlen(msg)
70 		    + strlen(VIM_VERSION_LONG_ONLY)
71 		    + strlen(VIM_VERSION_DATE_ONLY)
72 		    + strlen(date_time);
73 
74 	longVersion = alloc(len);
75 	if (longVersion == NULL)
76 	    longVersion = VIM_VERSION_LONG;
77 	else
78 	    vim_snprintf(longVersion, len, msg,
79 			  VIM_VERSION_LONG_ONLY, VIM_VERSION_DATE_ONLY, date_time);
80     }
81 }
82 # endif
83 #else
84 char	*longVersion = VIM_VERSION_LONG;
85 
86     void
87 init_longVersion(void)
88 {
89     // nothing to do
90 }
91 #endif
92 
93 static char *(features[]) =
94 {
95 #ifdef HAVE_ACL
96 	"+acl",
97 #else
98 	"-acl",
99 #endif
100 #ifdef AMIGA		// only for Amiga systems
101 # ifdef FEAT_ARP
102 	"+ARP",
103 # else
104 	"-ARP",
105 # endif
106 #endif
107 #ifdef FEAT_ARABIC
108 	"+arabic",
109 #else
110 	"-arabic",
111 #endif
112 	"+autocmd",
113 #ifdef FEAT_AUTOCHDIR
114        "+autochdir",
115 #else
116        "-autochdir",
117 #endif
118 #ifdef FEAT_AUTOSERVERNAME
119 	"+autoservername",
120 #else
121 	"-autoservername",
122 #endif
123 #ifdef FEAT_BEVAL_GUI
124 	"+balloon_eval",
125 #else
126 	"-balloon_eval",
127 #endif
128 #ifdef FEAT_BEVAL_TERM
129 	"+balloon_eval_term",
130 #else
131 	"-balloon_eval_term",
132 #endif
133 #ifdef FEAT_BROWSE
134 	"+browse",
135 #else
136 	"-browse",
137 #endif
138 #ifdef NO_BUILTIN_TCAPS
139 	"-builtin_terms",
140 #endif
141 #ifdef SOME_BUILTIN_TCAPS
142 	"+builtin_terms",
143 #endif
144 #ifdef ALL_BUILTIN_TCAPS
145 	"++builtin_terms",
146 #endif
147 #ifdef FEAT_BYTEOFF
148 	"+byte_offset",
149 #else
150 	"-byte_offset",
151 #endif
152 #ifdef FEAT_JOB_CHANNEL
153 	"+channel",
154 #else
155 	"-channel",
156 #endif
157 #ifdef FEAT_CINDENT
158 	"+cindent",
159 #else
160 	"-cindent",
161 #endif
162 #ifdef FEAT_CLIENTSERVER
163 	"+clientserver",
164 #else
165 	"-clientserver",
166 #endif
167 #ifdef FEAT_CLIPBOARD
168 	"+clipboard",
169 #else
170 	"-clipboard",
171 #endif
172 	"+cmdline_compl",
173 	"+cmdline_hist",
174 #ifdef FEAT_CMDL_INFO
175 	"+cmdline_info",
176 #else
177 	"-cmdline_info",
178 #endif
179 	"+comments",
180 #ifdef FEAT_CONCEAL
181 	"+conceal",
182 #else
183 	"-conceal",
184 #endif
185 #ifdef FEAT_CRYPT
186 	"+cryptv",
187 #else
188 	"-cryptv",
189 #endif
190 #ifdef FEAT_CSCOPE
191 	"+cscope",
192 #else
193 	"-cscope",
194 #endif
195 	"+cursorbind",
196 #ifdef CURSOR_SHAPE
197 	"+cursorshape",
198 #else
199 	"-cursorshape",
200 #endif
201 #if defined(FEAT_CON_DIALOG) && defined(FEAT_GUI_DIALOG)
202 	"+dialog_con_gui",
203 #else
204 # if defined(FEAT_CON_DIALOG)
205 	"+dialog_con",
206 # else
207 #  if defined(FEAT_GUI_DIALOG)
208 	"+dialog_gui",
209 #  else
210 	"-dialog",
211 #  endif
212 # endif
213 #endif
214 #ifdef FEAT_DIFF
215 	"+diff",
216 #else
217 	"-diff",
218 #endif
219 #ifdef FEAT_DIGRAPHS
220 	"+digraphs",
221 #else
222 	"-digraphs",
223 #endif
224 #ifdef FEAT_GUI_MSWIN
225 # ifdef FEAT_DIRECTX
226 	"+directx",
227 # else
228 	"-directx",
229 # endif
230 #endif
231 #ifdef FEAT_DND
232 	"+dnd",
233 #else
234 	"-dnd",
235 #endif
236 #ifdef EBCDIC
237 	"+ebcdic",
238 #else
239 	"-ebcdic",
240 #endif
241 #ifdef FEAT_EMACS_TAGS
242 	"+emacs_tags",
243 #else
244 	"-emacs_tags",
245 #endif
246 #ifdef FEAT_EVAL
247 	"+eval",
248 #else
249 	"-eval",
250 #endif
251 	"+ex_extra",
252 #ifdef FEAT_SEARCH_EXTRA
253 	"+extra_search",
254 #else
255 	"-extra_search",
256 #endif
257 	"-farsi",
258 #ifdef FEAT_SEARCHPATH
259 	"+file_in_path",
260 #else
261 	"-file_in_path",
262 #endif
263 #ifdef FEAT_FIND_ID
264 	"+find_in_path",
265 #else
266 	"-find_in_path",
267 #endif
268 #ifdef FEAT_FLOAT
269 	"+float",
270 #else
271 	"-float",
272 #endif
273 #ifdef FEAT_FOLDING
274 	"+folding",
275 #else
276 	"-folding",
277 #endif
278 #ifdef FEAT_FOOTER
279 	"+footer",
280 #else
281 	"-footer",
282 #endif
283 	    // only interesting on Unix systems
284 #if !defined(USE_SYSTEM) && defined(UNIX)
285 	"+fork()",
286 #endif
287 #ifdef FEAT_GETTEXT
288 # ifdef DYNAMIC_GETTEXT
289 	"+gettext/dyn",
290 # else
291 	"+gettext",
292 # endif
293 #else
294 	"-gettext",
295 #endif
296 	"-hangul_input",
297 #if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV)
298 # ifdef DYNAMIC_ICONV
299 	"+iconv/dyn",
300 # else
301 	"+iconv",
302 # endif
303 #else
304 	"-iconv",
305 #endif
306 	"+insert_expand",
307 #ifdef FEAT_IPV6
308 	"+ipv6",
309 #else
310 	"-ipv6",
311 #endif
312 #ifdef FEAT_JOB_CHANNEL
313 	"+job",
314 #else
315 	"-job",
316 #endif
317 #ifdef FEAT_JUMPLIST
318 	"+jumplist",
319 #else
320 	"-jumplist",
321 #endif
322 #ifdef FEAT_KEYMAP
323 	"+keymap",
324 #else
325 	"-keymap",
326 #endif
327 #ifdef FEAT_EVAL
328 	"+lambda",
329 #else
330 	"-lambda",
331 #endif
332 #ifdef FEAT_LANGMAP
333 	"+langmap",
334 #else
335 	"-langmap",
336 #endif
337 #ifdef FEAT_LIBCALL
338 	"+libcall",
339 #else
340 	"-libcall",
341 #endif
342 #ifdef FEAT_LINEBREAK
343 	"+linebreak",
344 #else
345 	"-linebreak",
346 #endif
347 #ifdef FEAT_LISP
348 	"+lispindent",
349 #else
350 	"-lispindent",
351 #endif
352 	"+listcmds",
353 	"+localmap",
354 #ifdef FEAT_LUA
355 # ifdef DYNAMIC_LUA
356 	"+lua/dyn",
357 # else
358 	"+lua",
359 # endif
360 #else
361 	"-lua",
362 #endif
363 #ifdef FEAT_MENU
364 	"+menu",
365 #else
366 	"-menu",
367 #endif
368 #ifdef FEAT_SESSION
369 	"+mksession",
370 #else
371 	"-mksession",
372 #endif
373 	"+modify_fname",
374 	"+mouse",
375 #ifdef FEAT_MOUSESHAPE
376 	"+mouseshape",
377 #else
378 	"-mouseshape",
379 #endif
380 
381 #if defined(UNIX) || defined(VMS)
382 # ifdef FEAT_MOUSE_DEC
383 	"+mouse_dec",
384 # else
385 	"-mouse_dec",
386 # endif
387 # ifdef FEAT_MOUSE_GPM
388 	"+mouse_gpm",
389 # else
390 	"-mouse_gpm",
391 # endif
392 # ifdef FEAT_MOUSE_JSB
393 	"+mouse_jsbterm",
394 # else
395 	"-mouse_jsbterm",
396 # endif
397 # ifdef FEAT_MOUSE_NET
398 	"+mouse_netterm",
399 # else
400 	"-mouse_netterm",
401 # endif
402 #endif
403 
404 #ifdef __QNX__
405 # ifdef FEAT_MOUSE_PTERM
406 	"+mouse_pterm",
407 # else
408 	"-mouse_pterm",
409 # endif
410 #endif
411 
412 #if defined(UNIX) || defined(VMS)
413 	"+mouse_sgr",
414 # ifdef FEAT_SYSMOUSE
415 	"+mouse_sysmouse",
416 # else
417 	"-mouse_sysmouse",
418 # endif
419 # ifdef FEAT_MOUSE_URXVT
420 	"+mouse_urxvt",
421 # else
422 	"-mouse_urxvt",
423 # endif
424 	"+mouse_xterm",
425 #endif
426 
427 #ifdef FEAT_MBYTE_IME
428 # ifdef DYNAMIC_IME
429 	"+multi_byte_ime/dyn",
430 # else
431 	"+multi_byte_ime",
432 # endif
433 #else
434 	"+multi_byte",
435 #endif
436 #ifdef FEAT_MULTI_LANG
437 	"+multi_lang",
438 #else
439 	"-multi_lang",
440 #endif
441 #ifdef FEAT_MZSCHEME
442 # ifdef DYNAMIC_MZSCHEME
443 	"+mzscheme/dyn",
444 # else
445 	"+mzscheme",
446 # endif
447 #else
448 	"-mzscheme",
449 #endif
450 #ifdef FEAT_NETBEANS_INTG
451 	"+netbeans_intg",
452 #else
453 	"-netbeans_intg",
454 #endif
455 	"+num64",
456 #ifdef FEAT_GUI_MSWIN
457 # ifdef FEAT_OLE
458 	"+ole",
459 # else
460 	"-ole",
461 # endif
462 #endif
463 #ifdef FEAT_EVAL
464 	"+packages",
465 #else
466 	"-packages",
467 #endif
468 #ifdef FEAT_PATH_EXTRA
469 	"+path_extra",
470 #else
471 	"-path_extra",
472 #endif
473 #ifdef FEAT_PERL
474 # ifdef DYNAMIC_PERL
475 	"+perl/dyn",
476 # else
477 	"+perl",
478 # endif
479 #else
480 	"-perl",
481 #endif
482 #ifdef FEAT_PERSISTENT_UNDO
483 	"+persistent_undo",
484 #else
485 	"-persistent_undo",
486 #endif
487 #ifdef FEAT_PROP_POPUP
488 	"+popupwin",
489 #else
490 	"-popupwin",
491 #endif
492 #ifdef FEAT_PRINTER
493 # ifdef FEAT_POSTSCRIPT
494 	"+postscript",
495 # else
496 	"-postscript",
497 # endif
498 	"+printer",
499 #else
500 	"-printer",
501 #endif
502 #ifdef FEAT_PROFILE
503 	"+profile",
504 #else
505 	"-profile",
506 #endif
507 #ifdef FEAT_PYTHON
508 # ifdef DYNAMIC_PYTHON
509 	"+python/dyn",
510 # else
511 	"+python",
512 # endif
513 #else
514 	"-python",
515 #endif
516 #ifdef FEAT_PYTHON3
517 # ifdef DYNAMIC_PYTHON3
518 	"+python3/dyn",
519 # else
520 	"+python3",
521 # endif
522 #else
523 	"-python3",
524 #endif
525 #ifdef FEAT_QUICKFIX
526 	"+quickfix",
527 #else
528 	"-quickfix",
529 #endif
530 #ifdef FEAT_RELTIME
531 	"+reltime",
532 #else
533 	"-reltime",
534 #endif
535 #ifdef FEAT_RIGHTLEFT
536 	"+rightleft",
537 #else
538 	"-rightleft",
539 #endif
540 #ifdef FEAT_RUBY
541 # ifdef DYNAMIC_RUBY
542 	"+ruby/dyn",
543 # else
544 	"+ruby",
545 # endif
546 #else
547 	"-ruby",
548 #endif
549 	"+scrollbind",
550 #ifdef FEAT_SIGNS
551 	"+signs",
552 #else
553 	"-signs",
554 #endif
555 #ifdef FEAT_SMARTINDENT
556 	"+smartindent",
557 #else
558 	"-smartindent",
559 #endif
560 #ifdef FEAT_SOUND
561 	"+sound",
562 #else
563 	"-sound",
564 #endif
565 #ifdef FEAT_SPELL
566 	"+spell",
567 #else
568 	"-spell",
569 #endif
570 #ifdef STARTUPTIME
571 	"+startuptime",
572 #else
573 	"-startuptime",
574 #endif
575 #ifdef FEAT_STL_OPT
576 	"+statusline",
577 #else
578 	"-statusline",
579 #endif
580 	"-sun_workshop",
581 #ifdef FEAT_SYN_HL
582 	"+syntax",
583 #else
584 	"-syntax",
585 #endif
586 	    // only interesting on Unix systems
587 #if defined(USE_SYSTEM) && defined(UNIX)
588 	"+system()",
589 #endif
590 #ifdef FEAT_TAG_BINS
591 	"+tag_binary",
592 #else
593 	"-tag_binary",
594 #endif
595 	"-tag_old_static",
596 	"-tag_any_white",
597 #ifdef FEAT_TCL
598 # ifdef DYNAMIC_TCL
599 	"+tcl/dyn",
600 # else
601 	"+tcl",
602 # endif
603 #else
604 	"-tcl",
605 #endif
606 #ifdef FEAT_TERMGUICOLORS
607 	"+termguicolors",
608 #else
609 	"-termguicolors",
610 #endif
611 #ifdef FEAT_TERMINAL
612 	"+terminal",
613 #else
614 	"-terminal",
615 #endif
616 #if defined(UNIX)
617 // only Unix can have terminfo instead of termcap
618 # ifdef TERMINFO
619 	"+terminfo",
620 # else
621 	"-terminfo",
622 # endif
623 #endif
624 #ifdef FEAT_TERMRESPONSE
625 	"+termresponse",
626 #else
627 	"-termresponse",
628 #endif
629 #ifdef FEAT_TEXTOBJ
630 	"+textobjects",
631 #else
632 	"-textobjects",
633 #endif
634 #ifdef FEAT_PROP_POPUP
635 	"+textprop",
636 #else
637 	"-textprop",
638 #endif
639 #if !defined(UNIX)
640 // unix always includes termcap support
641 # ifdef HAVE_TGETENT
642 	"+tgetent",
643 # else
644 	"-tgetent",
645 # endif
646 #endif
647 #ifdef FEAT_TIMERS
648 	"+timers",
649 #else
650 	"-timers",
651 #endif
652 #ifdef FEAT_TITLE
653 	"+title",
654 #else
655 	"-title",
656 #endif
657 #ifdef FEAT_TOOLBAR
658 	"+toolbar",
659 #else
660 	"-toolbar",
661 #endif
662 	"+user_commands",
663 #ifdef FEAT_VARTABS
664 	"+vartabs",
665 #else
666 	"-vartabs",
667 #endif
668 	"+vertsplit",
669 	"+virtualedit",
670 	"+visual",
671 	"+visualextra",
672 #ifdef FEAT_VIMINFO
673 	"+viminfo",
674 #else
675 	"-viminfo",
676 #endif
677 	"+vreplace",
678 #ifdef MSWIN
679 # ifdef FEAT_VTP
680 	"+vtp",
681 # else
682 	"-vtp",
683 # endif
684 #endif
685 #ifdef FEAT_WILDIGN
686 	"+wildignore",
687 #else
688 	"-wildignore",
689 #endif
690 #ifdef FEAT_WILDMENU
691 	"+wildmenu",
692 #else
693 	"-wildmenu",
694 #endif
695 	"+windows",
696 #ifdef FEAT_WRITEBACKUP
697 	"+writebackup",
698 #else
699 	"-writebackup",
700 #endif
701 #if defined(UNIX) || defined(VMS)
702 # ifdef FEAT_X11
703 	"+X11",
704 # else
705 	"-X11",
706 # endif
707 #endif
708 #ifdef FEAT_XFONTSET
709 	"+xfontset",
710 #else
711 	"-xfontset",
712 #endif
713 #ifdef FEAT_XIM
714 	"+xim",
715 #else
716 	"-xim",
717 #endif
718 #ifdef MSWIN
719 # ifdef FEAT_XPM_W32
720 	"+xpm_w32",
721 # else
722 	"-xpm_w32",
723 # endif
724 #else
725 # ifdef HAVE_XPM
726 	"+xpm",
727 # else
728 	"-xpm",
729 # endif
730 #endif
731 #if defined(UNIX) || defined(VMS)
732 # ifdef USE_XSMP_INTERACT
733 	"+xsmp_interact",
734 # else
735 #  ifdef USE_XSMP
736 	"+xsmp",
737 #  else
738 	"-xsmp",
739 #  endif
740 # endif
741 # ifdef FEAT_XCLIPBOARD
742 	"+xterm_clipboard",
743 # else
744 	"-xterm_clipboard",
745 # endif
746 #endif
747 #ifdef FEAT_XTERM_SAVE
748 	"+xterm_save",
749 #else
750 	"-xterm_save",
751 #endif
752 	NULL
753 };
754 
755 static int included_patches[] =
756 {   /* Add new patch number below this line */
757 /**/
758     1325,
759 /**/
760     1324,
761 /**/
762     1323,
763 /**/
764     1322,
765 /**/
766     1321,
767 /**/
768     1320,
769 /**/
770     1319,
771 /**/
772     1318,
773 /**/
774     1317,
775 /**/
776     1316,
777 /**/
778     1315,
779 /**/
780     1314,
781 /**/
782     1313,
783 /**/
784     1312,
785 /**/
786     1311,
787 /**/
788     1310,
789 /**/
790     1309,
791 /**/
792     1308,
793 /**/
794     1307,
795 /**/
796     1306,
797 /**/
798     1305,
799 /**/
800     1304,
801 /**/
802     1303,
803 /**/
804     1302,
805 /**/
806     1301,
807 /**/
808     1300,
809 /**/
810     1299,
811 /**/
812     1298,
813 /**/
814     1297,
815 /**/
816     1296,
817 /**/
818     1295,
819 /**/
820     1294,
821 /**/
822     1293,
823 /**/
824     1292,
825 /**/
826     1291,
827 /**/
828     1290,
829 /**/
830     1289,
831 /**/
832     1288,
833 /**/
834     1287,
835 /**/
836     1286,
837 /**/
838     1285,
839 /**/
840     1284,
841 /**/
842     1283,
843 /**/
844     1282,
845 /**/
846     1281,
847 /**/
848     1280,
849 /**/
850     1279,
851 /**/
852     1278,
853 /**/
854     1277,
855 /**/
856     1276,
857 /**/
858     1275,
859 /**/
860     1274,
861 /**/
862     1273,
863 /**/
864     1272,
865 /**/
866     1271,
867 /**/
868     1270,
869 /**/
870     1269,
871 /**/
872     1268,
873 /**/
874     1267,
875 /**/
876     1266,
877 /**/
878     1265,
879 /**/
880     1264,
881 /**/
882     1263,
883 /**/
884     1262,
885 /**/
886     1261,
887 /**/
888     1260,
889 /**/
890     1259,
891 /**/
892     1258,
893 /**/
894     1257,
895 /**/
896     1256,
897 /**/
898     1255,
899 /**/
900     1254,
901 /**/
902     1253,
903 /**/
904     1252,
905 /**/
906     1251,
907 /**/
908     1250,
909 /**/
910     1249,
911 /**/
912     1248,
913 /**/
914     1247,
915 /**/
916     1246,
917 /**/
918     1245,
919 /**/
920     1244,
921 /**/
922     1243,
923 /**/
924     1242,
925 /**/
926     1241,
927 /**/
928     1240,
929 /**/
930     1239,
931 /**/
932     1238,
933 /**/
934     1237,
935 /**/
936     1236,
937 /**/
938     1235,
939 /**/
940     1234,
941 /**/
942     1233,
943 /**/
944     1232,
945 /**/
946     1231,
947 /**/
948     1230,
949 /**/
950     1229,
951 /**/
952     1228,
953 /**/
954     1227,
955 /**/
956     1226,
957 /**/
958     1225,
959 /**/
960     1224,
961 /**/
962     1223,
963 /**/
964     1222,
965 /**/
966     1221,
967 /**/
968     1220,
969 /**/
970     1219,
971 /**/
972     1218,
973 /**/
974     1217,
975 /**/
976     1216,
977 /**/
978     1215,
979 /**/
980     1214,
981 /**/
982     1213,
983 /**/
984     1212,
985 /**/
986     1211,
987 /**/
988     1210,
989 /**/
990     1209,
991 /**/
992     1208,
993 /**/
994     1207,
995 /**/
996     1206,
997 /**/
998     1205,
999 /**/
1000     1204,
1001 /**/
1002     1203,
1003 /**/
1004     1202,
1005 /**/
1006     1201,
1007 /**/
1008     1200,
1009 /**/
1010     1199,
1011 /**/
1012     1198,
1013 /**/
1014     1197,
1015 /**/
1016     1196,
1017 /**/
1018     1195,
1019 /**/
1020     1194,
1021 /**/
1022     1193,
1023 /**/
1024     1192,
1025 /**/
1026     1191,
1027 /**/
1028     1190,
1029 /**/
1030     1189,
1031 /**/
1032     1188,
1033 /**/
1034     1187,
1035 /**/
1036     1186,
1037 /**/
1038     1185,
1039 /**/
1040     1184,
1041 /**/
1042     1183,
1043 /**/
1044     1182,
1045 /**/
1046     1181,
1047 /**/
1048     1180,
1049 /**/
1050     1179,
1051 /**/
1052     1178,
1053 /**/
1054     1177,
1055 /**/
1056     1176,
1057 /**/
1058     1175,
1059 /**/
1060     1174,
1061 /**/
1062     1173,
1063 /**/
1064     1172,
1065 /**/
1066     1171,
1067 /**/
1068     1170,
1069 /**/
1070     1169,
1071 /**/
1072     1168,
1073 /**/
1074     1167,
1075 /**/
1076     1166,
1077 /**/
1078     1165,
1079 /**/
1080     1164,
1081 /**/
1082     1163,
1083 /**/
1084     1162,
1085 /**/
1086     1161,
1087 /**/
1088     1160,
1089 /**/
1090     1159,
1091 /**/
1092     1158,
1093 /**/
1094     1157,
1095 /**/
1096     1156,
1097 /**/
1098     1155,
1099 /**/
1100     1154,
1101 /**/
1102     1153,
1103 /**/
1104     1152,
1105 /**/
1106     1151,
1107 /**/
1108     1150,
1109 /**/
1110     1149,
1111 /**/
1112     1148,
1113 /**/
1114     1147,
1115 /**/
1116     1146,
1117 /**/
1118     1145,
1119 /**/
1120     1144,
1121 /**/
1122     1143,
1123 /**/
1124     1142,
1125 /**/
1126     1141,
1127 /**/
1128     1140,
1129 /**/
1130     1139,
1131 /**/
1132     1138,
1133 /**/
1134     1137,
1135 /**/
1136     1136,
1137 /**/
1138     1135,
1139 /**/
1140     1134,
1141 /**/
1142     1133,
1143 /**/
1144     1132,
1145 /**/
1146     1131,
1147 /**/
1148     1130,
1149 /**/
1150     1129,
1151 /**/
1152     1128,
1153 /**/
1154     1127,
1155 /**/
1156     1126,
1157 /**/
1158     1125,
1159 /**/
1160     1124,
1161 /**/
1162     1123,
1163 /**/
1164     1122,
1165 /**/
1166     1121,
1167 /**/
1168     1120,
1169 /**/
1170     1119,
1171 /**/
1172     1118,
1173 /**/
1174     1117,
1175 /**/
1176     1116,
1177 /**/
1178     1115,
1179 /**/
1180     1114,
1181 /**/
1182     1113,
1183 /**/
1184     1112,
1185 /**/
1186     1111,
1187 /**/
1188     1110,
1189 /**/
1190     1109,
1191 /**/
1192     1108,
1193 /**/
1194     1107,
1195 /**/
1196     1106,
1197 /**/
1198     1105,
1199 /**/
1200     1104,
1201 /**/
1202     1103,
1203 /**/
1204     1102,
1205 /**/
1206     1101,
1207 /**/
1208     1100,
1209 /**/
1210     1099,
1211 /**/
1212     1098,
1213 /**/
1214     1097,
1215 /**/
1216     1096,
1217 /**/
1218     1095,
1219 /**/
1220     1094,
1221 /**/
1222     1093,
1223 /**/
1224     1092,
1225 /**/
1226     1091,
1227 /**/
1228     1090,
1229 /**/
1230     1089,
1231 /**/
1232     1088,
1233 /**/
1234     1087,
1235 /**/
1236     1086,
1237 /**/
1238     1085,
1239 /**/
1240     1084,
1241 /**/
1242     1083,
1243 /**/
1244     1082,
1245 /**/
1246     1081,
1247 /**/
1248     1080,
1249 /**/
1250     1079,
1251 /**/
1252     1078,
1253 /**/
1254     1077,
1255 /**/
1256     1076,
1257 /**/
1258     1075,
1259 /**/
1260     1074,
1261 /**/
1262     1073,
1263 /**/
1264     1072,
1265 /**/
1266     1071,
1267 /**/
1268     1070,
1269 /**/
1270     1069,
1271 /**/
1272     1068,
1273 /**/
1274     1067,
1275 /**/
1276     1066,
1277 /**/
1278     1065,
1279 /**/
1280     1064,
1281 /**/
1282     1063,
1283 /**/
1284     1062,
1285 /**/
1286     1061,
1287 /**/
1288     1060,
1289 /**/
1290     1059,
1291 /**/
1292     1058,
1293 /**/
1294     1057,
1295 /**/
1296     1056,
1297 /**/
1298     1055,
1299 /**/
1300     1054,
1301 /**/
1302     1053,
1303 /**/
1304     1052,
1305 /**/
1306     1051,
1307 /**/
1308     1050,
1309 /**/
1310     1049,
1311 /**/
1312     1048,
1313 /**/
1314     1047,
1315 /**/
1316     1046,
1317 /**/
1318     1045,
1319 /**/
1320     1044,
1321 /**/
1322     1043,
1323 /**/
1324     1042,
1325 /**/
1326     1041,
1327 /**/
1328     1040,
1329 /**/
1330     1039,
1331 /**/
1332     1038,
1333 /**/
1334     1037,
1335 /**/
1336     1036,
1337 /**/
1338     1035,
1339 /**/
1340     1034,
1341 /**/
1342     1033,
1343 /**/
1344     1032,
1345 /**/
1346     1031,
1347 /**/
1348     1030,
1349 /**/
1350     1029,
1351 /**/
1352     1028,
1353 /**/
1354     1027,
1355 /**/
1356     1026,
1357 /**/
1358     1025,
1359 /**/
1360     1024,
1361 /**/
1362     1023,
1363 /**/
1364     1022,
1365 /**/
1366     1021,
1367 /**/
1368     1020,
1369 /**/
1370     1019,
1371 /**/
1372     1018,
1373 /**/
1374     1017,
1375 /**/
1376     1016,
1377 /**/
1378     1015,
1379 /**/
1380     1014,
1381 /**/
1382     1013,
1383 /**/
1384     1012,
1385 /**/
1386     1011,
1387 /**/
1388     1010,
1389 /**/
1390     1009,
1391 /**/
1392     1008,
1393 /**/
1394     1007,
1395 /**/
1396     1006,
1397 /**/
1398     1005,
1399 /**/
1400     1004,
1401 /**/
1402     1003,
1403 /**/
1404     1002,
1405 /**/
1406     1001,
1407 /**/
1408     1000,
1409 /**/
1410     999,
1411 /**/
1412     998,
1413 /**/
1414     997,
1415 /**/
1416     996,
1417 /**/
1418     995,
1419 /**/
1420     994,
1421 /**/
1422     993,
1423 /**/
1424     992,
1425 /**/
1426     991,
1427 /**/
1428     990,
1429 /**/
1430     989,
1431 /**/
1432     988,
1433 /**/
1434     987,
1435 /**/
1436     986,
1437 /**/
1438     985,
1439 /**/
1440     984,
1441 /**/
1442     983,
1443 /**/
1444     982,
1445 /**/
1446     981,
1447 /**/
1448     980,
1449 /**/
1450     979,
1451 /**/
1452     978,
1453 /**/
1454     977,
1455 /**/
1456     976,
1457 /**/
1458     975,
1459 /**/
1460     974,
1461 /**/
1462     973,
1463 /**/
1464     972,
1465 /**/
1466     971,
1467 /**/
1468     970,
1469 /**/
1470     969,
1471 /**/
1472     968,
1473 /**/
1474     967,
1475 /**/
1476     966,
1477 /**/
1478     965,
1479 /**/
1480     964,
1481 /**/
1482     963,
1483 /**/
1484     962,
1485 /**/
1486     961,
1487 /**/
1488     960,
1489 /**/
1490     959,
1491 /**/
1492     958,
1493 /**/
1494     957,
1495 /**/
1496     956,
1497 /**/
1498     955,
1499 /**/
1500     954,
1501 /**/
1502     953,
1503 /**/
1504     952,
1505 /**/
1506     951,
1507 /**/
1508     950,
1509 /**/
1510     949,
1511 /**/
1512     948,
1513 /**/
1514     947,
1515 /**/
1516     946,
1517 /**/
1518     945,
1519 /**/
1520     944,
1521 /**/
1522     943,
1523 /**/
1524     942,
1525 /**/
1526     941,
1527 /**/
1528     940,
1529 /**/
1530     939,
1531 /**/
1532     938,
1533 /**/
1534     937,
1535 /**/
1536     936,
1537 /**/
1538     935,
1539 /**/
1540     934,
1541 /**/
1542     933,
1543 /**/
1544     932,
1545 /**/
1546     931,
1547 /**/
1548     930,
1549 /**/
1550     929,
1551 /**/
1552     928,
1553 /**/
1554     927,
1555 /**/
1556     926,
1557 /**/
1558     925,
1559 /**/
1560     924,
1561 /**/
1562     923,
1563 /**/
1564     922,
1565 /**/
1566     921,
1567 /**/
1568     920,
1569 /**/
1570     919,
1571 /**/
1572     918,
1573 /**/
1574     917,
1575 /**/
1576     916,
1577 /**/
1578     915,
1579 /**/
1580     914,
1581 /**/
1582     913,
1583 /**/
1584     912,
1585 /**/
1586     911,
1587 /**/
1588     910,
1589 /**/
1590     909,
1591 /**/
1592     908,
1593 /**/
1594     907,
1595 /**/
1596     906,
1597 /**/
1598     905,
1599 /**/
1600     904,
1601 /**/
1602     903,
1603 /**/
1604     902,
1605 /**/
1606     901,
1607 /**/
1608     900,
1609 /**/
1610     899,
1611 /**/
1612     898,
1613 /**/
1614     897,
1615 /**/
1616     896,
1617 /**/
1618     895,
1619 /**/
1620     894,
1621 /**/
1622     893,
1623 /**/
1624     892,
1625 /**/
1626     891,
1627 /**/
1628     890,
1629 /**/
1630     889,
1631 /**/
1632     888,
1633 /**/
1634     887,
1635 /**/
1636     886,
1637 /**/
1638     885,
1639 /**/
1640     884,
1641 /**/
1642     883,
1643 /**/
1644     882,
1645 /**/
1646     881,
1647 /**/
1648     880,
1649 /**/
1650     879,
1651 /**/
1652     878,
1653 /**/
1654     877,
1655 /**/
1656     876,
1657 /**/
1658     875,
1659 /**/
1660     874,
1661 /**/
1662     873,
1663 /**/
1664     872,
1665 /**/
1666     871,
1667 /**/
1668     870,
1669 /**/
1670     869,
1671 /**/
1672     868,
1673 /**/
1674     867,
1675 /**/
1676     866,
1677 /**/
1678     865,
1679 /**/
1680     864,
1681 /**/
1682     863,
1683 /**/
1684     862,
1685 /**/
1686     861,
1687 /**/
1688     860,
1689 /**/
1690     859,
1691 /**/
1692     858,
1693 /**/
1694     857,
1695 /**/
1696     856,
1697 /**/
1698     855,
1699 /**/
1700     854,
1701 /**/
1702     853,
1703 /**/
1704     852,
1705 /**/
1706     851,
1707 /**/
1708     850,
1709 /**/
1710     849,
1711 /**/
1712     848,
1713 /**/
1714     847,
1715 /**/
1716     846,
1717 /**/
1718     845,
1719 /**/
1720     844,
1721 /**/
1722     843,
1723 /**/
1724     842,
1725 /**/
1726     841,
1727 /**/
1728     840,
1729 /**/
1730     839,
1731 /**/
1732     838,
1733 /**/
1734     837,
1735 /**/
1736     836,
1737 /**/
1738     835,
1739 /**/
1740     834,
1741 /**/
1742     833,
1743 /**/
1744     832,
1745 /**/
1746     831,
1747 /**/
1748     830,
1749 /**/
1750     829,
1751 /**/
1752     828,
1753 /**/
1754     827,
1755 /**/
1756     826,
1757 /**/
1758     825,
1759 /**/
1760     824,
1761 /**/
1762     823,
1763 /**/
1764     822,
1765 /**/
1766     821,
1767 /**/
1768     820,
1769 /**/
1770     819,
1771 /**/
1772     818,
1773 /**/
1774     817,
1775 /**/
1776     816,
1777 /**/
1778     815,
1779 /**/
1780     814,
1781 /**/
1782     813,
1783 /**/
1784     812,
1785 /**/
1786     811,
1787 /**/
1788     810,
1789 /**/
1790     809,
1791 /**/
1792     808,
1793 /**/
1794     807,
1795 /**/
1796     806,
1797 /**/
1798     805,
1799 /**/
1800     804,
1801 /**/
1802     803,
1803 /**/
1804     802,
1805 /**/
1806     801,
1807 /**/
1808     800,
1809 /**/
1810     799,
1811 /**/
1812     798,
1813 /**/
1814     797,
1815 /**/
1816     796,
1817 /**/
1818     795,
1819 /**/
1820     794,
1821 /**/
1822     793,
1823 /**/
1824     792,
1825 /**/
1826     791,
1827 /**/
1828     790,
1829 /**/
1830     789,
1831 /**/
1832     788,
1833 /**/
1834     787,
1835 /**/
1836     786,
1837 /**/
1838     785,
1839 /**/
1840     784,
1841 /**/
1842     783,
1843 /**/
1844     782,
1845 /**/
1846     781,
1847 /**/
1848     780,
1849 /**/
1850     779,
1851 /**/
1852     778,
1853 /**/
1854     777,
1855 /**/
1856     776,
1857 /**/
1858     775,
1859 /**/
1860     774,
1861 /**/
1862     773,
1863 /**/
1864     772,
1865 /**/
1866     771,
1867 /**/
1868     770,
1869 /**/
1870     769,
1871 /**/
1872     768,
1873 /**/
1874     767,
1875 /**/
1876     766,
1877 /**/
1878     765,
1879 /**/
1880     764,
1881 /**/
1882     763,
1883 /**/
1884     762,
1885 /**/
1886     761,
1887 /**/
1888     760,
1889 /**/
1890     759,
1891 /**/
1892     758,
1893 /**/
1894     757,
1895 /**/
1896     756,
1897 /**/
1898     755,
1899 /**/
1900     754,
1901 /**/
1902     753,
1903 /**/
1904     752,
1905 /**/
1906     751,
1907 /**/
1908     750,
1909 /**/
1910     749,
1911 /**/
1912     748,
1913 /**/
1914     747,
1915 /**/
1916     746,
1917 /**/
1918     745,
1919 /**/
1920     744,
1921 /**/
1922     743,
1923 /**/
1924     742,
1925 /**/
1926     741,
1927 /**/
1928     740,
1929 /**/
1930     739,
1931 /**/
1932     738,
1933 /**/
1934     737,
1935 /**/
1936     736,
1937 /**/
1938     735,
1939 /**/
1940     734,
1941 /**/
1942     733,
1943 /**/
1944     732,
1945 /**/
1946     731,
1947 /**/
1948     730,
1949 /**/
1950     729,
1951 /**/
1952     728,
1953 /**/
1954     727,
1955 /**/
1956     726,
1957 /**/
1958     725,
1959 /**/
1960     724,
1961 /**/
1962     723,
1963 /**/
1964     722,
1965 /**/
1966     721,
1967 /**/
1968     720,
1969 /**/
1970     719,
1971 /**/
1972     718,
1973 /**/
1974     717,
1975 /**/
1976     716,
1977 /**/
1978     715,
1979 /**/
1980     714,
1981 /**/
1982     713,
1983 /**/
1984     712,
1985 /**/
1986     711,
1987 /**/
1988     710,
1989 /**/
1990     709,
1991 /**/
1992     708,
1993 /**/
1994     707,
1995 /**/
1996     706,
1997 /**/
1998     705,
1999 /**/
2000     704,
2001 /**/
2002     703,
2003 /**/
2004     702,
2005 /**/
2006     701,
2007 /**/
2008     700,
2009 /**/
2010     699,
2011 /**/
2012     698,
2013 /**/
2014     697,
2015 /**/
2016     696,
2017 /**/
2018     695,
2019 /**/
2020     694,
2021 /**/
2022     693,
2023 /**/
2024     692,
2025 /**/
2026     691,
2027 /**/
2028     690,
2029 /**/
2030     689,
2031 /**/
2032     688,
2033 /**/
2034     687,
2035 /**/
2036     686,
2037 /**/
2038     685,
2039 /**/
2040     684,
2041 /**/
2042     683,
2043 /**/
2044     682,
2045 /**/
2046     681,
2047 /**/
2048     680,
2049 /**/
2050     679,
2051 /**/
2052     678,
2053 /**/
2054     677,
2055 /**/
2056     676,
2057 /**/
2058     675,
2059 /**/
2060     674,
2061 /**/
2062     673,
2063 /**/
2064     672,
2065 /**/
2066     671,
2067 /**/
2068     670,
2069 /**/
2070     669,
2071 /**/
2072     668,
2073 /**/
2074     667,
2075 /**/
2076     666,
2077 /**/
2078     665,
2079 /**/
2080     664,
2081 /**/
2082     663,
2083 /**/
2084     662,
2085 /**/
2086     661,
2087 /**/
2088     660,
2089 /**/
2090     659,
2091 /**/
2092     658,
2093 /**/
2094     657,
2095 /**/
2096     656,
2097 /**/
2098     655,
2099 /**/
2100     654,
2101 /**/
2102     653,
2103 /**/
2104     652,
2105 /**/
2106     651,
2107 /**/
2108     650,
2109 /**/
2110     649,
2111 /**/
2112     648,
2113 /**/
2114     647,
2115 /**/
2116     646,
2117 /**/
2118     645,
2119 /**/
2120     644,
2121 /**/
2122     643,
2123 /**/
2124     642,
2125 /**/
2126     641,
2127 /**/
2128     640,
2129 /**/
2130     639,
2131 /**/
2132     638,
2133 /**/
2134     637,
2135 /**/
2136     636,
2137 /**/
2138     635,
2139 /**/
2140     634,
2141 /**/
2142     633,
2143 /**/
2144     632,
2145 /**/
2146     631,
2147 /**/
2148     630,
2149 /**/
2150     629,
2151 /**/
2152     628,
2153 /**/
2154     627,
2155 /**/
2156     626,
2157 /**/
2158     625,
2159 /**/
2160     624,
2161 /**/
2162     623,
2163 /**/
2164     622,
2165 /**/
2166     621,
2167 /**/
2168     620,
2169 /**/
2170     619,
2171 /**/
2172     618,
2173 /**/
2174     617,
2175 /**/
2176     616,
2177 /**/
2178     615,
2179 /**/
2180     614,
2181 /**/
2182     613,
2183 /**/
2184     612,
2185 /**/
2186     611,
2187 /**/
2188     610,
2189 /**/
2190     609,
2191 /**/
2192     608,
2193 /**/
2194     607,
2195 /**/
2196     606,
2197 /**/
2198     605,
2199 /**/
2200     604,
2201 /**/
2202     603,
2203 /**/
2204     602,
2205 /**/
2206     601,
2207 /**/
2208     600,
2209 /**/
2210     599,
2211 /**/
2212     598,
2213 /**/
2214     597,
2215 /**/
2216     596,
2217 /**/
2218     595,
2219 /**/
2220     594,
2221 /**/
2222     593,
2223 /**/
2224     592,
2225 /**/
2226     591,
2227 /**/
2228     590,
2229 /**/
2230     589,
2231 /**/
2232     588,
2233 /**/
2234     587,
2235 /**/
2236     586,
2237 /**/
2238     585,
2239 /**/
2240     584,
2241 /**/
2242     583,
2243 /**/
2244     582,
2245 /**/
2246     581,
2247 /**/
2248     580,
2249 /**/
2250     579,
2251 /**/
2252     578,
2253 /**/
2254     577,
2255 /**/
2256     576,
2257 /**/
2258     575,
2259 /**/
2260     574,
2261 /**/
2262     573,
2263 /**/
2264     572,
2265 /**/
2266     571,
2267 /**/
2268     570,
2269 /**/
2270     569,
2271 /**/
2272     568,
2273 /**/
2274     567,
2275 /**/
2276     566,
2277 /**/
2278     565,
2279 /**/
2280     564,
2281 /**/
2282     563,
2283 /**/
2284     562,
2285 /**/
2286     561,
2287 /**/
2288     560,
2289 /**/
2290     559,
2291 /**/
2292     558,
2293 /**/
2294     557,
2295 /**/
2296     556,
2297 /**/
2298     555,
2299 /**/
2300     554,
2301 /**/
2302     553,
2303 /**/
2304     552,
2305 /**/
2306     551,
2307 /**/
2308     550,
2309 /**/
2310     549,
2311 /**/
2312     548,
2313 /**/
2314     547,
2315 /**/
2316     546,
2317 /**/
2318     545,
2319 /**/
2320     544,
2321 /**/
2322     543,
2323 /**/
2324     542,
2325 /**/
2326     541,
2327 /**/
2328     540,
2329 /**/
2330     539,
2331 /**/
2332     538,
2333 /**/
2334     537,
2335 /**/
2336     536,
2337 /**/
2338     535,
2339 /**/
2340     534,
2341 /**/
2342     533,
2343 /**/
2344     532,
2345 /**/
2346     531,
2347 /**/
2348     530,
2349 /**/
2350     529,
2351 /**/
2352     528,
2353 /**/
2354     527,
2355 /**/
2356     526,
2357 /**/
2358     525,
2359 /**/
2360     524,
2361 /**/
2362     523,
2363 /**/
2364     522,
2365 /**/
2366     521,
2367 /**/
2368     520,
2369 /**/
2370     519,
2371 /**/
2372     518,
2373 /**/
2374     517,
2375 /**/
2376     516,
2377 /**/
2378     515,
2379 /**/
2380     514,
2381 /**/
2382     513,
2383 /**/
2384     512,
2385 /**/
2386     511,
2387 /**/
2388     510,
2389 /**/
2390     509,
2391 /**/
2392     508,
2393 /**/
2394     507,
2395 /**/
2396     506,
2397 /**/
2398     505,
2399 /**/
2400     504,
2401 /**/
2402     503,
2403 /**/
2404     502,
2405 /**/
2406     501,
2407 /**/
2408     500,
2409 /**/
2410     499,
2411 /**/
2412     498,
2413 /**/
2414     497,
2415 /**/
2416     496,
2417 /**/
2418     495,
2419 /**/
2420     494,
2421 /**/
2422     493,
2423 /**/
2424     492,
2425 /**/
2426     491,
2427 /**/
2428     490,
2429 /**/
2430     489,
2431 /**/
2432     488,
2433 /**/
2434     487,
2435 /**/
2436     486,
2437 /**/
2438     485,
2439 /**/
2440     484,
2441 /**/
2442     483,
2443 /**/
2444     482,
2445 /**/
2446     481,
2447 /**/
2448     480,
2449 /**/
2450     479,
2451 /**/
2452     478,
2453 /**/
2454     477,
2455 /**/
2456     476,
2457 /**/
2458     475,
2459 /**/
2460     474,
2461 /**/
2462     473,
2463 /**/
2464     472,
2465 /**/
2466     471,
2467 /**/
2468     470,
2469 /**/
2470     469,
2471 /**/
2472     468,
2473 /**/
2474     467,
2475 /**/
2476     466,
2477 /**/
2478     465,
2479 /**/
2480     464,
2481 /**/
2482     463,
2483 /**/
2484     462,
2485 /**/
2486     461,
2487 /**/
2488     460,
2489 /**/
2490     459,
2491 /**/
2492     458,
2493 /**/
2494     457,
2495 /**/
2496     456,
2497 /**/
2498     455,
2499 /**/
2500     454,
2501 /**/
2502     453,
2503 /**/
2504     452,
2505 /**/
2506     451,
2507 /**/
2508     450,
2509 /**/
2510     449,
2511 /**/
2512     448,
2513 /**/
2514     447,
2515 /**/
2516     446,
2517 /**/
2518     445,
2519 /**/
2520     444,
2521 /**/
2522     443,
2523 /**/
2524     442,
2525 /**/
2526     441,
2527 /**/
2528     440,
2529 /**/
2530     439,
2531 /**/
2532     438,
2533 /**/
2534     437,
2535 /**/
2536     436,
2537 /**/
2538     435,
2539 /**/
2540     434,
2541 /**/
2542     433,
2543 /**/
2544     432,
2545 /**/
2546     431,
2547 /**/
2548     430,
2549 /**/
2550     429,
2551 /**/
2552     428,
2553 /**/
2554     427,
2555 /**/
2556     426,
2557 /**/
2558     425,
2559 /**/
2560     424,
2561 /**/
2562     423,
2563 /**/
2564     422,
2565 /**/
2566     421,
2567 /**/
2568     420,
2569 /**/
2570     419,
2571 /**/
2572     418,
2573 /**/
2574     417,
2575 /**/
2576     416,
2577 /**/
2578     415,
2579 /**/
2580     414,
2581 /**/
2582     413,
2583 /**/
2584     412,
2585 /**/
2586     411,
2587 /**/
2588     410,
2589 /**/
2590     409,
2591 /**/
2592     408,
2593 /**/
2594     407,
2595 /**/
2596     406,
2597 /**/
2598     405,
2599 /**/
2600     404,
2601 /**/
2602     403,
2603 /**/
2604     402,
2605 /**/
2606     401,
2607 /**/
2608     400,
2609 /**/
2610     399,
2611 /**/
2612     398,
2613 /**/
2614     397,
2615 /**/
2616     396,
2617 /**/
2618     395,
2619 /**/
2620     394,
2621 /**/
2622     393,
2623 /**/
2624     392,
2625 /**/
2626     391,
2627 /**/
2628     390,
2629 /**/
2630     389,
2631 /**/
2632     388,
2633 /**/
2634     387,
2635 /**/
2636     386,
2637 /**/
2638     385,
2639 /**/
2640     384,
2641 /**/
2642     383,
2643 /**/
2644     382,
2645 /**/
2646     381,
2647 /**/
2648     380,
2649 /**/
2650     379,
2651 /**/
2652     378,
2653 /**/
2654     377,
2655 /**/
2656     376,
2657 /**/
2658     375,
2659 /**/
2660     374,
2661 /**/
2662     373,
2663 /**/
2664     372,
2665 /**/
2666     371,
2667 /**/
2668     370,
2669 /**/
2670     369,
2671 /**/
2672     368,
2673 /**/
2674     367,
2675 /**/
2676     366,
2677 /**/
2678     365,
2679 /**/
2680     364,
2681 /**/
2682     363,
2683 /**/
2684     362,
2685 /**/
2686     361,
2687 /**/
2688     360,
2689 /**/
2690     359,
2691 /**/
2692     358,
2693 /**/
2694     357,
2695 /**/
2696     356,
2697 /**/
2698     355,
2699 /**/
2700     354,
2701 /**/
2702     353,
2703 /**/
2704     352,
2705 /**/
2706     351,
2707 /**/
2708     350,
2709 /**/
2710     349,
2711 /**/
2712     348,
2713 /**/
2714     347,
2715 /**/
2716     346,
2717 /**/
2718     345,
2719 /**/
2720     344,
2721 /**/
2722     343,
2723 /**/
2724     342,
2725 /**/
2726     341,
2727 /**/
2728     340,
2729 /**/
2730     339,
2731 /**/
2732     338,
2733 /**/
2734     337,
2735 /**/
2736     336,
2737 /**/
2738     335,
2739 /**/
2740     334,
2741 /**/
2742     333,
2743 /**/
2744     332,
2745 /**/
2746     331,
2747 /**/
2748     330,
2749 /**/
2750     329,
2751 /**/
2752     328,
2753 /**/
2754     327,
2755 /**/
2756     326,
2757 /**/
2758     325,
2759 /**/
2760     324,
2761 /**/
2762     323,
2763 /**/
2764     322,
2765 /**/
2766     321,
2767 /**/
2768     320,
2769 /**/
2770     319,
2771 /**/
2772     318,
2773 /**/
2774     317,
2775 /**/
2776     316,
2777 /**/
2778     315,
2779 /**/
2780     314,
2781 /**/
2782     313,
2783 /**/
2784     312,
2785 /**/
2786     311,
2787 /**/
2788     310,
2789 /**/
2790     309,
2791 /**/
2792     308,
2793 /**/
2794     307,
2795 /**/
2796     306,
2797 /**/
2798     305,
2799 /**/
2800     304,
2801 /**/
2802     303,
2803 /**/
2804     302,
2805 /**/
2806     301,
2807 /**/
2808     300,
2809 /**/
2810     299,
2811 /**/
2812     298,
2813 /**/
2814     297,
2815 /**/
2816     296,
2817 /**/
2818     295,
2819 /**/
2820     294,
2821 /**/
2822     293,
2823 /**/
2824     292,
2825 /**/
2826     291,
2827 /**/
2828     290,
2829 /**/
2830     289,
2831 /**/
2832     288,
2833 /**/
2834     287,
2835 /**/
2836     286,
2837 /**/
2838     285,
2839 /**/
2840     284,
2841 /**/
2842     283,
2843 /**/
2844     282,
2845 /**/
2846     281,
2847 /**/
2848     280,
2849 /**/
2850     279,
2851 /**/
2852     278,
2853 /**/
2854     277,
2855 /**/
2856     276,
2857 /**/
2858     275,
2859 /**/
2860     274,
2861 /**/
2862     273,
2863 /**/
2864     272,
2865 /**/
2866     271,
2867 /**/
2868     270,
2869 /**/
2870     269,
2871 /**/
2872     268,
2873 /**/
2874     267,
2875 /**/
2876     266,
2877 /**/
2878     265,
2879 /**/
2880     264,
2881 /**/
2882     263,
2883 /**/
2884     262,
2885 /**/
2886     261,
2887 /**/
2888     260,
2889 /**/
2890     259,
2891 /**/
2892     258,
2893 /**/
2894     257,
2895 /**/
2896     256,
2897 /**/
2898     255,
2899 /**/
2900     254,
2901 /**/
2902     253,
2903 /**/
2904     252,
2905 /**/
2906     251,
2907 /**/
2908     250,
2909 /**/
2910     249,
2911 /**/
2912     248,
2913 /**/
2914     247,
2915 /**/
2916     246,
2917 /**/
2918     245,
2919 /**/
2920     244,
2921 /**/
2922     243,
2923 /**/
2924     242,
2925 /**/
2926     241,
2927 /**/
2928     240,
2929 /**/
2930     239,
2931 /**/
2932     238,
2933 /**/
2934     237,
2935 /**/
2936     236,
2937 /**/
2938     235,
2939 /**/
2940     234,
2941 /**/
2942     233,
2943 /**/
2944     232,
2945 /**/
2946     231,
2947 /**/
2948     230,
2949 /**/
2950     229,
2951 /**/
2952     228,
2953 /**/
2954     227,
2955 /**/
2956     226,
2957 /**/
2958     225,
2959 /**/
2960     224,
2961 /**/
2962     223,
2963 /**/
2964     222,
2965 /**/
2966     221,
2967 /**/
2968     220,
2969 /**/
2970     219,
2971 /**/
2972     218,
2973 /**/
2974     217,
2975 /**/
2976     216,
2977 /**/
2978     215,
2979 /**/
2980     214,
2981 /**/
2982     213,
2983 /**/
2984     212,
2985 /**/
2986     211,
2987 /**/
2988     210,
2989 /**/
2990     209,
2991 /**/
2992     208,
2993 /**/
2994     207,
2995 /**/
2996     206,
2997 /**/
2998     205,
2999 /**/
3000     204,
3001 /**/
3002     203,
3003 /**/
3004     202,
3005 /**/
3006     201,
3007 /**/
3008     200,
3009 /**/
3010     199,
3011 /**/
3012     198,
3013 /**/
3014     197,
3015 /**/
3016     196,
3017 /**/
3018     195,
3019 /**/
3020     194,
3021 /**/
3022     193,
3023 /**/
3024     192,
3025 /**/
3026     191,
3027 /**/
3028     190,
3029 /**/
3030     189,
3031 /**/
3032     188,
3033 /**/
3034     187,
3035 /**/
3036     186,
3037 /**/
3038     185,
3039 /**/
3040     184,
3041 /**/
3042     183,
3043 /**/
3044     182,
3045 /**/
3046     181,
3047 /**/
3048     180,
3049 /**/
3050     179,
3051 /**/
3052     178,
3053 /**/
3054     177,
3055 /**/
3056     176,
3057 /**/
3058     175,
3059 /**/
3060     174,
3061 /**/
3062     173,
3063 /**/
3064     172,
3065 /**/
3066     171,
3067 /**/
3068     170,
3069 /**/
3070     169,
3071 /**/
3072     168,
3073 /**/
3074     167,
3075 /**/
3076     166,
3077 /**/
3078     165,
3079 /**/
3080     164,
3081 /**/
3082     163,
3083 /**/
3084     162,
3085 /**/
3086     161,
3087 /**/
3088     160,
3089 /**/
3090     159,
3091 /**/
3092     158,
3093 /**/
3094     157,
3095 /**/
3096     156,
3097 /**/
3098     155,
3099 /**/
3100     154,
3101 /**/
3102     153,
3103 /**/
3104     152,
3105 /**/
3106     151,
3107 /**/
3108     150,
3109 /**/
3110     149,
3111 /**/
3112     148,
3113 /**/
3114     147,
3115 /**/
3116     146,
3117 /**/
3118     145,
3119 /**/
3120     144,
3121 /**/
3122     143,
3123 /**/
3124     142,
3125 /**/
3126     141,
3127 /**/
3128     140,
3129 /**/
3130     139,
3131 /**/
3132     138,
3133 /**/
3134     137,
3135 /**/
3136     136,
3137 /**/
3138     135,
3139 /**/
3140     134,
3141 /**/
3142     133,
3143 /**/
3144     132,
3145 /**/
3146     131,
3147 /**/
3148     130,
3149 /**/
3150     129,
3151 /**/
3152     128,
3153 /**/
3154     127,
3155 /**/
3156     126,
3157 /**/
3158     125,
3159 /**/
3160     124,
3161 /**/
3162     123,
3163 /**/
3164     122,
3165 /**/
3166     121,
3167 /**/
3168     120,
3169 /**/
3170     119,
3171 /**/
3172     118,
3173 /**/
3174     117,
3175 /**/
3176     116,
3177 /**/
3178     115,
3179 /**/
3180     114,
3181 /**/
3182     113,
3183 /**/
3184     112,
3185 /**/
3186     111,
3187 /**/
3188     110,
3189 /**/
3190     109,
3191 /**/
3192     108,
3193 /**/
3194     107,
3195 /**/
3196     106,
3197 /**/
3198     105,
3199 /**/
3200     104,
3201 /**/
3202     103,
3203 /**/
3204     102,
3205 /**/
3206     101,
3207 /**/
3208     100,
3209 /**/
3210     99,
3211 /**/
3212     98,
3213 /**/
3214     97,
3215 /**/
3216     96,
3217 /**/
3218     95,
3219 /**/
3220     94,
3221 /**/
3222     93,
3223 /**/
3224     92,
3225 /**/
3226     91,
3227 /**/
3228     90,
3229 /**/
3230     89,
3231 /**/
3232     88,
3233 /**/
3234     87,
3235 /**/
3236     86,
3237 /**/
3238     85,
3239 /**/
3240     84,
3241 /**/
3242     83,
3243 /**/
3244     82,
3245 /**/
3246     81,
3247 /**/
3248     80,
3249 /**/
3250     79,
3251 /**/
3252     78,
3253 /**/
3254     77,
3255 /**/
3256     76,
3257 /**/
3258     75,
3259 /**/
3260     74,
3261 /**/
3262     73,
3263 /**/
3264     72,
3265 /**/
3266     71,
3267 /**/
3268     70,
3269 /**/
3270     69,
3271 /**/
3272     68,
3273 /**/
3274     67,
3275 /**/
3276     66,
3277 /**/
3278     65,
3279 /**/
3280     64,
3281 /**/
3282     63,
3283 /**/
3284     62,
3285 /**/
3286     61,
3287 /**/
3288     60,
3289 /**/
3290     59,
3291 /**/
3292     58,
3293 /**/
3294     57,
3295 /**/
3296     56,
3297 /**/
3298     55,
3299 /**/
3300     54,
3301 /**/
3302     53,
3303 /**/
3304     52,
3305 /**/
3306     51,
3307 /**/
3308     50,
3309 /**/
3310     49,
3311 /**/
3312     48,
3313 /**/
3314     47,
3315 /**/
3316     46,
3317 /**/
3318     45,
3319 /**/
3320     44,
3321 /**/
3322     43,
3323 /**/
3324     42,
3325 /**/
3326     41,
3327 /**/
3328     40,
3329 /**/
3330     39,
3331 /**/
3332     38,
3333 /**/
3334     37,
3335 /**/
3336     36,
3337 /**/
3338     35,
3339 /**/
3340     34,
3341 /**/
3342     33,
3343 /**/
3344     32,
3345 /**/
3346     31,
3347 /**/
3348     30,
3349 /**/
3350     29,
3351 /**/
3352     28,
3353 /**/
3354     27,
3355 /**/
3356     26,
3357 /**/
3358     25,
3359 /**/
3360     24,
3361 /**/
3362     23,
3363 /**/
3364     22,
3365 /**/
3366     21,
3367 /**/
3368     20,
3369 /**/
3370     19,
3371 /**/
3372     18,
3373 /**/
3374     17,
3375 /**/
3376     16,
3377 /**/
3378     15,
3379 /**/
3380     14,
3381 /**/
3382     13,
3383 /**/
3384     12,
3385 /**/
3386     11,
3387 /**/
3388     10,
3389 /**/
3390     9,
3391 /**/
3392     8,
3393 /**/
3394     7,
3395 /**/
3396     6,
3397 /**/
3398     5,
3399 /**/
3400     4,
3401 /**/
3402     3,
3403 /**/
3404     2,
3405 /**/
3406     1,
3407 /**/
3408     0
3409 };
3410 
3411 /*
3412  * Place to put a short description when adding a feature with a patch.
3413  * Keep it short, e.g.,: "relative numbers", "persistent undo".
3414  * Also add a comment marker to separate the lines.
3415  * See the official Vim patches for the diff format: It must use a context of
3416  * one line only.  Create it by hand or use "diff -C2" and edit the patch.
3417  */
3418 static char *(extra_patches[]) =
3419 {   /* Add your patch description below this line */
3420 /**/
3421     NULL
3422 };
3423 
3424     int
3425 highest_patch(void)
3426 {
3427     // this relies on the highest patch number to be the first entry
3428     return included_patches[0];
3429 }
3430 
3431 #if defined(FEAT_EVAL) || defined(PROTO)
3432 /*
3433  * Return TRUE if patch "n" has been included.
3434  */
3435     int
3436 has_patch(int n)
3437 {
3438     int		i;
3439 
3440     for (i = 0; included_patches[i] != 0; ++i)
3441 	if (included_patches[i] == n)
3442 	    return TRUE;
3443     return FALSE;
3444 }
3445 #endif
3446 
3447     void
3448 ex_version(exarg_T *eap)
3449 {
3450     /*
3451      * Ignore a ":version 9.99" command.
3452      */
3453     if (*eap->arg == NUL)
3454     {
3455 	msg_putchar('\n');
3456 	list_version();
3457     }
3458 }
3459 
3460 /*
3461  * Output a string for the version message.  If it's going to wrap, output a
3462  * newline, unless the message is too long to fit on the screen anyway.
3463  * When "wrap" is TRUE wrap the string in [].
3464  */
3465     static void
3466 version_msg_wrap(char_u *s, int wrap)
3467 {
3468     int		len = (int)vim_strsize(s) + (wrap ? 2 : 0);
3469 
3470     if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns
3471 								&& *s != '\n')
3472 	msg_putchar('\n');
3473     if (!got_int)
3474     {
3475 	if (wrap)
3476 	    msg_puts("[");
3477 	msg_puts((char *)s);
3478 	if (wrap)
3479 	    msg_puts("]");
3480     }
3481 }
3482 
3483     static void
3484 version_msg(char *s)
3485 {
3486     version_msg_wrap((char_u *)s, FALSE);
3487 }
3488 
3489 /*
3490  * List all features aligned in columns, dictionary style.
3491  */
3492     static void
3493 list_features(void)
3494 {
3495     list_in_columns((char_u **)features, -1, -1);
3496 }
3497 
3498 /*
3499  * List string items nicely aligned in columns.
3500  * When "size" is < 0 then the last entry is marked with NULL.
3501  * The entry with index "current" is inclosed in [].
3502  */
3503     void
3504 list_in_columns(char_u **items, int size, int current)
3505 {
3506     int		i;
3507     int		ncol;
3508     int		nrow;
3509     int		cur_row = 1;
3510     int		item_count = 0;
3511     int		width = 0;
3512 #ifdef FEAT_SYN_HL
3513     int		use_highlight = (items == (char_u **)features);
3514 #endif
3515 
3516     // Find the length of the longest item, use that + 1 as the column
3517     // width.
3518     for (i = 0; size < 0 ? items[i] != NULL : i < size; ++i)
3519     {
3520 	int l = (int)vim_strsize(items[i]) + (i == current ? 2 : 0);
3521 
3522 	if (l > width)
3523 	    width = l;
3524 	++item_count;
3525     }
3526     width += 1;
3527 
3528     if (Columns < width)
3529     {
3530 	// Not enough screen columns - show one per line
3531 	for (i = 0; i < item_count; ++i)
3532 	{
3533 	    version_msg_wrap(items[i], i == current);
3534 	    if (msg_col > 0 && i < item_count - 1)
3535 		msg_putchar('\n');
3536 	}
3537 	return;
3538     }
3539 
3540     // The rightmost column doesn't need a separator.
3541     // Sacrifice it to fit in one more column if possible.
3542     ncol = (int) (Columns + 1) / width;
3543     nrow = item_count / ncol + (item_count % ncol ? 1 : 0);
3544 
3545     // "i" counts columns then rows.  "idx" counts rows then columns.
3546     for (i = 0; !got_int && i < nrow * ncol; ++i)
3547     {
3548 	int idx = (i / ncol) + (i % ncol) * nrow;
3549 
3550 	if (idx < item_count)
3551 	{
3552 	    int last_col = (i + 1) % ncol == 0;
3553 
3554 	    if (idx == current)
3555 		msg_putchar('[');
3556 #ifdef FEAT_SYN_HL
3557 	    if (use_highlight && items[idx][0] == '-')
3558 		msg_puts_attr((char *)items[idx], HL_ATTR(HLF_W));
3559 	    else
3560 #endif
3561 		msg_puts((char *)items[idx]);
3562 	    if (idx == current)
3563 		msg_putchar(']');
3564 	    if (last_col)
3565 	    {
3566 		if (msg_col > 0 && cur_row < nrow)
3567 		    msg_putchar('\n');
3568 		++cur_row;
3569 	    }
3570 	    else
3571 	    {
3572 		while (msg_col % width)
3573 		    msg_putchar(' ');
3574 	    }
3575 	}
3576 	else
3577 	{
3578 	    // this row is out of items, thus at the end of the row
3579 	    if (msg_col > 0)
3580 	    {
3581 		if (cur_row < nrow)
3582 		    msg_putchar('\n');
3583 		++cur_row;
3584 	    }
3585 	}
3586     }
3587 }
3588 
3589     void
3590 list_version(void)
3591 {
3592     int		i;
3593     int		first;
3594     char	*s = "";
3595 
3596     /*
3597      * When adding features here, don't forget to update the list of
3598      * internal variables in eval.c!
3599      */
3600     init_longVersion();
3601     msg(longVersion);
3602 #ifdef MSWIN
3603 # ifdef FEAT_GUI_MSWIN
3604 #  ifdef VIMDLL
3605 #   ifdef _WIN64
3606     msg_puts(_("\nMS-Windows 64-bit GUI/console version"));
3607 #   else
3608     msg_puts(_("\nMS-Windows 32-bit GUI/console version"));
3609 #   endif
3610 #  else
3611 #   ifdef _WIN64
3612     msg_puts(_("\nMS-Windows 64-bit GUI version"));
3613 #   else
3614     msg_puts(_("\nMS-Windows 32-bit GUI version"));
3615 #   endif
3616 #  endif
3617 #  ifdef FEAT_OLE
3618     msg_puts(_(" with OLE support"));
3619 #  endif
3620 # else
3621 #  ifdef _WIN64
3622     msg_puts(_("\nMS-Windows 64-bit console version"));
3623 #  else
3624     msg_puts(_("\nMS-Windows 32-bit console version"));
3625 #  endif
3626 # endif
3627 #endif
3628 #if defined(MACOS_X)
3629 # if defined(MACOS_X_DARWIN)
3630     msg_puts(_("\nmacOS version"));
3631 # else
3632     msg_puts(_("\nmacOS version w/o darwin feat."));
3633 # endif
3634 #endif
3635 
3636 #ifdef VMS
3637     msg_puts(_("\nOpenVMS version"));
3638 # ifdef HAVE_PATHDEF
3639     if (*compiled_arch != NUL)
3640     {
3641 	msg_puts(" - ");
3642 	msg_puts((char *)compiled_arch);
3643     }
3644 # endif
3645 
3646 #endif
3647 
3648     // Print the list of patch numbers if there is at least one.
3649     // Print a range when patches are consecutive: "1-10, 12, 15-40, 42-45"
3650     if (included_patches[0] != 0)
3651     {
3652 	msg_puts(_("\nIncluded patches: "));
3653 	first = -1;
3654 	// find last one
3655 	for (i = 0; included_patches[i] != 0; ++i)
3656 	    ;
3657 	while (--i >= 0)
3658 	{
3659 	    if (first < 0)
3660 		first = included_patches[i];
3661 	    if (i == 0 || included_patches[i - 1] != included_patches[i] + 1)
3662 	    {
3663 		msg_puts(s);
3664 		s = ", ";
3665 		msg_outnum((long)first);
3666 		if (first != included_patches[i])
3667 		{
3668 		    msg_puts("-");
3669 		    msg_outnum((long)included_patches[i]);
3670 		}
3671 		first = -1;
3672 	    }
3673 	}
3674     }
3675 
3676     // Print the list of extra patch descriptions if there is at least one.
3677     if (extra_patches[0] != NULL)
3678     {
3679 	msg_puts(_("\nExtra patches: "));
3680 	s = "";
3681 	for (i = 0; extra_patches[i] != NULL; ++i)
3682 	{
3683 	    msg_puts(s);
3684 	    s = ", ";
3685 	    msg_puts(extra_patches[i]);
3686 	}
3687     }
3688 
3689 #ifdef MODIFIED_BY
3690     msg_puts("\n");
3691     msg_puts(_("Modified by "));
3692     msg_puts(MODIFIED_BY);
3693 #endif
3694 
3695 #ifdef HAVE_PATHDEF
3696     if (*compiled_user != NUL || *compiled_sys != NUL)
3697     {
3698 	msg_puts(_("\nCompiled "));
3699 	if (*compiled_user != NUL)
3700 	{
3701 	    msg_puts(_("by "));
3702 	    msg_puts((char *)compiled_user);
3703 	}
3704 	if (*compiled_sys != NUL)
3705 	{
3706 	    msg_puts("@");
3707 	    msg_puts((char *)compiled_sys);
3708 	}
3709     }
3710 #endif
3711 
3712 #ifdef FEAT_HUGE
3713     msg_puts(_("\nHuge version "));
3714 #else
3715 # ifdef FEAT_BIG
3716     msg_puts(_("\nBig version "));
3717 # else
3718 #  ifdef FEAT_NORMAL
3719     msg_puts(_("\nNormal version "));
3720 #  else
3721 #   ifdef FEAT_SMALL
3722     msg_puts(_("\nSmall version "));
3723 #   else
3724     msg_puts(_("\nTiny version "));
3725 #   endif
3726 #  endif
3727 # endif
3728 #endif
3729 #ifndef FEAT_GUI
3730     msg_puts(_("without GUI."));
3731 #else
3732 # ifdef FEAT_GUI_GTK
3733 #  ifdef USE_GTK3
3734     msg_puts(_("with GTK3 GUI."));
3735 #  else
3736 #   ifdef FEAT_GUI_GNOME
3737      msg_puts(_("with GTK2-GNOME GUI."));
3738 #   else
3739      msg_puts(_("with GTK2 GUI."));
3740 #   endif
3741 # endif
3742 # else
3743 #  ifdef FEAT_GUI_MOTIF
3744     msg_puts(_("with X11-Motif GUI."));
3745 #  else
3746 #   ifdef FEAT_GUI_ATHENA
3747 #    ifdef FEAT_GUI_NEXTAW
3748     msg_puts(_("with X11-neXtaw GUI."));
3749 #    else
3750     msg_puts(_("with X11-Athena GUI."));
3751 #    endif
3752 #   else
3753 #    ifdef FEAT_GUI_HAIKU
3754     msg_puts(_("with Haiku GUI."));
3755 #    else
3756 #     ifdef FEAT_GUI_PHOTON
3757     msg_puts(_("with Photon GUI."));
3758 #     else
3759 #      if defined(MSWIN)
3760     msg_puts(_("with GUI."));
3761 #      else
3762 #	if defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON
3763     msg_puts(_("with Carbon GUI."));
3764 #	else
3765 #	 if defined(TARGET_API_MAC_OSX) && TARGET_API_MAC_OSX
3766     msg_puts(_("with Cocoa GUI."));
3767 #	 else
3768 #	 endif
3769 #	endif
3770 #	 endif
3771 #      endif
3772 #    endif
3773 #   endif
3774 #  endif
3775 # endif
3776 #endif
3777     version_msg(_("  Features included (+) or not (-):\n"));
3778 
3779     list_features();
3780     if (msg_col > 0)
3781 	msg_putchar('\n');
3782 
3783 #ifdef SYS_VIMRC_FILE
3784     version_msg(_("   system vimrc file: \""));
3785     version_msg(SYS_VIMRC_FILE);
3786     version_msg("\"\n");
3787 #endif
3788 #ifdef USR_VIMRC_FILE
3789     version_msg(_("     user vimrc file: \""));
3790     version_msg(USR_VIMRC_FILE);
3791     version_msg("\"\n");
3792 #endif
3793 #ifdef USR_VIMRC_FILE2
3794     version_msg(_(" 2nd user vimrc file: \""));
3795     version_msg(USR_VIMRC_FILE2);
3796     version_msg("\"\n");
3797 #endif
3798 #ifdef USR_VIMRC_FILE3
3799     version_msg(_(" 3rd user vimrc file: \""));
3800     version_msg(USR_VIMRC_FILE3);
3801     version_msg("\"\n");
3802 #endif
3803 #ifdef USR_EXRC_FILE
3804     version_msg(_("      user exrc file: \""));
3805     version_msg(USR_EXRC_FILE);
3806     version_msg("\"\n");
3807 #endif
3808 #ifdef USR_EXRC_FILE2
3809     version_msg(_("  2nd user exrc file: \""));
3810     version_msg(USR_EXRC_FILE2);
3811     version_msg("\"\n");
3812 #endif
3813 #ifdef FEAT_GUI
3814 # ifdef SYS_GVIMRC_FILE
3815     version_msg(_("  system gvimrc file: \""));
3816     version_msg(SYS_GVIMRC_FILE);
3817     version_msg("\"\n");
3818 # endif
3819     version_msg(_("    user gvimrc file: \""));
3820     version_msg(USR_GVIMRC_FILE);
3821     version_msg("\"\n");
3822 # ifdef USR_GVIMRC_FILE2
3823     version_msg(_("2nd user gvimrc file: \""));
3824     version_msg(USR_GVIMRC_FILE2);
3825     version_msg("\"\n");
3826 # endif
3827 # ifdef USR_GVIMRC_FILE3
3828     version_msg(_("3rd user gvimrc file: \""));
3829     version_msg(USR_GVIMRC_FILE3);
3830     version_msg("\"\n");
3831 # endif
3832 #endif
3833     version_msg(_("       defaults file: \""));
3834     version_msg(VIM_DEFAULTS_FILE);
3835     version_msg("\"\n");
3836 #ifdef FEAT_GUI
3837 # ifdef SYS_MENU_FILE
3838     version_msg(_("    system menu file: \""));
3839     version_msg(SYS_MENU_FILE);
3840     version_msg("\"\n");
3841 # endif
3842 #endif
3843 #ifdef HAVE_PATHDEF
3844     if (*default_vim_dir != NUL)
3845     {
3846 	version_msg(_("  fall-back for $VIM: \""));
3847 	version_msg((char *)default_vim_dir);
3848 	version_msg("\"\n");
3849     }
3850     if (*default_vimruntime_dir != NUL)
3851     {
3852 	version_msg(_(" f-b for $VIMRUNTIME: \""));
3853 	version_msg((char *)default_vimruntime_dir);
3854 	version_msg("\"\n");
3855     }
3856     version_msg(_("Compilation: "));
3857     version_msg((char *)all_cflags);
3858     version_msg("\n");
3859 #ifdef VMS
3860     if (*compiler_version != NUL)
3861     {
3862 	version_msg(_("Compiler: "));
3863 	version_msg((char *)compiler_version);
3864 	version_msg("\n");
3865     }
3866 #endif
3867     version_msg(_("Linking: "));
3868     version_msg((char *)all_lflags);
3869 #endif
3870 #ifdef DEBUG
3871     version_msg("\n");
3872     version_msg(_("  DEBUG BUILD"));
3873 #endif
3874 }
3875 
3876 static void do_intro_line(int row, char_u *mesg, int add_version, int attr);
3877 static void intro_message(int colon);
3878 
3879 /*
3880  * Show the intro message when not editing a file.
3881  */
3882     void
3883 maybe_intro_message(void)
3884 {
3885     if (BUFEMPTY()
3886 	    && curbuf->b_fname == NULL
3887 	    && firstwin->w_next == NULL
3888 	    && vim_strchr(p_shm, SHM_INTRO) == NULL)
3889 	intro_message(FALSE);
3890 }
3891 
3892 /*
3893  * Give an introductory message about Vim.
3894  * Only used when starting Vim on an empty file, without a file name.
3895  * Or with the ":intro" command (for Sven :-).
3896  */
3897     static void
3898 intro_message(
3899     int		colon)		// TRUE for ":intro"
3900 {
3901     int		i;
3902     int		row;
3903     int		blanklines;
3904     int		sponsor;
3905     char	*p;
3906     static char	*(lines[]) =
3907     {
3908 	N_("VIM - Vi IMproved"),
3909 	"",
3910 	N_("version "),
3911 	N_("by Bram Moolenaar et al."),
3912 #ifdef MODIFIED_BY
3913 	" ",
3914 #endif
3915 	N_("Vim is open source and freely distributable"),
3916 	"",
3917 	N_("Help poor children in Uganda!"),
3918 	N_("type  :help iccf<Enter>       for information "),
3919 	"",
3920 	N_("type  :q<Enter>               to exit         "),
3921 	N_("type  :help<Enter>  or  <F1>  for on-line help"),
3922 	N_("type  :help version8<Enter>   for version info"),
3923 	NULL,
3924 	"",
3925 	N_("Running in Vi compatible mode"),
3926 	N_("type  :set nocp<Enter>        for Vim defaults"),
3927 	N_("type  :help cp-default<Enter> for info on this"),
3928     };
3929 #ifdef FEAT_GUI
3930     static char	*(gui_lines[]) =
3931     {
3932 	NULL,
3933 	NULL,
3934 	NULL,
3935 	NULL,
3936 #ifdef MODIFIED_BY
3937 	NULL,
3938 #endif
3939 	NULL,
3940 	NULL,
3941 	NULL,
3942 	N_("menu  Help->Orphans           for information    "),
3943 	NULL,
3944 	N_("Running modeless, typed text is inserted"),
3945 	N_("menu  Edit->Global Settings->Toggle Insert Mode  "),
3946 	N_("                              for two modes      "),
3947 	NULL,
3948 	NULL,
3949 	NULL,
3950 	N_("menu  Edit->Global Settings->Toggle Vi Compatible"),
3951 	N_("                              for Vim defaults   "),
3952     };
3953 #endif
3954 
3955     // blanklines = screen height - # message lines
3956     blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1);
3957     if (!p_cp)
3958 	blanklines += 4;  // add 4 for not showing "Vi compatible" message
3959 
3960     // Don't overwrite a statusline.  Depends on 'cmdheight'.
3961     if (p_ls > 1)
3962 	blanklines -= Rows - topframe->fr_height;
3963     if (blanklines < 0)
3964 	blanklines = 0;
3965 
3966     // Show the sponsor and register message one out of four times, the Uganda
3967     // message two out of four times.
3968     sponsor = (int)time(NULL);
3969     sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0);
3970 
3971     // start displaying the message lines after half of the blank lines
3972     row = blanklines / 2;
3973     if ((row >= 2 && Columns >= 50) || colon)
3974     {
3975 	for (i = 0; i < (int)(sizeof(lines) / sizeof(char *)); ++i)
3976 	{
3977 	    p = lines[i];
3978 #ifdef FEAT_GUI
3979 	    if (p_im && gui.in_use && gui_lines[i] != NULL)
3980 		p = gui_lines[i];
3981 #endif
3982 	    if (p == NULL)
3983 	    {
3984 		if (!p_cp)
3985 		    break;
3986 		continue;
3987 	    }
3988 	    if (sponsor != 0)
3989 	    {
3990 		if (strstr(p, "children") != NULL)
3991 		    p = sponsor < 0
3992 			? N_("Sponsor Vim development!")
3993 			: N_("Become a registered Vim user!");
3994 		else if (strstr(p, "iccf") != NULL)
3995 		    p = sponsor < 0
3996 			? N_("type  :help sponsor<Enter>    for information ")
3997 			: N_("type  :help register<Enter>   for information ");
3998 		else if (strstr(p, "Orphans") != NULL)
3999 		    p = N_("menu  Help->Sponsor/Register  for information    ");
4000 	    }
4001 	    if (*p != NUL)
4002 		do_intro_line(row, (char_u *)_(p), i == 2, 0);
4003 	    ++row;
4004 	}
4005     }
4006 
4007     // Make the wait-return message appear just below the text.
4008     if (colon)
4009 	msg_row = row;
4010 }
4011 
4012     static void
4013 do_intro_line(
4014     int		row,
4015     char_u	*mesg,
4016     int		add_version,
4017     int		attr)
4018 {
4019     char_u	vers[20];
4020     int		col;
4021     char_u	*p;
4022     int		l;
4023     int		clen;
4024 #ifdef MODIFIED_BY
4025 # define MODBY_LEN 150
4026     char_u	modby[MODBY_LEN];
4027 
4028     if (*mesg == ' ')
4029     {
4030 	vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1);
4031 	l = (int)STRLEN(modby);
4032 	vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1);
4033 	mesg = modby;
4034     }
4035 #endif
4036 
4037     // Center the message horizontally.
4038     col = vim_strsize(mesg);
4039     if (add_version)
4040     {
4041 	STRCPY(vers, mediumVersion);
4042 	if (highest_patch())
4043 	{
4044 	    // Check for 9.9x or 9.9xx, alpha/beta version
4045 	    if (isalpha((int)vers[3]))
4046 	    {
4047 		int len = (isalpha((int)vers[4])) ? 5 : 4;
4048 		sprintf((char *)vers + len, ".%d%s", highest_patch(),
4049 							 mediumVersion + len);
4050 	    }
4051 	    else
4052 		sprintf((char *)vers + 3, ".%d", highest_patch());
4053 	}
4054 	col += (int)STRLEN(vers);
4055     }
4056     col = (Columns - col) / 2;
4057     if (col < 0)
4058 	col = 0;
4059 
4060     // Split up in parts to highlight <> items differently.
4061     for (p = mesg; *p != NUL; p += l)
4062     {
4063 	clen = 0;
4064 	for (l = 0; p[l] != NUL
4065 			 && (l == 0 || (p[l] != '<' && p[l - 1] != '>')); ++l)
4066 	{
4067 	    if (has_mbyte)
4068 	    {
4069 		clen += ptr2cells(p + l);
4070 		l += (*mb_ptr2len)(p + l) - 1;
4071 	    }
4072 	    else
4073 		clen += byte2cells(p[l]);
4074 	}
4075 	screen_puts_len(p, l, row, col, *p == '<' ? HL_ATTR(HLF_8) : attr);
4076 	col += clen;
4077     }
4078 
4079     // Add the version number to the version line.
4080     if (add_version)
4081 	screen_puts(vers, row, col, 0);
4082 }
4083 
4084 /*
4085  * ":intro": clear screen, display intro screen and wait for return.
4086  */
4087     void
4088 ex_intro(exarg_T *eap UNUSED)
4089 {
4090     screenclear();
4091     intro_message(TRUE);
4092     wait_return(TRUE);
4093 }
4094