Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated for version 7.0001

  • Loading branch information...
commit e5c6ef7d760fb2ee75a9fed3e971a2c1d46c5eb8 1 parent 67c7bc9
vimboss authored
Showing with 33,011 additions and 0 deletions.
  1. +23 −0 Contents
  2. BIN  Contents.info
  3. +657 −0 Filelist
  4. +629 −0 Makefile
  5. BIN  README.txt.info
  6. +32 −0 README_ami.txt
  7. BIN  README_ami.txt.info
  8. +12 −0 README_amibin.txt
  9. BIN  README_amibin.txt.info
  10. +11 −0 README_amisrc.txt
  11. BIN  README_amisrc.txt.info
  12. +19 −0 README_bindos.txt
  13. +154 −0 README_dos.txt
  14. +61 −0 README_extra.txt
  15. +5 −0 README_lang.txt
  16. +8 −0 README_mac.txt
  17. +20 −0 README_ole.txt
  18. +58 −0 README_os2.txt
  19. +130 −0 README_os390.txt
  20. +10 −0 README_src.txt
  21. +12 −0 README_srcdos.txt
  22. +10 −0 README_unix.txt
  23. +41 −0 README_vms.txt
  24. +15 −0 README_w32s.txt
  25. BIN  Vim.info
  26. BIN  Xxd.info
  27. +6 −0 configure
  28. BIN  csdpmi4b.zip
  29. BIN  emx.dll
  30. BIN  emxlibcs.dll
  31. BIN  libs/arp.library
  32. +42 −0 nsis/README.txt
  33. +442 −0 nsis/gvim.nsi
  34. +44 −0 pixmaps/alert.xpm
  35. +44 −0 pixmaps/error.xpm
  36. +13 −0 pixmaps/gen-inline-pixbufs.sh
  37. +44 −0 pixmaps/generic.xpm
  38. +44 −0 pixmaps/info.xpm
  39. +44 −0 pixmaps/quest.xpm
  40. +1,700 −0 pixmaps/stock_icons.h
  41. +28 −0 pixmaps/tb_blank.xpm
  42. +31 −0 pixmaps/tb_close.xpm
  43. +28 −0 pixmaps/tb_copy.xpm
  44. +31 −0 pixmaps/tb_ctags.xpm
  45. +27 −0 pixmaps/tb_cut.xpm
  46. +33 −0 pixmaps/tb_exit.xpm
  47. +29 −0 pixmaps/tb_find.xpm
  48. +29 −0 pixmaps/tb_find_help.xpm
  49. +31 −0 pixmaps/tb_find_next.xpm
  50. +31 −0 pixmaps/tb_find_prev.xpm
  51. +27 −0 pixmaps/tb_help.xpm
  52. +30 −0 pixmaps/tb_jump.xpm
  53. +33 −0 pixmaps/tb_load_session.xpm
  54. +28 −0 pixmaps/tb_macro.xpm
  55. +28 −0 pixmaps/tb_make.xpm
  56. +29 −0 pixmaps/tb_maximize.xpm
  57. +29 −0 pixmaps/tb_maxwidth.xpm
  58. +29 −0 pixmaps/tb_minimize.xpm
  59. +29 −0 pixmaps/tb_minwidth.xpm
  60. +29 −0 pixmaps/tb_new.xpm
  61. +32 −0 pixmaps/tb_new_session.xpm
  62. +31 −0 pixmaps/tb_open.xpm
  63. +31 −0 pixmaps/tb_paste.xpm
  64. +31 −0 pixmaps/tb_print.xpm
  65. +28 −0 pixmaps/tb_redo.xpm
  66. +33 −0 pixmaps/tb_replace.xpm
  67. +29 −0 pixmaps/tb_save.xpm
  68. +29 −0 pixmaps/tb_save_all.xpm
  69. +33 −0 pixmaps/tb_save_session.xpm
  70. +30 −0 pixmaps/tb_shell.xpm
  71. +29 −0 pixmaps/tb_split.xpm
  72. +28 −0 pixmaps/tb_undo.xpm
  73. +29 −0 pixmaps/tb_vsplit.xpm
  74. BIN  runtime.info
  75. +86 −0 runtime/bugreport.vim
  76. +61 −0 runtime/colors/README.txt
  77. +77 −0 runtime/colors/blue.vim
  78. +62 −0 runtime/colors/darkblue.vim
  79. +23 −0 runtime/colors/default.vim
  80. +57 −0 runtime/colors/delek.vim
  81. +108 −0 runtime/colors/desert.vim
  82. +50 −0 runtime/colors/elflord.vim
  83. +54 −0 runtime/colors/evening.vim
  84. +64 −0 runtime/colors/koehler.vim
  85. +54 −0 runtime/colors/morning.vim
  86. +41 −0 runtime/colors/murphy.vim
  87. +26 −0 runtime/colors/pablo.vim
  88. +60 −0 runtime/colors/peachpuff.vim
  89. +43 −0 runtime/colors/ron.vim
  90. +60 −0 runtime/colors/shine.vim
  91. +50 −0 runtime/colors/torte.vim
  92. +54 −0 runtime/colors/zellner.vim
  93. +11 −0 runtime/compiler/README.txt
  94. +38 −0 runtime/compiler/ant.vim
  95. +19 −0 runtime/compiler/bcc.vim
  96. +30 −0 runtime/compiler/bdf.vim
  97. +20 −0 runtime/compiler/checkstyle.vim
  98. +19 −0 runtime/compiler/cs.vim
  99. +15 −0 runtime/compiler/dot.vim
  100. +27 −0 runtime/compiler/fortran_F.vim
  101. +30 −0 runtime/compiler/fortran_cv.vim
  102. +33 −0 runtime/compiler/fortran_elf90.vim
  103. +48 −0 runtime/compiler/fortran_g77.vim
  104. +27 −0 runtime/compiler/fortran_lf95.vim
  105. +28 −0 runtime/compiler/hp_acc.vim
  106. +18 −0 runtime/compiler/icc.vim
  107. +21 −0 runtime/compiler/intel.vim
  108. +21 −0 runtime/compiler/irix5_c.vim
  109. +21 −0 runtime/compiler/irix5_cpp.vim
  110. +18 −0 runtime/compiler/javac.vim
  111. +18 −0 runtime/compiler/jikes.vim
  112. +21 −0 runtime/compiler/mips_c.vim
  113. +22 −0 runtime/compiler/mipspro_c89.vim
  114. +21 −0 runtime/compiler/mipspro_cpp.vim
  115. +20 −0 runtime/compiler/modelsim_vcom.vim
  116. +17 −0 runtime/compiler/msvc.vim
  117. +15 −0 runtime/compiler/neato.vim
  118. +24 −0 runtime/compiler/onsgmls.vim
  119. +20 −0 runtime/compiler/pbx.vim
  120. +39 −0 runtime/compiler/perl.vim
  121. +16 −0 runtime/compiler/pyunit.vim
  122. +33 −0 runtime/compiler/rst.vim
  123. +62 −0 runtime/compiler/ruby.vim
  124. +28 −0 runtime/compiler/se.vim
  125. +70 −0 runtime/compiler/splint.vim
  126. +18 −0 runtime/compiler/tcl.vim
  127. +68 −0 runtime/compiler/tex.vim
  128. +29 −0 runtime/compiler/tidy.vim
  129. +29 −0 runtime/compiler/xmllint.vim
  130. +23 −0 runtime/compiler/xmlwf.vim
  131. +25 −0 runtime/delmenu.vim
  132. BIN  runtime/doc.info
  133. +363 −0 runtime/doc/Makefile
  134. +323 −0 runtime/doc/arabic.txt
  135. +904 −0 runtime/doc/autocmd.txt
  136. +1,425 −0 runtime/doc/change.txt
  137. +992 −0 runtime/doc/cmdline.txt
  138. +135 −0 runtime/doc/debugger.txt
  139. +384 −0 runtime/doc/develop.txt
  140. +371 −0 runtime/doc/diff.txt
  141. +322 −0 runtime/doc/digraph.txt
  142. +83 −0 runtime/doc/doctags.c
  143. +1,432 −0 runtime/doc/editing.txt
  144. +4,583 −0 runtime/doc/eval.txt
  145. +49 −0 runtime/doc/evim.1
  146. +269 −0 runtime/doc/farsi.txt
  147. +529 −0 runtime/doc/filetype.txt
  148. +581 −0 runtime/doc/fold.txt
  149. +951 −0 runtime/doc/gui.txt
  150. +186 −0 runtime/doc/gui_w16.txt
  151. +472 −0 runtime/doc/gui_w32.txt
  152. +576 −0 runtime/doc/gui_x11.txt
  153. +101 −0 runtime/doc/hangulin.txt
  154. +145 −0 runtime/doc/hebrew.txt
  155. +197 −0 runtime/doc/help.txt
  156. BIN  runtime/doc/help.txt.info
  157. +96 −0 runtime/doc/howto.txt
  158. +474 −0 runtime/doc/if_cscop.txt
  159. +162 −0 runtime/doc/if_ole.txt
  160. +258 −0 runtime/doc/if_perl.txt
  161. +299 −0 runtime/doc/if_pyth.txt
  162. +175 −0 runtime/doc/if_ruby.txt
  163. +95 −0 runtime/doc/if_sniff.txt
  164. +512 −0 runtime/doc/if_tcl.txt
  165. +522 −0 runtime/doc/indent.txt
  166. +1,423 −0 runtime/doc/index.txt
  167. +1,064 −0 runtime/doc/insert.txt
  168. +890 −0 runtime/doc/intro.txt
  169. +780 −0 runtime/doc/makehtml.awk
  170. +42 −0 runtime/doc/maketags.awk
  171. +1,094 −0 runtime/doc/map.txt
  172. +1,368 −0 runtime/doc/mbyte.txt
  173. +775 −0 runtime/doc/message.txt
  174. +205 −0 runtime/doc/mlang.txt
Sorry, we could not display the entire diff because too many files (1,587) changed.
View
23 Contents
@@ -0,0 +1,23 @@
+Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
+ for editing programs and other plain ASCII text. Full Vi
+ compatibility and includes all Ex commands. Extra features
+ above Vi: Multilevel undo, multiple windows, syntax
+ highlighting, command line history, folding, improved command
+ line editing, command typeahead display, command to display
+ yank buffers, possibility to edit binary files, file name
+ stack, support for Manx QuickFix and other compiler's error
+ messages, shows current file name in window title, on-line
+ help, rectangular cut/paste, etc., etc., etc...
+
+ Version 7.0aa. Also runs under UNIX, MSDOS and other systems.
+ vim70aart.tgz contains the documentation and syntax files.
+ vim70aabin.tgz contains the binaries.
+ vim70aasrc.tgz contains the sources.
+ Author: Bram Moolenaar et al.
+
+
+Xxd Hex dumper and reader. Can be used to view files as hex, edit
+ them and write them back. Can also be used to patch files.
+
+ Version 1.8 (1997 May 22)
+ Author: Juergen Weigert
View
BIN  Contents.info
Binary file not shown
View
657 Filelist
@@ -0,0 +1,657 @@
+# List of distributed Vim files.
+# Used by Makefile and upload.aap.
+
+# source files for all source archives
+SRC_ALL1 = \
+ src/README.txt \
+ src/arabic.c \
+ src/arabic.h \
+ src/ascii.h \
+ src/buffer.c \
+ src/charset.c \
+ src/diff.c \
+ src/digraph.c \
+ src/edit.c \
+ src/eval.c \
+ src/ex_cmds.c \
+ src/ex_cmds.h \
+ src/ex_cmds2.c \
+ src/ex_docmd.c \
+ src/ex_eval.c \
+ src/ex_getln.c \
+ src/farsi.c \
+ src/farsi.h \
+ src/feature.h \
+ src/fileio.c \
+ src/fold.c \
+ src/getchar.c \
+ src/globals.h \
+ src/gui.c \
+ src/gui.h \
+ src/gui_beval.c \
+ src/gui_beval.h \
+ src/keymap.h \
+ src/macros.h \
+ src/main.c \
+ src/mark.c \
+ src/mbyte.c \
+ src/memfile.c \
+ src/memline.c \
+ src/menu.c \
+ src/message.c \
+ src/misc1.c \
+ src/misc2.c \
+ src/move.c \
+ src/mysign \
+ src/nbdebug.c \
+ src/nbdebug.h \
+ src/netbeans.c \
+ src/normal.c \
+ src/ops.c \
+ src/option.c \
+ src/option.h \
+ src/quickfix.c \
+ src/regexp.c \
+ src/regexp.h \
+ src/screen.c \
+ src/search.c \
+ src/structs.h \
+ src/syntax.c \
+ src/tag.c \
+ src/term.c \
+ src/term.h \
+ src/termlib.c \
+ src/ui.c \
+ src/undo.c \
+ src/version.c \
+ src/version.h \
+ src/vim.h \
+ src/window.c \
+ src/xxd/xxd.c \
+
+SRC_ALL2 = \
+ src/main.aap \
+ src/testdir/main.aap \
+ src/testdir/*.in \
+ src/testdir/*.ok \
+ src/testdir/test49.vim \
+ src/proto.h \
+ src/proto/buffer.pro \
+ src/proto/charset.pro \
+ src/proto/diff.pro \
+ src/proto/digraph.pro \
+ src/proto/edit.pro \
+ src/proto/eval.pro \
+ src/proto/ex_cmds.pro \
+ src/proto/ex_cmds2.pro \
+ src/proto/ex_docmd.pro \
+ src/proto/ex_eval.pro \
+ src/proto/ex_getln.pro \
+ src/proto/fileio.pro \
+ src/proto/fold.pro \
+ src/proto/getchar.pro \
+ src/proto/gui.pro \
+ src/proto/gui_beval.pro \
+ src/proto/main.pro \
+ src/proto/mark.pro \
+ src/proto/mbyte.pro \
+ src/proto/memfile.pro \
+ src/proto/memline.pro \
+ src/proto/menu.pro \
+ src/proto/message.pro \
+ src/proto/misc1.pro \
+ src/proto/misc2.pro \
+ src/proto/move.pro \
+ src/proto/netbeans.pro \
+ src/proto/normal.pro \
+ src/proto/ops.pro \
+ src/proto/option.pro \
+ src/proto/quickfix.pro \
+ src/proto/regexp.pro \
+ src/proto/screen.pro \
+ src/proto/search.pro \
+ src/proto/syntax.pro \
+ src/proto/tag.pro \
+ src/proto/term.pro \
+ src/proto/termlib.pro \
+ src/proto/ui.pro \
+ src/proto/undo.pro \
+ src/proto/version.pro \
+ src/proto/window.pro \
+
+
+# source files for Unix only
+SRC_UNIX = \
+ Makefile \
+ Filelist \
+ README_src.txt \
+ configure \
+ pixmaps/*.xpm \
+ pixmaps/gen-inline-pixbufs.sh \
+ pixmaps/stock_icons.h \
+ src/INSTALL \
+ src/Makefile \
+ src/auto/configure \
+ src/config.aap.in \
+ src/config.h.in \
+ src/config.mk.dist \
+ src/config.mk.in \
+ src/configure \
+ src/configure.in \
+ src/gui_at_fs.c \
+ src/gui_at_sb.c \
+ src/gui_at_sb.h \
+ src/gui_athena.c \
+ src/gui_gtk.c \
+ src/gui_gtk_f.c \
+ src/gui_gtk_f.h \
+ src/gui_gtk_x11.c \
+ src/gui_motif.c \
+ src/gui_x11.c \
+ src/hangulin.c \
+ src/if_xcmdsrv.c \
+ src/integration.c \
+ src/integration.h \
+ src/link.sh \
+ src/mkinstalldirs \
+ src/os_unix.c \
+ src/os_unix.h \
+ src/os_unixx.h \
+ src/osdef.sh \
+ src/osdef1.h.in \
+ src/osdef2.h.in \
+ src/pathdef.sh \
+ src/proto/gui_athena.pro \
+ src/proto/gui_gtk.pro \
+ src/proto/gui_gtk_x11.pro \
+ src/proto/gui_motif.pro \
+ src/proto/gui_x11.pro \
+ src/proto/hangulin.pro \
+ src/proto/if_xcmdsrv.pro \
+ src/proto/os_unix.pro \
+ src/proto/pty.pro \
+ src/proto/workshop.pro \
+ src/pty.c \
+ src/testdir/Makefile \
+ src/testdir/unix.vim \
+ src/toolcheck \
+ src/vim_icon.xbm \
+ src/vim_mask.xbm \
+ src/vimtutor \
+ src/which.sh \
+ src/workshop.c \
+ src/workshop.h \
+ src/wsdebug.c \
+ src/wsdebug.h \
+ src/xxd/Makefile \
+
+# source files for both DOS and Unix
+SRC_DOS_UNIX = \
+ src/if_cscope.c \
+ src/if_cscope.h \
+ src/if_perl.xs \
+ src/if_perlsfio.c \
+ src/if_python.c \
+ src/if_ruby.c \
+ src/if_tcl.c \
+ src/proto/if_cscope.pro \
+ src/proto/if_perl.pro \
+ src/proto/if_perlsfio.pro \
+ src/proto/if_python.pro \
+ src/proto/if_ruby.pro \
+ src/proto/if_tcl.pro \
+ src/typemap \
+
+# source files for DOS (also in the extra archive)
+SRC_DOS = \
+ src/GvimExt \
+ README_srcdos.txt \
+ src/INSTALLpc.txt \
+ src/Make_bc3.mak \
+ src/Make_bc5.mak \
+ src/Make_cyg.mak \
+ src/Make_djg.mak \
+ src/Make_ivc.mak \
+ src/Make_dvc.mak \
+ src/Make_ming.mak \
+ src/Make_mvc.mak \
+ src/Make_w16.mak \
+ src/bigvim.bat \
+ src/dimm.idl \
+ src/dlldata.c \
+ src/dosinst.c \
+ src/dosinst.h \
+ src/glbl_ime.cpp \
+ src/glbl_ime.h \
+ src/gui_w16.c \
+ src/gui_w32.c \
+ src/gui_w48.c \
+ src/guiw16rc.h \
+ src/gui_w32_rc.h \
+ src/if_ole.cpp \
+ src/if_ole.h \
+ src/if_ole.idl \
+ src/iid_ole.c \
+ src/os_dos.h \
+ src/os_msdos.c \
+ src/os_msdos.h \
+ src/os_w32dll.c \
+ src/os_w32exe.c \
+ src/os_win16.c \
+ src/os_win32.c \
+ src/os_mswin.c \
+ src/os_win16.h \
+ src/os_win32.h \
+ src/proto/gui_w16.pro \
+ src/proto/gui_w32.pro \
+ src/proto/if_ole.pro \
+ src/proto/os_msdos.pro \
+ src/proto/os_win16.pro \
+ src/proto/os_win32.pro \
+ src/proto/os_mswin.pro \
+ src/testdir/Make_dos.mak \
+ src/testdir/dos.vim \
+ src/uninstal.c \
+ src/vim.def \
+ src/vim.rc \
+ src/gvim.exe.mnf \
+ src/vim16.def \
+ src/vim16.rc \
+ src/vimrun.c \
+ src/vimtbar.h \
+ src/xpm_w32.c \
+ src/xpm_w32.h \
+ src/xxd/Make_bc3.mak \
+ src/xxd/Make_bc5.mak \
+ src/xxd/Make_cyg.mak \
+ src/xxd/Make_djg.mak \
+ src/xxd/Make_mvc.mak \
+ nsis/gvim.nsi \
+ nsis/README.txt \
+ uninstal.txt \
+ src/VisVim/Commands.cpp \
+ src/VisVim/Commands.h \
+ src/VisVim/DSAddIn.cpp \
+ src/VisVim/DSAddIn.h \
+ src/VisVim/OleAut.cpp \
+ src/VisVim/OleAut.h \
+ src/VisVim/README_VisVim.txt \
+ src/VisVim/Reg.cpp \
+ src/VisVim/Register.bat \
+ src/VisVim/Resource.h \
+ src/VisVim/StdAfx.cpp \
+ src/VisVim/StdAfx.h \
+ src/VisVim/UnRegist.bat \
+ src/VisVim/VisVim.cpp \
+ src/VisVim/VisVim.def \
+ src/VisVim/VisVim.mak \
+ src/VisVim/VisVim.h \
+ src/VisVim/VisVim.odl \
+ src/VisVim/VisVim.rc \
+ src/VisVim/VsReadMe.txt \
+
+# source files for DOS without CR/LF translation (also in the extra archive)
+SRC_DOS_BIN = \
+ src/VisVim/Res \
+ src/tearoff.bmp \
+ src/tools.bmp \
+ src/tools16.bmp \
+ src/vim*.ico \
+ src/vim.tlb \
+ src/vimtbar.lib \
+ src/vimtbar.dll \
+ nsis/icons \
+
+# source files for Amiga, DOS, etc. (also in the extra archive)
+SRC_AMI_DOS = \
+
+# source files for Amiga (also in the extra archive)
+SRC_AMI = \
+ README_amisrc.txt \
+ README_amisrc.txt.info \
+ src.info \
+ src/INSTALLami.txt \
+ src/Make_agui.mak \
+ src/Make_aros.mak \
+ src/Make_dice.mak \
+ src/Make_manx.mak \
+ src/Make_morph.mak \
+ src/Make_sas.mak \
+ src/gui_amiga.c \
+ src/gui_amiga.h \
+ src/os_amiga.c \
+ src/os_amiga.h \
+ src/proto/gui_amiga.pro \
+ src/proto/os_amiga.pro \
+ src/testdir/Make_amiga.mak \
+ src/testdir/amiga.vim \
+ src/xxd/Make_amiga.mak \
+
+# source files for the Mac (also in the extra archive)
+SRC_MAC = \
+ src/INSTALLmac.txt \
+ src/Make_mpw.mak \
+ src/dehqx.py \
+ src/gui_mac.c \
+ src/gui_mac.icns \
+ src/gui_mac.r \
+ src/os_mac* \
+ src/proto/gui_mac.pro \
+ src/proto/os_mac.pro \
+
+# source files for VMS (in the extra archive)
+SRC_VMS = \
+ src/INSTALLvms.txt \
+ src/Make_vms.mms \
+ src/gui_gtk_vms.h \
+ src/os_vms.c \
+ src/os_vms_conf.h \
+ src/os_vms_mms.c \
+ src/proto/os_vms.pro \
+ src/testdir/Make_vms.mms \
+ src/testdir/vms.vim \
+ src/xxd/Make_vms.mms \
+ vimtutor.com \
+
+# source files for OS/2 (in the extra archive)
+SRC_OS2 = \
+ src/Make_os2.mak \
+ src/os_os2_cfg.h \
+ src/testdir/Make_os2.mak \
+ src/testdir/todos.vim \
+ src/testdir/os2.vim \
+ src/xxd/Make_os2.mak \
+
+# source files for QNX (in the extra archive)
+SRC_QNX = \
+ src/os_qnx.c \
+ src/os_qnx.h \
+ src/gui_photon.c \
+ src/proto/gui_photon.pro \
+ src/proto/os_qnx.pro \
+
+
+# source files for the extra archive (all sources that are not for Unix)
+SRC_EXTRA = \
+ $(SRC_AMI) \
+ $(SRC_AMI_DOS) \
+ $(SRC_DOS) \
+ $(SRC_DOS_BIN) \
+ $(SRC_MAC) \
+ $(SRC_OS2) \
+ $(SRC_QNX) \
+ $(SRC_VMS) \
+ README_os390.txt \
+ src/Make_mint.mak \
+ src/Make_ro.mak \
+ src/gui_beos.cc \
+ src/gui_beos.h \
+ src/gui_riscos.c \
+ src/gui_riscos.h \
+ src/if_sniff.c \
+ src/if_sniff.h \
+ src/infplist.xml \
+ src/link.390 \
+ src/os_beos.c \
+ src/os_beos.h \
+ src/os_beos.rsrc \
+ src/os_mint.h \
+ src/os_riscos.c \
+ src/os_riscos.h \
+ src/proto/gui_beos.pro \
+ src/proto/gui_riscos.pro \
+ src/proto/os_beos.pro \
+ src/proto/os_riscos.pro \
+ src/os_vms_fix.com \
+ src/toolbar.phi \
+
+# runtime files for all distributions
+RT_ALL = \
+ README.txt \
+ runtime/bugreport.vim \
+ runtime/doc/*.awk \
+ runtime/doc/*.pl \
+ runtime/doc/*.txt \
+ runtime/doc/Makefile \
+ runtime/doc/doctags.c \
+ runtime/doc/vim.1 \
+ runtime/doc/evim.1 \
+ runtime/doc/vimdiff.1 \
+ runtime/doc/vimtutor.1 \
+ runtime/doc/xxd.1 \
+ runtime/ftoff.vim \
+ runtime/gvimrc_example.vim \
+ runtime/macros/README.txt \
+ runtime/macros/dvorak \
+ runtime/macros/hanoi/click.me \
+ runtime/macros/hanoi/hanoi.vim \
+ runtime/macros/hanoi/poster \
+ runtime/macros/justify.vim \
+ runtime/macros/less.sh \
+ runtime/macros/less.vim \
+ runtime/macros/life/click.me \
+ runtime/macros/life/life.vim \
+ runtime/macros/matchit.vim \
+ runtime/macros/matchit.txt \
+ runtime/macros/maze/README.txt \
+ runtime/macros/maze/[mM]akefile \
+ runtime/macros/maze/main.aap \
+ runtime/macros/maze/maze.c \
+ runtime/macros/maze/maze_5.78 \
+ runtime/macros/maze/maze_mac \
+ runtime/macros/maze/mazeansi.c \
+ runtime/macros/maze/mazeclean.c \
+ runtime/macros/maze/poster \
+ runtime/macros/shellmenu.vim \
+ runtime/macros/swapmous.vim \
+ runtime/macros/urm/README.txt \
+ runtime/macros/urm/examples \
+ runtime/macros/urm/urm \
+ runtime/macros/urm/urm.vim \
+ runtime/mswin.vim \
+ runtime/evim.vim \
+ runtime/optwin.vim \
+ runtime/ftplugin.vim \
+ runtime/ftplugof.vim \
+ runtime/indent.vim \
+ runtime/indoff.vim \
+ runtime/termcap \
+ runtime/tools/README.txt \
+ runtime/tools/[a-z]*[a-z0-9] \
+ runtime/tutor/README.txt \
+ runtime/tutor/tutor \
+ runtime/tutor/tutor.vim \
+ runtime/vimrc_example.vim \
+
+# runtime files for all distributions without CR-NL translation
+RT_ALL_BIN = \
+ runtime/doc/tags \
+ runtime/print/*.ps \
+
+# runtime script files
+RT_SCRIPTS = \
+ runtime/filetype.vim \
+ runtime/scripts.vim \
+ runtime/menu.vim \
+ runtime/delmenu.vim \
+ runtime/synmenu.vim \
+ runtime/makemenu.vim \
+ runtime/colors/*.vim \
+ runtime/colors/README.txt \
+ runtime/compiler/*.vim \
+ runtime/compiler/README.txt \
+ runtime/indent/*.vim \
+ runtime/indent/README.txt \
+ runtime/ftplugin/*.vim \
+ runtime/ftplugin/README.txt \
+ runtime/plugin/*.vim \
+ runtime/plugin/README.txt \
+ runtime/syntax/*.vim \
+ runtime/syntax/README.txt \
+
+# Unix runtime
+RT_UNIX = \
+ README_unix.txt \
+ runtime/vim16x16.png \
+ runtime/vim16x16.xpm \
+ runtime/vim32x32.png \
+ runtime/vim32x32.xpm \
+ runtime/vim48x48.png \
+ runtime/vim48x48.xpm \
+
+# Unix and DOS runtime without CR-LF translation
+RT_UNIX_DOS_BIN = \
+ runtime/vim16x16.gif \
+ runtime/vim32x32.gif \
+ runtime/vim48x48.gif \
+
+# runtime not for unix or extra
+RT_NO_UNIX = \
+
+# runtime for Amiga (also in the extra archive)
+RT_AMI_DOS = \
+ runtime/doc/vim.man \
+ runtime/doc/vimdiff.man \
+ runtime/doc/vimtutor.man \
+ runtime/doc/xxd.man \
+
+# DOS runtime (also in the extra archive)
+RT_DOS = \
+ README_dos.txt \
+ runtime/rgb.txt \
+ vimtutor.bat \
+
+# DOS runtime without CR-LF translation (also in the extra archive)
+RT_DOS_BIN = \
+ runtime/vimlogo.cdr \
+ runtime/vimlogo.eps \
+ runtime/vimlogo.gif \
+ runtime/vimlogo.pdf \
+
+# Amiga runtime (also in the extra archive)
+RT_AMI = \
+ README.txt.info \
+ README_ami.txt \
+ README_ami.txt.info \
+ libs/arp.library \
+ runtime/doc.info \
+ runtime/doc/*.info \
+ runtime/icons \
+ runtime/icons.info \
+ runtime/macros.info \
+ runtime/macros/*.info \
+ runtime/macros/hanoi/*.info \
+ runtime/macros/life/*.info \
+ runtime/macros/maze/*.info \
+ runtime/macros/urm/*.info \
+ runtime/tools.info \
+ runtime/tutor.info \
+ runtime/tutor/*.info \
+
+# runtime files in extra archive
+RT_EXTRA = \
+ $(RT_AMI) \
+ $(RT_AMI_DOS) \
+ $(RT_DOS) \
+ $(RT_DOS_BIN) \
+ README_mac.txt \
+
+# included in all Amiga archives
+ROOT_AMI = \
+ Contents \
+ Contents.info \
+ runtime.info \
+ vimdir.info \
+
+# root files for the extra archive
+ROOT_EXTRA = \
+ $(ROOT_AMI) \
+
+# files for Amiga small binary (also in extra archive)
+BIN_AMI = \
+ README_amibin.txt \
+ README_amibin.txt.info \
+ Vim.info \
+ Xxd.info \
+
+# files for DOS binary (also in extra archive)
+BIN_DOS = \
+ README_bindos.txt \
+ uninstal.txt \
+
+# files for Win32 OLE binary (also in extra archive)
+BIN_OLE = \
+ README_ole.txt \
+
+# files for Win32s binary (also in extra archive)
+BIN_W32S = \
+ README_w32s.txt \
+
+# files for VMS binary (also in extra archive)
+BIN_VMS = \
+ README_vms.txt \
+
+# files for OS/2 binary (also in extra archive)
+BIN_OS2 = \
+ README_os2.txt \
+
+# binary files for extra archive
+BIN_EXTRA = \
+ $(BIN_AMI) \
+ $(BIN_DOS) \
+ $(BIN_OLE) \
+ $(BIN_W32S) \
+ $(BIN_VMS) \
+ $(BIN_OS2) \
+
+# all files for extra archive
+EXTRA = \
+ $(BIN_EXTRA) \
+ $(ROOT_EXTRA) \
+ $(RT_EXTRA) \
+ $(SRC_EXTRA) \
+ README_extra.txt \
+ src/VisVim/VisVim.dll \
+ farsi \
+ runtime/vimlogo.xpm \
+ src/swis.s \
+ src/tee/Makefile* \
+ src/tee/tee.c \
+ csdpmi4b.zip \
+ emx.dll \
+ emxlibcs.dll \
+
+# generic language files
+LANG_GEN = \
+ README_lang.txt \
+ runtime/lang/README.txt \
+ runtime/lang/menu_*.vim \
+ runtime/keymap/README.txt \
+ runtime/keymap/*.vim \
+ runtime/tutor/README.*.txt \
+ runtime/tutor/Makefile \
+ runtime/tutor/tutor.?? \
+ runtime/tutor/tutor.gr.* \
+ runtime/tutor/tutor.ja.* \
+ runtime/tutor/tutor.ko.* \
+ runtime/tutor/tutor.pl.* \
+ runtime/tutor/tutor.ru.* \
+ runtime/tutor/tutor.zh.* \
+
+# all files for lang archive
+LANG_SRC = \
+ src/po/README.txt \
+ src/po/README_mingw.txt \
+ src/po/README_mvc.txt \
+ src/po/cleanup.vim \
+ src/po/Makefile \
+ src/po/Make_ming.mak \
+ src/po/Make_mvc.mak \
+ src/po/sjiscorr.c \
+ src/po/*.po \
+
+# the language files for the Win32 lang archive
+LANG_DOS = \
+ src/po/*.mo \
+
+# vim: set ft=make:
View
629 Makefile
@@ -0,0 +1,629 @@
+# This Makefile has two purposes:
+# 1. Starting the compilation of Vim for Unix.
+# 2. Creating the various distribution files.
+
+
+# 1. Using this Makefile without an argument will compile Vim for Unix.
+#
+# "make install" is also possible.
+#
+# NOTE: If this doesn't work properly, first change directory to "src" and use
+# the Makefile there:
+# cd src
+# make [arguments]
+# Noticed on AIX systems when using this Makefile: Trying to run "cproto" or
+# something else after Vim has been compiled. Don't know why...
+# Noticed on OS/390 Unix: Restarts configure.
+#
+# The first (default) target is "first". This will result in running
+# "make first", so that the target from "src/auto/config.mk" is picked
+# up properly when config didn't run yet. Doing "make all" before configure
+# has run can result in compiling with $(CC) empty.
+
+first:
+ @echo "Starting make in the src directory."
+ @echo "If there are problems, cd to the src directory and run make there"
+ cd src && $(MAKE) $@
+
+# Some make programs use the last target for the $@ default; put the other
+# targets separately to always let $@ expand to "first" by default.
+all install uninstall tools config configure proto depend lint tags types test testclean clean distclean:
+ @echo "Starting make in the src directory."
+ @echo "If there are problems, cd to the src directory and run make there"
+ cd src && $(MAKE) $@
+
+
+# 2. Create the various distributions:
+#
+# TARGET PRODUCES CONTAINS
+# unixall vim-#.#.tar.bz2 Runtime files and Sources for Unix
+# unixrt vim-#.#-rt[12].tar.gz Runtime files for Unix
+# unixsrc vim-#.#-src[12].tar.gz Sources for Unix
+#
+# extra vim-#.#-extra.tar.gz Extra source and runtime files
+# lang vim-#.#-lang.tar.gz multi-language files
+#
+# html vim##html.zip HTML docs
+#
+# amisrc vim##src.tgz sources for Amiga
+# amirt vim##rt.tgz runtime for Amiga
+# amibin vim##bin.tgz binary for Amiga
+#
+# dossrc vim##src.zip sources for MS-DOS
+# dosrt vim##rt.zip runtime for MS-DOS
+# dosbin vim##d16.zip binary for MS-DOS 16 bits
+# vim##d32.zip binary for MS-DOS 32 bits
+# vim##w32.zip binary for Win32
+# gvim##.zip binary for GUI Win32
+# gvim##ole.zip OLE exe for Win32 GUI
+# gvim##_s.zip exe for Win32s GUI
+# doslang vim##lang.zip language files for Win32
+#
+# os2bin vim##os2.zip binary for OS/2
+# (use RT from dosrt)
+#
+# farsi farsi##.zip Farsi fonts
+#
+# All output files are created in the "dist" directory. Existing files are
+# overwritten!
+# To do all this you need the unixrt, unixsrc, extra and lang archives, and
+# compiled binaries.
+# Before creating an archive first delete all backup files, *.orig, etc.
+
+MAJOR = 6
+MINOR = 3
+
+# Uncomment this line if the Win32s version is to be included.
+#DOSBIN_S = dosbin_s
+
+# CHECKLIST for creating a new version:
+#
+# - Update Vim version number. For a test version in: src/version.h, Contents,
+# MAJOR/MINOR above, VIMRTDIR and VERSION in src/Makefile, README*.txt,
+# runtime/doc/*.txt and nsis/gvim.nsi. For a minor/major version:
+# src/GvimExt/GvimExt.reg, src/vim16.def.
+# - Correct included_patches[] in src/version.c.
+# - Compile Vim with GTK, Perl, Python, TCL, Ruby, Cscope and "huge" features.
+# - With these features: "make proto" (requires cproto and Motif installed;
+# ignore warnings for missing include files, fix problems for syntax errors).
+# - With these features: "make depend" (works best with gcc).
+# - "make lint" and check the output (ignore GTK warnings).
+# - Enable the efence library in "src/Makefile" and run "make test". May
+# require disabling Python to avoid trouble with threads.
+# - Check for missing entries in runtime/makemenu.vim (with checkmenu script).
+# - Check for missing options in runtime/optwin.vim et al. (with check.vim).
+# - Do "make menu" to update the runtime/synmenu.vim file.
+# - Add remarks for changes to runtime/doc/version6.txt.
+# - In runtime/doc run "make" and "make html" to check for errors.
+# - Check if src/Makefile and src/feature.h don't contain any personal
+# preferences or the GTK, Perl, etc. mentioned above.
+# - Check that runtime/doc/help.txt doesn't contain entries in "LOCAL
+# ADDITIONS".
+# - Check file protections to be "644" for text and "755" for executables (run
+# the "check" script).
+# - Check compiling on Amiga, MS-DOS and MS-Windows.
+# - Delete all *~, *.sw?, *.orig, *.rej files
+# - "make unixall", "make extra", "make lang", "make html"
+#
+# Amiga:
+# - "make amisrc", move the archive to the Amiga and compile:
+# "make -f Make_manx.mak" (will use "big" features by default).
+# - Run the tests: "make -f Make_manx.mak test"
+# - Place the executables Vim and Xxd in this directory (set the executable
+# flag).
+# - "make amirt", "make amibin".
+#
+# PC:
+# - "make dossrc" and "make dosrt". Unpack the archives on a PC.
+# 16 bit DOS version:
+# - Set environment for compiling with Borland C++ 3.1.
+# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that
+# case set environment for compiling with Borland C++ 4.0 and do
+# "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe").
+# - "make test" and check the output.
+# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and
+# "uninstald16.exe".
+# 32 bit DOS version:
+# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak".
+# - "rm testdir/*.out", "make -f Make_djg.mak test" and check the output.
+# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
+# "uninstald32.exe".
+# Win32 console version:
+# - Set environment for Visual C++ 5.0: "vcvars32"
+# - "nmake -f Make_mvc.mak"
+# - "rm testdir/*.out", "nmake -f Make_mvc.mak test" and check the output.
+# - Rename the executables to "vimw32.exe", "xxdw32.exe".
+# - When building the Win32s version later, delete vimrun.exe, install.exe and
+# uninstal.exe. Otherwise rename executables to installw32.exe and
+# uninstalw32.exe.
+# Win32 GUI version:
+# - "nmake -f Make_mvc.mak GUI=yes.
+# - move "gvim.exe" to here (otherwise the OLE version will overwrite it).
+# - Delete vimrun.exe, install.exe and uninstall.exe.
+# - Copy "GvimExt/gvimext.dll" to here.
+# Win32 GUI version with OLE, PERL, TCL, PYTHON and dynamic IME:
+# - Run src/bigvim.bat ("nmake -f Make_mvc.mak GUI=yes OLE=yes IME=yes ...)
+# - Rename "gvim.exe" to "gvim_ole.exe".
+# - Delete install.exe and uninstall.exe.
+# - If building the Win32s version delete vimrun.exe.
+# Win32s GUI version:
+# - Set environment for Visual C++ 4.1 (requires a new console window)
+# - "vcvars32" (use the path for VC 4.1 e:\msdev\bin)
+# - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1)
+# - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1)
+# - Rename "gvim.exe" to "gvim_w32s.exe".
+# - Rename "install.exe" to "installw32.exe"
+# - Rename "uninstal.exe" to "uninstalw32.exe"
+# - The produced uninstalw32.exe and vimrun.exe are used.
+# Create the archives:
+# - Copy all the "*.exe" files to where this Makefile is.
+# - "make dosbin".
+# - Run make on Unix to update the ".mo" files.
+# - "make doslang".
+# NSIS self installing exe:
+# - Unpack the doslang archive on the PC.
+# - Make sure gvim_ole.exe, vimd32.exe, vimw32.exe, installw32.exe,
+# uninstalw32.exe and xxdw32.exe have been build as mentioned above.
+# - put gvimext.dll in src/GvimExt and VisVim.dll in src/VisVim (get them
+# from a binary archive or build them)
+# - make sure there is a diff.exe two levels up
+# - go to ../nsis and do "makensis gvim.nsi".
+# - Copy gvim##.exe to the dist directory.
+#
+# OS/2:
+# - Unpack the Unix "src", "extra" and "rt" archives.
+# - "make -f Make_os2.mak".
+# - Rename the executables to vimos2.exe, xxdos2.exe and teeos2.exe and copy
+# them to here.
+# - "make os2bin".
+
+VIMVER = vim-$(MAJOR).$(MINOR)
+VERSION = $(MAJOR)$(MINOR)
+VDOT = $(MAJOR).$(MINOR)
+VIMRTDIR = vim$(VERSION)
+
+# Vim used for conversion from "unix" to "dos"
+VIM = vim
+
+# How to include Filelist depends on the version of "make" you have.
+# If the current choice doesn't work, try the other one.
+
+include Filelist
+#.include "Filelist"
+
+
+# All output is put in the "dist" directory.
+dist:
+ mkdir dist
+
+# Clean up some files to avoid they are included.
+prepare:
+ if test -f runtime/doc/uganda.nsis.txt; then \
+ rm runtime/doc/uganda.nsis.txt; fi
+
+# For the zip files we need to create a file with the comment line
+dist/comment:
+ mkdir dist/comment
+
+COMMENT_RT = comment/$(VERSION)-rt
+COMMENT_RT1 = comment/$(VERSION)-rt1
+COMMENT_RT2 = comment/$(VERSION)-rt2
+COMMENT_D16 = comment/$(VERSION)-bin-d16
+COMMENT_D32 = comment/$(VERSION)-bin-d32
+COMMENT_W32 = comment/$(VERSION)-bin-w32
+COMMENT_GVIM = comment/$(VERSION)-bin-gvim
+COMMENT_OLE = comment/$(VERSION)-bin-ole
+COMMENT_W32S = comment/$(VERSION)-bin-w32s
+COMMENT_SRC = comment/$(VERSION)-src
+COMMENT_OS2 = comment/$(VERSION)-bin-os2
+COMMENT_HTML = comment/$(VERSION)-html
+COMMENT_FARSI = comment/$(VERSION)-farsi
+COMMENT_LANG = comment/$(VERSION)-lang
+
+dist/$(COMMENT_RT): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) runtime files for MS-DOS and MS-Windows" > dist/$(COMMENT_RT)
+
+dist/$(COMMENT_RT1): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) runtime files (PART 1) for MS-DOS and MS-Windows" > dist/$(COMMENT_RT1)
+
+dist/$(COMMENT_RT2): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) runtime files (PART 2) for MS-DOS and MS-Windows" > dist/$(COMMENT_RT2)
+
+dist/$(COMMENT_D16): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) binaries for MS-DOS 16 bit real mode" > dist/$(COMMENT_D16)
+
+dist/$(COMMENT_D32): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) binaries for MS-DOS 32 bit protected mode" > dist/$(COMMENT_D32)
+
+dist/$(COMMENT_W32): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) binaries for MS-Windows NT/95" > dist/$(COMMENT_W32)
+
+dist/$(COMMENT_GVIM): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) GUI binaries for MS-Windows NT/95" > dist/$(COMMENT_GVIM)
+
+dist/$(COMMENT_OLE): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) MS-Windows GUI binaries with OLE support" > dist/$(COMMENT_OLE)
+
+dist/$(COMMENT_W32S): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) GUI binaries for MS-Windows 3.1/3.11" > dist/$(COMMENT_W32S)
+
+dist/$(COMMENT_SRC): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) sources for MS-DOS and MS-Windows" > dist/$(COMMENT_SRC)
+
+dist/$(COMMENT_OS2): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) binaries + runtime files for OS/2" > dist/$(COMMENT_OS2)
+
+dist/$(COMMENT_HTML): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) documentation in HTML" > dist/$(COMMENT_HTML)
+
+dist/$(COMMENT_FARSI): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) Farsi language files" > dist/$(COMMENT_FARSI)
+
+dist/$(COMMENT_LANG): dist/comment
+ echo "Vim - Vi IMproved - v$(VDOT) MS-Windows language files" > dist/$(COMMENT_LANG)
+
+unixrt: dist prepare
+ -rm -f dist/$(VIMVER)-rt1.tar.gz
+ -rm -f dist/$(VIMVER)-rt2.tar.gz
+# first runtime file
+ -rm -rf dist/$(VIMRTDIR)
+ mkdir dist/$(VIMRTDIR)
+ tar cf - \
+ $(RT_ALL) \
+ $(RT_ALL_BIN) \
+ $(RT_UNIX) \
+ $(RT_UNIX_DOS_BIN) \
+ | (cd dist/$(VIMRTDIR); tar xf -)
+ cd dist && tar cf $(VIMVER)-rt1.tar $(VIMRTDIR)
+ gzip -9 dist/$(VIMVER)-rt1.tar
+# second runtime file (script and language files)
+ -rm -rf dist/$(VIMRTDIR)
+ mkdir dist/$(VIMRTDIR)
+ tar cf - \
+ $(RT_SCRIPTS) \
+ $(LANG_GEN) \
+ | (cd dist/$(VIMRTDIR); tar xf -)
+ cd dist && tar cf $(VIMVER)-rt2.tar $(VIMRTDIR)
+ gzip -9 dist/$(VIMVER)-rt2.tar
+
+unixsrc: dist prepare
+ -rm -f dist/$(VIMVER)-src1.tar.gz
+ -rm -f dist/$(VIMVER)-src2.tar.gz
+# first source file
+ -rm -rf dist/$(VIMRTDIR)
+ mkdir dist/$(VIMRTDIR)
+ tar cf - \
+ $(SRC_ALL1) \
+ | (cd dist/$(VIMRTDIR); tar xf -)
+ cd dist && tar cf $(VIMVER)-src1.tar $(VIMRTDIR)
+ gzip -9 dist/$(VIMVER)-src1.tar
+# second source file
+ -rm -rf dist/$(VIMRTDIR)
+ mkdir dist/$(VIMRTDIR)
+ tar cf - \
+ $(SRC_ALL2) \
+ $(SRC_UNIX) \
+ $(SRC_DOS_UNIX) \
+ | (cd dist/$(VIMRTDIR); tar xf -)
+# Need to use a "distclean" config.mk file
+ cp -f src/config.mk.dist dist/$(VIMRTDIR)/src/auto/config.mk
+# Create an empty config.h file, make dependencies require it
+ touch dist/$(VIMRTDIR)/src/auto/config.h
+# Make sure configure is newer than config.mk to force it to be generated
+ touch dist/$(VIMRTDIR)/src/configure
+ cd dist && tar cf $(VIMVER)-src2.tar $(VIMRTDIR)
+ gzip -9 dist/$(VIMVER)-src2.tar
+
+unixall: dist unixsrc unixrt
+ -rm -f dist/$(VIMVER).tar.bz2
+ -rm -rf dist/$(VIMRTDIR)
+ mkdir dist/$(VIMRTDIR)
+ cd dist && tar xfz $(VIMVER)-src1.tar.gz
+ cd dist && tar xfz $(VIMVER)-src2.tar.gz
+ cd dist && tar xfz $(VIMVER)-rt1.tar.gz
+ cd dist && tar xfz $(VIMVER)-rt2.tar.gz
+# Create an empty config.h file, make dependencies require it
+ touch dist/$(VIMRTDIR)/src/auto/config.h
+# Make sure configure is newer than config.mk to force it to be generated
+ touch dist/$(VIMRTDIR)/src/configure
+ cd dist && tar cf $(VIMVER).tar $(VIMRTDIR)
+ bzip2 dist/$(VIMVER).tar
+
+extra: dist prepare
+ -rm -f dist/$(VIMVER)-extra.tar.gz
+ -rm -rf dist/$(VIMRTDIR)
+ mkdir dist/$(VIMRTDIR)
+ tar cf - \
+ $(EXTRA) \
+ | (cd dist/$(VIMRTDIR); tar xf -)
+ cd dist && tar cf $(VIMVER)-extra.tar $(VIMRTDIR)
+ gzip -9 dist/$(VIMVER)-extra.tar
+
+lang: dist prepare
+ -rm -f dist/$(VIMVER)-lang.tar.gz
+ -rm -rf dist/$(VIMRTDIR)
+ mkdir dist/$(VIMRTDIR)
+ tar cf - \
+ $(LANG_SRC) \
+ | (cd dist/$(VIMRTDIR); tar xf -)
+# Make sure ja.sjis.po is newer than ja.po to avoid it being regenerated.
+# Same for cs.cp1250.po, pl.cp1250.po and sk.cp1250.po.
+ touch dist/$(VIMRTDIR)/src/po/ja.sjis.po
+ touch dist/$(VIMRTDIR)/src/po/cs.cp1250.po
+ touch dist/$(VIMRTDIR)/src/po/pl.cp1250.po
+ touch dist/$(VIMRTDIR)/src/po/sk.cp1250.po
+ touch dist/$(VIMRTDIR)/src/po/zh_CN.cp936.po
+ touch dist/$(VIMRTDIR)/src/po/ru.cp1251.po
+ cd dist && tar cf $(VIMVER)-lang.tar $(VIMRTDIR)
+ gzip -9 dist/$(VIMVER)-lang.tar
+
+amirt: dist prepare
+ -rm -f dist/vim$(VERSION)rt.tar.gz
+ -rm -rf dist/Vim
+ mkdir dist/Vim
+ mkdir dist/Vim/$(VIMRTDIR)
+ tar cf - \
+ $(ROOT_AMI) \
+ $(RT_ALL) \
+ $(RT_ALL_BIN) \
+ $(RT_SCRIPTS) \
+ $(RT_AMI) \
+ $(RT_NO_UNIX) \
+ $(RT_AMI_DOS) \
+ | (cd dist/Vim/$(VIMRTDIR); tar xf -)
+ mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
+ mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
+ mv dist/Vim/$(VIMRTDIR)/runtime/* dist/Vim/$(VIMRTDIR)
+ rmdir dist/Vim/$(VIMRTDIR)/runtime
+ cd dist && tar cf vim$(VERSION)rt.tar Vim Vim.info
+ gzip -9 dist/vim$(VERSION)rt.tar
+ mv dist/vim$(VERSION)rt.tar.gz dist/vim$(VERSION)rt.tgz
+
+amibin: dist prepare
+ -rm -f dist/vim$(VERSION)bin.tar.gz
+ -rm -rf dist/Vim
+ mkdir dist/Vim
+ mkdir dist/Vim/$(VIMRTDIR)
+ tar cf - \
+ $(ROOT_AMI) \
+ $(BIN_AMI) \
+ Vim \
+ Xxd \
+ | (cd dist/Vim/$(VIMRTDIR); tar xf -)
+ mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
+ mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
+ cd dist && tar cf vim$(VERSION)bin.tar Vim Vim.info
+ gzip -9 dist/vim$(VERSION)bin.tar
+ mv dist/vim$(VERSION)bin.tar.gz dist/vim$(VERSION)bin.tgz
+
+amisrc: dist prepare
+ -rm -f dist/vim$(VERSION)src.tar.gz
+ -rm -rf dist/Vim
+ mkdir dist/Vim
+ mkdir dist/Vim/$(VIMRTDIR)
+ tar cf - \
+ $(ROOT_AMI) \
+ $(SRC_ALL1) \
+ $(SRC_ALL2) \
+ $(SRC_AMI) \
+ $(SRC_AMI_DOS) \
+ | (cd dist/Vim/$(VIMRTDIR); tar xf -)
+ mv dist/Vim/$(VIMRTDIR)/vimdir.info dist/Vim.info
+ mv dist/Vim/$(VIMRTDIR)/runtime.info dist/Vim/$(VIMRTDIR).info
+ cd dist && tar cf vim$(VERSION)src.tar Vim Vim.info
+ gzip -9 dist/vim$(VERSION)src.tar
+ mv dist/vim$(VERSION)src.tar.gz dist/vim$(VERSION)src.tgz
+
+no_title.vim: Makefile
+ echo "set notitle noicon nocp nomodeline viminfo=" >no_title.vim
+
+dosrt: dist dist/$(COMMENT_RT) dosrt_unix2dos
+ -rm -rf dist/vim$(VERSION)rt.zip
+ cd dist && zip -9 -rD -z vim$(VERSION)rt.zip vim <$(COMMENT_RT)
+
+dosrt_unix2dos: dist prepare no_title.vim
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ tar cf - \
+ $(RT_ALL) \
+ $(RT_SCRIPTS) \
+ $(RT_DOS) \
+ $(RT_NO_UNIX) \
+ $(RT_AMI_DOS) \
+ $(LANG_GEN) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+ tar cf - \
+ $(RT_UNIX_DOS_BIN) \
+ $(RT_ALL_BIN) \
+ $(RT_DOS_BIN) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
+ rmdir dist/vim/$(VIMRTDIR)/runtime
+
+
+# Convert runtime files from Unix fileformat to dos fileformat.
+# Used before uploading. Don't delete the AAPDIR/sign files!
+runtime_unix2dos: dosrt_unix2dos
+ -rm -rf `find runtime/dos -type f -print | sed -e /AAPDIR/d`
+ cd dist/vim/$(VIMRTDIR); tar cf - * \
+ | (cd ../../../runtime/dos; tar xf -)
+
+dosbin: prepare dosbin_gvim dosbin_w32 dosbin_d32 dosbin_d16 dosbin_ole $(DOSBIN_S)
+
+# make Win32 gvim
+dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)
+ -rm -rf dist/gvim$(VERSION).zip
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ tar cf - \
+ $(BIN_DOS) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+ cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe
+ cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
+ cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
+ cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
+ cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
+ cp gvimext.dll dist/vim/$(VIMRTDIR)/gvimext.dll
+ cd dist && zip -9 -rD -z gvim$(VERSION).zip vim <$(COMMENT_GVIM)
+
+# make Win32 console
+dosbin_w32: dist no_title.vim dist/$(COMMENT_W32)
+ -rm -rf dist/vim$(VERSION)w32.zip
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ tar cf - \
+ $(BIN_DOS) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+ cp vimw32.exe dist/vim/$(VIMRTDIR)/vim.exe
+ cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
+ cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
+ cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
+ cd dist && zip -9 -rD -z vim$(VERSION)w32.zip vim <$(COMMENT_W32)
+
+# make 32bit DOS
+dosbin_d32: dist no_title.vim dist/$(COMMENT_D32)
+ -rm -rf dist/vim$(VERSION)d32.zip
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ tar cf - \
+ $(BIN_DOS) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+ cp vimd32.exe dist/vim/$(VIMRTDIR)/vim.exe
+ cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe
+ cp installd32.exe dist/vim/$(VIMRTDIR)/install.exe
+ cp uninstald32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
+ cp csdpmi4b.zip dist/vim/$(VIMRTDIR)
+ cd dist && zip -9 -rD -z vim$(VERSION)d32.zip vim <$(COMMENT_D32)
+
+# make 16bit DOS
+dosbin_d16: dist no_title.vim dist/$(COMMENT_D16)
+ -rm -rf dist/vim$(VERSION)d16.zip
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ tar cf - \
+ $(BIN_DOS) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+ cp vimd16.exe dist/vim/$(VIMRTDIR)/vim.exe
+ cp xxdd16.exe dist/vim/$(VIMRTDIR)/xxd.exe
+ cp installd16.exe dist/vim/$(VIMRTDIR)/install.exe
+ cp uninstald16.exe dist/vim/$(VIMRTDIR)/uninstal.exe
+ cd dist && zip -9 -rD -z vim$(VERSION)d16.zip vim <$(COMMENT_D16)
+
+# make Win32 gvim with OLE
+dosbin_ole: dist no_title.vim dist/$(COMMENT_OLE)
+ -rm -rf dist/gvim$(VERSION)ole.zip
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ tar cf - \
+ $(BIN_DOS) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+ cp gvim_ole.exe dist/vim/$(VIMRTDIR)/gvim.exe
+ cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
+ cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
+ cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
+ cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
+ cp gvimext.dll dist/vim/$(VIMRTDIR)/gvimext.dll
+ cp README_ole.txt dist/vim/$(VIMRTDIR)
+ cp src/VisVim/VisVim.dll dist/vim/$(VIMRTDIR)/VisVim.dll
+ cp src/VisVim/README_VisVim.txt dist/vim/$(VIMRTDIR)
+ cd dist && zip -9 -rD -z gvim$(VERSION)ole.zip vim <$(COMMENT_OLE)
+
+# make Win32s gvim
+dosbin_s: dist no_title.vim dist/$(COMMENT_W32S)
+ -rm -rf dist/gvim$(VERSION)_s.zip
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ tar cf - \
+ $(BIN_DOS) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+ cp gvim_w32s.exe dist/vim/$(VIMRTDIR)/gvim.exe
+ cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe
+ cp README_w32s.txt dist/vim/$(VIMRTDIR)
+ cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
+ cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
+ cd dist && zip -9 -rD -z gvim$(VERSION)_s.zip vim <$(COMMENT_W32S)
+
+# make Win32 lang archive
+doslang: dist prepare no_title.vim dist/$(COMMENT_LANG)
+ -rm -rf dist/vim$(VERSION)lang.zip
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ mkdir dist/vim/$(VIMRTDIR)/lang
+ cd src && MAKEMO=yes $(MAKE) languages
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+# Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead.
+# Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, sk.mo / sk.cp1250.mo,
+# zh_CN.mo / zh_CN.cp936.mo and ru.mo / ru.cp1251.mo.
+ for i in $(LANG_DOS); do \
+ if test "$$i" != "src/po/ja.mo" -a "$$i" != "src/po/pl.mo" -a "$$i" != "src/po/cs.mo" -a "$$i" != "src/po/sk.mo" -a "$$i" != "src/po/zh_CN.mo" -a "$$i" != "src/po/ru.mo"; then \
+ n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \
+ mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \
+ mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \
+ cp $$i dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES/vim.mo; \
+ fi \
+ done
+ cp libintl.dll dist/vim/$(VIMRTDIR)/
+ cd dist && zip -9 -rD -z vim$(VERSION)lang.zip vim <$(COMMENT_LANG)
+
+# MS-DOS sources
+dossrc: dist no_title.vim dist/$(COMMENT_SRC) runtime/doc/uganda.nsis.txt
+ -rm -rf dist/vim$(VERSION)src.zip
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ tar cf - \
+ $(SRC_ALL1) \
+ $(SRC_ALL2) \
+ $(SRC_DOS) \
+ $(SRC_AMI_DOS) \
+ $(SRC_DOS_UNIX) \
+ runtime/doc/uganda.nsis.txt \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
+ rmdir dist/vim/$(VIMRTDIR)/runtime
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+ tar cf - \
+ $(SRC_DOS_BIN) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ cd dist && zip -9 -rD -z vim$(VERSION)src.zip vim <$(COMMENT_SRC)
+
+runtime/doc/uganda.nsis.txt: runtime/doc/uganda.txt
+ cd runtime/doc && $(MAKE) uganda.nsis.txt
+
+os2bin: dist no_title.vim dist/$(COMMENT_OS2)
+ -rm -rf dist/vim$(VERSION)os2.zip
+ -rm -rf dist/vim
+ mkdir dist/vim
+ mkdir dist/vim/$(VIMRTDIR)
+ tar cf - \
+ $(BIN_OS2) \
+ | (cd dist/vim/$(VIMRTDIR); tar xf -)
+ find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
+ cp vimos2.exe dist/vim/$(VIMRTDIR)/vim.exe
+ cp xxdos2.exe dist/vim/$(VIMRTDIR)/xxd.exe
+ cp teeos2.exe dist/vim/$(VIMRTDIR)/tee.exe
+ cp emx.dll emxlibcs.dll dist/vim/$(VIMRTDIR)
+ cd dist && zip -9 -rD -z vim$(VERSION)os2.zip vim <$(COMMENT_OS2)
+
+html: dist dist/$(COMMENT_HTML)
+ -rm -rf dist/vim$(VERSION)html.zip
+ cd runtime/doc && zip -9 -z ../../dist/vim$(VERSION)html.zip *.html <../../dist/$(COMMENT_HTML)
+
+farsi: dist dist/$(COMMENT_FARSI)
+ -rm -f dist/farsi$(VERSION).zip
+ zip -9 -rD -z dist/farsi$(VERSION).zip farsi < dist/$(COMMENT_FARSI)
View
BIN  README.txt.info
Binary file not shown
View
32 README_ami.txt
@@ -0,0 +1,32 @@
+README_ami.txt for version 7.0aa of Vim: Vi IMproved.
+
+This file explains the installation of Vim on Amiga systems.
+See README.txt for general information about Vim.
+
+
+Unpack the distributed files in the place where you want to keep them. It is
+wise to have a "vim" directory to keep your vimrc file and any other files you
+change. The distributed files go into a subdirectory. This way you can
+easily upgrade to a new version. For example:
+
+ dh0:editors/vim contains your vimrc and modified files
+ dh0:editors/vim/vim54 contains the Vim version 5.4 distributed files
+ dh0:editors/vim/vim55 contains the Vim version 5.5 distributed files
+
+You would then unpack the archives like this:
+
+ cd dh0:editors
+ tar xf t:vim60bin.tar
+ tar xf t:vim60rt.tar
+
+Set the $VIM environment variable to point to the top directory of your Vim
+files. For the above example:
+
+ set VIM=dh0:editors/vim
+
+Vim version 5.4 will look for your vimrc file in $VIM, and for the runtime
+files in $VIM/vim54. See ":help $VIM" for more information.
+
+Make sure the Vim executable is in your search path. Either copy the Vim
+executable to a directory that is in your search path, or (preferred) modify
+the search path to include the directory where the Vim executable is.
View
BIN  README_ami.txt.info
Binary file not shown
View
12 README_amibin.txt
@@ -0,0 +1,12 @@
+README_amibin.txt for version 7.0aa of Vim: Vi IMproved.
+
+See "README.txt" for general information about Vim.
+See "README_ami.txt" for installation instructions for the Amiga.
+These files are in the runtime archive (vim60rt.tgz).
+
+
+The Amiga "bin" archive contains the Vim executable for the Amiga. It was
+compiled with "big" features.
+
+Postscript printing is not included to avoid requiring floating point
+computations.
View
BIN  README_amibin.txt.info
Binary file not shown
View
11 README_amisrc.txt
@@ -0,0 +1,11 @@
+README_amisrc.txt for version 7.0aa of Vim: Vi IMproved.
+
+See "README.txt" for general information about Vim.
+See "README_ami.txt" for installation instructions for the Amiga.
+These files are in the runtime archive (vim60rt.tgz).
+
+
+The Amiga source archive contains the files needed to compile Vim on the
+Amiga.
+
+See "src/INSTALLami.txt" for instructions on how to compile Vim on the Amiga.
View
BIN  README_amisrc.txt.info
Binary file not shown
View
19 README_bindos.txt
@@ -0,0 +1,19 @@
+README_bindos.txt for version 7.0aa of Vim: Vi IMproved.
+
+See "README.txt" for general information about Vim.
+See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
+These files are in the runtime archive (vim60rt.zip).
+
+
+There are several binary distributions of Vim for the PC. You would normally
+pick only one of them, but it's also possible to install several.
+These ones are available (the version number may differ):
+ vim60d16.zip 16 bit DOS version
+ vim60d32.zip 32 bit DOS version
+ vim60w32.zip Windows 95/98/NT/etc. console version
+ gvim60.zip Windows 95/98/NT/etc. GUI version
+ gvim60ole.zip Windows 95/98/NT/etc. GUI version with OLE
+ gvim60_s.zip Windows 3.1 GUI version
+
+You MUST also get the runtime archive (vim60rt.zip).
+The sources are also available (vim60src.zip).
View
154 README_dos.txt
@@ -0,0 +1,154 @@
+README_dos.txt for version 7.0aa of Vim: Vi IMproved.
+
+This file explains the installation of Vim on MS-DOS and MS-Windows systems.
+See "README.txt" for general information about Vim.
+
+There are two ways to install Vim:
+A. Use the self-installing .exe file.
+B. Unpack .zip files and run the install.exe program.
+
+
+A. Using the self-installing .exe
+---------------------------------
+
+This is mostly self-explaining. Just follow the prompts and make the
+selections. A few things to watch out for:
+
+- When an existing installation is detected, you are offered to first remove
+ this. The uninstall program is then started while the install program waits
+ for it to complete. Sometimes the windows overlap each other, which can be
+ confusing. Be sure the complete the uninstalling before continuing the
+ installation. Watch the taskbar for uninstall windows.
+
+- When selecting a directory to install Vim, use the same place where other
+ versions are located. This makes it easier to find your _vimrc file. For
+ example "C:\Program Files\vim" or "D:\vim". A name ending in "vim" is
+ preferred.
+
+- After selecting the directory where to install Vim, clicking on "Next" will
+ start the installation.
+
+
+B. Using .zip files
+-------------------
+
+These are the normal steps to install Vim from the .zip archives:
+
+1. Go to the directory where you want to put the Vim files. Examples:
+ cd C:\
+ cd D:\editors
+ If you already have a "vim" directory, go to the directory in which it is
+ located. Check the $VIM setting to see where it points to:
+ set VIM
+ For example, if you have
+ C:\vim\vim54
+ do
+ cd C:\
+ Binary and runtime Vim archives are normally unpacked in the same location,
+ on top of each other.
+
+2. Unpack the zip archives. This will create a new directory "vim\vim60",
+ in which all the distributed Vim files are placed. Since the directory
+ name includes the version number, it is unlikely that you overwrite
+ existing files.
+ Examples:
+ pkunzip -d gvim60.zip
+ unzip vim60w32.zip
+
+ You need to unpack the runtime archive and at least one of the binary
+ archives. When using more than one binary version, be careful not to
+ overwrite one version with the other, the names of the executables
+ "vim.exe" and "gvim.exe" are the same.
+
+ After you unpacked the files, you can still move the whole directory tree
+ to another location. That is where they will stay, the install program
+ won't move or copy the runtime files.
+
+ Only for the 32 bit DOS version on MS-DOS without DPMI support (trying to
+ run install.exe will produce an error message): Unpack the CSDPMI4B.ZIP
+ archive and follow the instructions in the documentation.
+
+3. Change to the new directory:
+ cd vim\vim60
+ Run the "install.exe" program. It will ask you a number of questions about
+ how you would like to have your Vim setup. Among these are:
+ - You can tell it to write a "_vimrc" file with your preferences in the
+ parent directory.
+ - It can also install an "Edit with Vim" entry in the Windows Explorer
+ popup menu.
+ - You can have it create batch files, so that you can run Vim from the
+ console or in a shell. You can select one of the directories in your
+ $PATH. If you skip this, you can add Vim to the search path manually:
+ The simplest is to add a line to your autoexec.bat. Examples:
+ set path=%path%;C:\vim\vim60
+ set path=%path%;D:\editors\vim\vim60
+ - Create entries for Vim on the desktop and in the Start menu.
+
+That's it!
+
+
+Remarks:
+
+- If Vim can't find the runtime files, ":help" won't work and the GUI version
+ won't show a menubar. Then you need to set the $VIM environment variable to
+ point to the top directory of your Vim files. Example:
+ set VIM=C:\editors\vim
+ Vim version 6.0 will look for your vimrc file in $VIM, and for the runtime
+ files in $VIM/vim60. See ":help $VIM" for more information.
+
+- To avoid confusion between distributed files of different versions and your
+ own modified vim scripts, it is recommended to use this directory layout:
+ ("C:\vim" is used here as the root, replace it with the path you use)
+ Your own files:
+ C:\vim\_vimrc Your personal vimrc.
+ C:\vim\_viminfo Dynamic info for 'viminfo'.
+ C:\vim\vimfiles\ftplugin\*.vim Filetype plugins
+ C:\vim\... Other files you made.
+ Distributed files:
+ C:\vim\vim60\vim.exe The Vim version 6.0 executable.
+ C:\vim\vim60\doc\*.txt The version 6.0 documentation files.
+ C:\vim\vim60\bugreport.vim A Vim version 6.0 script.
+ C:\vim\vim60\... Other version 6.0 distributed files.
+ In this case the $VIM environment variable would be set like this:
+ set VIM=C:\vim
+ Then $VIMRUNTIME will automatically be set to "$VIM\vim60". Don't add
+ "vim60" to $VIM, that won't work.
+
+- You can put your Vim executable anywhere else. If the executable is not
+ with the other Vim files, you should set $VIM. The simplest is to add a line
+ to your autoexec.bat. Examples:
+ set VIM=c:\vim
+ set VIM=d:\editors\vim
+
+- If you have told the "install.exe" program to add the "Edit with Vim" menu
+ entry, you can remove it by running the "uninstal.exe". See
+ ":help win32-popup-menu".
+
+- In Windows 95/98/NT you can create a shortcut to Vim. This works for all
+ DOS and Win32 console versions. For the console version this gives you the
+ opportunity to set defaults for the Console where Vim runs in.
+
+ 1. On the desktop, click right to get a menu. Select New/Shortcut.
+ 2. In the dialog, enter Command line: "C:\command.com". Click "Next".
+ 3. Enter any name. Click "Finish".
+ The new shortcut will appear on the desktop.
+ 4. With the mouse pointer on the new shortcut, click right to get a menu.
+ Select Properties.
+ 5. In the Program tab, change the "Cmdline" to add "/c" and the name of the
+ Vim executable. Examples:
+ C:\command.com /c C:\vim\vim60\vim.exe
+ C:\command.com /c D:\editors\vim\vim60\vim.exe
+ 6. Select the font, window size, etc. that you like. If this isn't
+ possible, select "Advanced" in the Program tab, and deselect "MS-DOS
+ mode".
+ 7. Click OK.
+
+ For gvim, you can use a normal shortcut on the desktop, and set the size of
+ the Window in your $VIM/_gvimrc:
+ set lines=30 columns=90
+
+
+For further information, type one of these inside Vim:
+ :help dos
+ :help msdos
+ :help win32
View
61 README_extra.txt
@@ -0,0 +1,61 @@
+README_extra.txt for version 7.0aa of Vim: Vi IMproved.
+
+The extra archive of Vim is to be used in combination with the source archive
+(vim-6.0-src.tar.gz). The extra archive is useless without it.
+
+For more information, see the "README.txt" file that comes with the runtime
+archive (vim-6.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
+archive too!
+
+The extra archive plus the source and runtime achives make up the complete
+sources of Vim for all systems.
+
+
+The extra archive contains:
+
+Farsi Files for the Farsi (persian) language. If you don't know
+ what Farsi is, this is not for you.
+
+if_sniff Interface to SNiFF. If you don't know what SNiFF is, this is
+ not for you.
+
+gui_amiga
+os_amiga Files for the Amiga port.
+
+gui_riscos
+os_riscos Files for the RISC OS port.
+
+gui_beos
+os_beos Files for the BeOS port.
+
+os_msdos
+os_dos Files for the MS-DOS port.
+
+gui_mac
+os_mac Files for the Mac port.
+
+os_mint Files for the Atari Mint port.
+
+os_os2 Files for the OS/2 port.
+tee Extra program for OS/2.
+
+os_vms Files for the VMS port.
+
+os_w32
+os_win32 Files for the Win32 port.
+
+gui_w32 Files for the Win32 GUI.
+Gvim_vc.mak MS Visual C++ makefile for the Win32 GUI.
+rgb.txt File with color definitions for the Win32 GUI.
+
+if_ole OLE automation interface, for MS Windows 95 and NT.
+
+VisVim Integration of Win32 GUI with MS Visual Developer Studio.
+
+GvimExt DLL for the "Edit with Vim" context menu entry
+
+nsis NSIS script to build the self-installing MS-Windows exe
+
+*.man Preprocessed manual pages.
+
+file_select.vim Vim script to browse directories (Unix only).
View
5 README_lang.txt
@@ -0,0 +1,5 @@
+README_lang.txt for version 7.0aa of Vim: Vi IMproved.
+
+This file contains files for non-English languages:
+- Translated messages.
+- Translated menus.
View
8 README_mac.txt
@@ -0,0 +1,8 @@
+README_mac.txt for version 7.0aa of Vim: Vi IMproved.
+
+This file explains the installation of Vim on Macintosh systems.
+See "README.txt" for general information about Vim.
+
+
+Sorry, this text still needs to be written!
+
View
20 README_ole.txt
@@ -0,0 +1,20 @@
+README_ole.txt for version 7.0aa of Vim: Vi IMproved.
+
+This archive contains gvim.exe with OLE interface and VisVim.
+This version of gvim.exe can also load a number of interface dynamically (you
+can optionally install the .dll files for each interface).
+It is only for MS-Windows 95/98/ME/NT/2000/XP.
+
+Also see the README_bindos.txt, README_dos.txt and README.txt files.
+
+Be careful not to overwrite the OLE gvim.exe with the non-OLE gvim.exe when
+unpacking another binary archive! Check the output of ":version":
+ Win32s - "MS-Windows 16/32 bit GUI version"
+ Win32 - "MS-Windows 32 bit GUI version"
+Win32 with OLE - "MS-Windows 32 bit GUI version with OLE support"
+
+For further information, type this inside Vim:
+ :help if_ole
+
+Futhermore, this archive contains VISVIM.DLL. It can be used to integrate
+the OLE gvim with Microsoft Visual Developer Studio. See VisVim/README.txt.
View
58 README_os2.txt
@@ -0,0 +1,58 @@
+README_os2.txt for version 7.0aa of Vim: Vi IMproved.
+
+This file explains the installation of Vim on OS/2 systems.
+See "README.txt" for general information about Vim.
+
+
+NOTE: You will need two archives:
+ vim62rt.zip contains the runtime files (same as for the PC version)
+ vim62os2.zip contains the OS/2 executables
+
+1. Go to the directory where you want to put the Vim files. Examples:
+ cd C:\
+ cd D:\editors
+
+2. Unpack the zip archives. This will create a new directory "vim/vim62",
+ in which all the distributed Vim files are placed. Since the directory
+ name includes the version number, it is unlikely that you overwrite
+ existing files.
+ Examples:
+ pkunzip -d vim62os2.zip
+ unzip vim62os2.zip
+
+ After you unpacked the files, you can still move the whole directory tree
+ to another location.
+
+3. Add the directory where vim.exe is to your path. The simplest is to add a
+ line to your autoexec.bat. Examples:
+ set path=%path%;C:\vim\vim62
+ set path=%path%;D:\editors\vim\vim62
+
+That's it!
+
+
+Extra remarks:
+
+- To avoid confusion between distributed files of different versions and your
+ own modified vim scripts, it is recommended to use this directory layout:
+ ("C:\vim" is used here as the root, replace with the path you use)
+ Your own files:
+ C:\vim\_vimrc Your personal vimrc.
+ C:\vim\_viminfo Dynamic info for 'viminfo'.
+ C:\vim\... Other files you made.
+ Distributed files:
+ C:\vim\vim62\vim.exe The Vim version 6.2 executable.
+ C:\vim\vim62\doc\*.txt The version 6.2 documentation files.
+ C:\vim\vim62\bugreport.vim A Vim version 6.2 script.
+ C:\vim\vim62\... Other version 6.2 distributed files.
+ In this case the $VIM environment variable would be set like this:
+ set VIM=C:\vim
+
+- You can put your Vim executable anywhere else. If the executable is not
+ with the other distributed Vim files, you should set $VIM. The simplest is
+ to add a line to your autoexec.bat. Examples:
+ set VIM=c:\vim
+ set VIM=d:\editors\vim
+
+For further information, type this inside Vim:
+ :help os2
View
130 README_os390.txt
@@ -0,0 +1,130 @@
+README_os_390.txt for version 7.0aa of Vim: Vi IMproved.
+
+Welcome to the OS/390 Unix port of VIM.
+
+ATTENTION: THIS IS AN _ALPHA_ VERSION!!!
+I expect you to know how to handle alpha software!
+
+This port was done by Ralf Schandl <schandl@de.ibm.com>.
+This port is not maintained or supported by IBM!!
+
+
+For the list of changes see runtime/doc/os_390.txt.
+
+
+Compiling:
+----------
+
+Note: After the file configure was created via autoconf, it had been
+ handedited, to make the test for ICEConnectionNumber work.
+ DO NOT run autoconf again!
+
+Without X11:
+
+If you build VIM without X11 support, compiling and building is nearly
+straightforward. The only restriction is, that you can't call make from the
+VIM toplevel directory. Change to the src directory first and call make from
+there. Here is a what to do:
+
+ # Don't use c89!
+ # Make additional symbols visible.
+ # Allow intermixing of compiler options and files.
+
+ $ export CC=cc
+ $ export CFLAGS=-D_ALL_SOURCE
+ $ export _CC_CCMODE=1
+ $./configure --enable-max-features --without-x --enable-gui=no
+ $ cd src
+ $ make
+ $ make test
+
+ Note: Test 28 will be reported as failed. This is because diff can't
+ compare files containing '\0' characters. Test 11 will fail if you
+ don't have gzip.
+
+ $ make install
+
+
+With X11:
+
+There are two ways for building VIM with X11 support. The first way is simple
+and results in a big executable (~13 Mb), the second needs a few additional
+steps and results in a much smaller executable (~4.5 Mb). This examples assume
+you want Motif.
+
+ The easy way:
+ $ export CC=cc
+ $ export CFLAGS="-D_ALL_SOURCE -W c,dll"
+ $ export LDFLAGS="-W l,dll"
+ $ export _CC_CCMODE=1
+ $ ./configure --enable-max-features --enable-gui=motif
+ $ cd src
+ $ make
+
+ With this VIM is linked statically with the X11 libraries.
+
+ The smarter way:
+ Make VIM as described above. Then create a file named 'link.sed' with the
+ following contense:
+
+ s/-lXext *//g
+ s/-lXmu *//g
+ s/-lXm */\/usr\/lib\/Xm.x /g
+ s/-lX11 */\/usr\/lib\/X11.x /g
+ s/-lXt *//g
+ s/-lSM */\/usr\/lib\/SM.x /g
+ s/-lICE */\/usr\/lib\/ICE.x /g
+
+ Then do:
+ $ rm vim
+ $ make
+
+ Now Vim is linked with the X11-DLLs.
+
+ See the Makefile and the file link.sh on how link.sed is used.
+
+
+Hint:
+-----
+Use the online help! (See weaknesses below.)
+
+Example:
+Enter ':help syntax' and then press <TAB> several times, you will switch
+through all help items containing 'syntax'. Press <ENTER> on the one you are
+interested at. Or press <Ctrl-D> and you will get a list of all items printed
+that contain 'syntax'.
+
+The helpfiles contains cross-references. Links are between '|'. Position the
+cursor on them and press <Ctrl-]> to follow this link. Use <Ctrl-T> to jump
+back.
+
+Known weaknesses:
+-----------------
+
+- You can't call make from the toplevel directory, you have to do a 'cd src'
+ first. If you do it, make will call configure again. I don't know why and
+ didn't investigate it, there were more important things to do. If you can
+ make it work drop me a note.
+
+- The documentation was not updated for this alpha release. It contains lot of
+ ASCII dependencies, especially in examples.
+
+- Digraphs are dependent on code page 1047. Digraphs are used to enter
+ characters that normally cannot be entered by an ordinary keyboard.
+ See ":help digraphs".
+
+- Using 'ga' to show the code of the character under the cursor shows the
+ correct dec/hex/oct values, but the other informations might be missing or
+ wrong.
+
+- The sed syntax file doesn't work, it is ASCII dependent.
+
+Bugs:
+-----
+If you find a bug please inform me (schandl@de.ibm.com), don't disturb Bram
+Moolenaar. It's most likely a bug I introduced during porting or some ASCII
+dependency I didn't notice.
+
+Feedback:
+---------
+Feedback welcome! Just drop me a note.
View
10 README_src.txt
@@ -0,0 +1,10 @@
+README_src.txt for version 7.0aa of Vim: Vi IMproved.
+
+The source archive contains the files needed to compile Vim on Unix systems.
+It is packed for Unix systems (NL line separator). It is also used for other
+systems in combination with the extra archive (vim-6.0-extra.tar.gz, in the
+"extra" directory of ftp.vim.org).
+
+For more information, see the README.txt file that comes with the runtime
+archive (vim-6.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
+archive too!
View
12 README_srcdos.txt
@@ -0,0 +1,12 @@
+README_srcdos.txt for version 7.0aa of Vim: Vi IMproved.
+
+See "README.txt" for general information about Vim.
+See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
+These files are in the runtime archive (vim60rt.zip).
+
+
+The DOS source archive contains the files needed to compile Vim on MS-DOS or
+MS-Windows. It is packed for DOS systems, with CR-LF. It also includes the
+VisVim sources.
+
+See "src/INSTALLpc.txt" for instructions on how to compile Vim on the PC.
View
10 README_unix.txt
@@ -0,0 +1,10 @@
+README_unix.txt for version 7.0aa of Vim: Vi IMproved.
+
+This file explains the installation of Vim on Unix systems.
+See "README.txt" for general information about Vim.
+
+
+When you use the source distribution, "make install" is used to install Vim.
+See the "INSTALL" file in the "src" directory.
+
+If you use a compiled package, follow the instructions for the package.
View
41 README_vms.txt
@@ -0,0 +1,41 @@
+README_vms.txt for version 7.0aa of Vim: Vi IMproved.
+
+This file explains the installation of Vim on VMS systems.
+See "README.txt" in the runtime archive for information about Vim.
+
+
+Most information can be found in the on-line documentation. Use ":help vms"
+inside Vim. Or get the runtime files and read runtime/doc/os_vms.txt to find
+out how to install and configure Vim with runtime files etc.
+
+To compile Vim yourself you need three archives:
+ vim-X.X-rt.tar.gz runtime files
+ vim-X.X-src.tar.gz source files
+ vim-X.X-extra.tar.gz extra source files
+
+Compilation is recommended, in order to make sure that the correct
+libraries are used for your specific system. However, you might not be
+able to compile Vim, read more from src/INSTALLvms.txt.
+
+To use the binary version, you need one of these archives:
+
+ vim-XX-exe-alpha-gui.zip Alpha GUI/Motif executables
+ vim-XX-exe-alpha-gtk.zip Alpha GUI/GTK executables
+ vim-XX-exe-alpha-term.zip Alpha console executables
+ vim-XX-exe-vax-gui.zip VAX GUI executables
+ vim-XX-exe-vax-term.zip VAX console executables
+
+and of course
+ vim-XX-runtime.zip runtime files
+
+The binary archives contain: vim.exe, ctags.exe, xxd.exe, mms_vim.exe files,
+but there are also prepared "deploy ready" archives:
+
+vim-XX-alpha.zip GUI and console executables with runtime and
+ help files for Alpha systems
+vim-XX-vax.zip GUI and console executables with runtime and
+ help files for VAX systems
+
+These executables and up to date patches for OpenVMS system are downloadable
+from http://www.polarhome.com/vim/ or ftp://ftp.polarhome.com/pub/vim/
+
View
15 README_w32s.txt
@@ -0,0 +1,15 @@
+README_w32s.txt for version 7.0aa of Vim: Vi IMproved.
+
+This archive contains the gvim.exe that was specifically compiled for use in
+the Win32s subsystem in MS-Windows 3.1 and 3.11.
+
+Also see the README_bindos.txt, README_dos.txt and README.txt files.
+
+Be careful not to overwrite the Win32s gvim.exe with the another gvim.exe when
+unpacking another binary archive! Check the output of ":version":
+ Win32s - "MS-Windows 16/32 bit GUI version"
+ Win32 - "MS-Windows 32 bit GUI version"
+Win32 with OLE - "MS-Windows 32 bit GUI version with OLE support"
+
+For further information, type this inside Vim:
+ :help win32s
View
BIN  Vim.info
Binary file not shown
View
BIN  Xxd.info
Binary file not shown
View
6 configure
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+# This is just a stub for the Unix configure script, to provide support for
+# doing "./configure" in the top Vim directory.
+
+cd src && ./configure "$@"
View
BIN  csdpmi4b.zip
Binary file not shown
View
BIN  emx.dll
Binary file not shown
View
BIN  emxlibcs.dll
Binary file not shown
View
BIN  libs/arp.library
Binary file not shown
View
42 nsis/README.txt
@@ -0,0 +1,42 @@
+This builds a one-click install for Vim for Win32 using the Nullsoft
+Installation System (NSIS), available at http://www.nullsoft.com/free/nsis/
+
+To build the installable .exe:
+
+1. Unpack three archives:
+ PC sources
+ PC runtime
+ PC language files
+ You can generate these from the Unix sources and runtime plus the extra
+ archive (see the Makefile in the top directory).
+
+2. Go to the src directory and build:
+ gvim.exe (the OLE version),
+ vimrun.exe,
+ install.exe,
+ uninstal.exe,
+ xxd/xxd.exe,
+
+3. Go to the GvimExt directory and build gvimext.dll (or get it from a binary
+ archive).
+
+4. Go to the VisVim directory and build VisVim.dll (or get it from a binary
+ archive).
+
+5. Go to the OleVim directory and build OpenWithVim.exe and SendToVim.exe (or
+ get them from a binary archive).
+
+6. Get a "diff.exe" program and put it in the "../.." directory (above the
+ "vim61" directory, it's the same for all Vim versions).
+ You can find one in previous Vim versions or in this archive:
+ http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz
+
+7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have
+ to do this on Unix. Make sure the file is in DOS file format!
+
+Install NSIS if you didn't do that already.
+Also install UPX, if you want a compressed file.
+
+To build then, enter:
+
+ makensis gvim.nsi
View
442 nsis/gvim.nsi
@@ -0,0 +1,442 @@
+# NSIS file to create a self-installing exe for Vim.
+# It requires NSIS version 2.0 or later.
+# Last change: 2004 May 02
+
+# WARNING: if you make changes to this script, look out for $0 to be valid,
+# because uninstall deletes most files in $0.
+
+# Location of gvim_ole.exe, vimd32.exe, GvimExt/*, etc.
+!define VIMSRC "..\src"
+
+# Location of runtime files
+!define VIMRT ".."
+
+# Location of extra tools: diff.exe
+!define VIMTOOLS ..\..
+
+# Comment the next line if you don't have UPX.
+# Get it at http://upx.sourceforge.net
+!define HAVE_UPX
+
+# comment the next line if you do not want to add Native Language Support
+!define HAVE_NLS
+
+!define VER_MAJOR 7
+!define VER_MINOR 0aa
+
+# ----------- No configurable settings below this line -----------
+
+!include UpgradeDLL.nsh # for VisVim.dll
+
+Name "Vim ${VER_MAJOR}.${VER_MINOR}"
+OutFile gvim${VER_MAJOR}${VER_MINOR}.exe
+CRCCheck force
+SetCompressor lzma
+SetDatablockOptimize on
+
+ComponentText "This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer."
+DirText "Choose a directory to install Vim (must end in 'vim')"
+Icon icons\vim_16c.ico
+# NSIS2 uses a different strategy with six diferent images in a strip...
+#EnabledBitmap icons\enabled.bmp
+#DisabledBitmap icons\disabled.bmp
+UninstallText "This will uninstall Vim ${VER_MAJOR}.${VER_MINOR} from your system."
+UninstallIcon icons\vim_uninst_16c.ico
+
+# On NSIS 2 using the BGGradient causes trouble on Windows 98, in combination
+# with the BringToFront.
+# BGGradient 004000 008200 FFFFFF
+LicenseText "You should read the following before installing:"
+LicenseData ${VIMRT}\doc\uganda.nsis.txt
+
+!ifdef HAVE_UPX
+ !packhdr temp.dat "upx --best --compress-icons=1 temp.dat"
+!endif
+
+# This adds '\vim' to the user choice automagically. The actual value is
+# obtained below with ReadINIStr.
+InstallDir "$PROGRAMFILES\Vim"
+
+# Types of installs we can perform:
+InstType Typical
+InstType Minimal
+InstType Full
+
+SilentInstall normal
+
+# These are the pages we use
+Page license
+Page components
+Page directory "" "" CheckInstallDir
+Page instfiles
+UninstPage uninstConfirm
+UninstPage instfiles
+
+##########################################################
+# Functions
+
+Function .onInit
+ MessageBox MB_YESNO|MB_ICONQUESTION \
+ "This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer.$\n Continue?" \
+ IDYES NoAbort
+ Abort ; causes installer to quit.
+ NoAbort:
+
+ # run the install program to check for already installed versions
+ SetOutPath $TEMP
+ File /oname=install.exe ${VIMSRC}\installw32.exe
+ ExecWait "$TEMP\install.exe -uninstall-check"
+ Delete $TEMP\install.exe
+
+ # We may have been put to the background when uninstall did something.
+ BringToFront
+
+ # Install will have created a file for us that contains the directory where
+ # we should install. This is $VIM if it's set. This appears to be the only
+ # way to get the value of $VIM here!?
+ ReadINIStr $INSTDIR $TEMP\vimini.ini vimini dir
+ Delete $TEMP\vimini.ini
+
+ # If ReadINIStr failed or did not find a path: use the default dir.
+ StrCmp $INSTDIR "" 0 IniOK
+ StrCpy $INSTDIR "$PROGRAMFILES\Vim"
+ IniOK:
+
+ # Should check for the value of $VIM and use it. Unfortunately I don't know
+ # how to obtain the value of $VIM
+ # IfFileExists "$VIM" 0 No_Vim
+ # StrCpy $INSTDIR "$VIM"
+ # No_Vim:
+
+ # User variables:
+ # $0 - holds the directory the executables are installed to
+ # $1 - holds the parameters to be passed to install.exe. Starts with OLE
+ # registration (since a non-OLE gvim will not complain, and we want to
+ # always register an OLE gvim).
+ # $2 - holds the names to create batch files for
+ StrCpy $0 "$INSTDIR\vim${VER_MAJOR}${VER_MINOR}"
+ StrCpy $1 "-register-OLE"
+ StrCpy $2 "gvim evim gview gvimdiff"
+
+FunctionEnd
+
+Function .onUserAbort
+ MessageBox MB_YESNO|MB_ICONQUESTION "Abort install?" IDYES NoCancelAbort
+ Abort ; causes installer to not quit.
+ NoCancelAbort:
+FunctionEnd
+
+# We only accept the directory if it ends in "vim". Using .onVerifyInstDir has
+# the disadvantage that the browse dialog is difficult to use.
+Function CheckInstallDir
+ StrCpy $0 $INSTDIR 3 -3
+ StrCmp $0 "vim" PathGood
+ MessageBox MB_OK "The path must end in 'vim'."
+ Abort
+ PathGood:
+FunctionEnd
+
+Function .onInstSuccess
+ WriteUninstaller vim${VER_MAJOR}${VER_MINOR}\uninstall-gui.exe
+ MessageBox MB_YESNO|MB_ICONQUESTION \
+ "The installation process has been successfull. Happy Vimming! \
+ $\n$\n Do you want to see the README file now?" IDNO NoReadme
+ Exec '$0\gvim.exe -R "$0\README.txt"'
+ NoReadme:
+FunctionEnd
+
+Function .onInstFailed
+ MessageBox MB_OK|MB_ICONEXCLAMATION "Installation failed. Better luck next time."
+FunctionEnd
+
+Function un.onUnInstSuccess
+ MessageBox MB_OK|MB_ICONINFORMATION \
+ "Vim ${VER_MAJOR}.${VER_MINOR} has been (partly) removed from your system"
+FunctionEnd
+
+Function un.GetParent
+ Exch $0 ; old $0 is on top of stack
+ Push $1
+ Push $2
+ StrCpy $1 -1
+ loop:
+ StrCpy $2 $0 1 $1
+ StrCmp $2 "" exit
+ StrCmp $2 "\" exit
+ IntOp $1 $1 - 1
+ Goto loop
+ exit:
+ StrCpy $0 $0 $1
+ Pop $2
+ Pop $1
+ Exch $0 ; put $0 on top of stack, restore $0 to original value
+FunctionEnd
+
+##########################################################
+Section "Vim executables and runtime files"
+ SectionIn 1 2 3
+
+ # we need also this here if the user changes the instdir
+ StrCpy $0 "$INSTDIR\vim${VER_MAJOR}${VER_MINOR}"
+
+ SetOutPath $0
+ File /oname=gvim.exe ${VIMSRC}\gvim_ole.exe
+ File /oname=install.exe ${VIMSRC}\installw32.exe
+ File /oname=uninstal.exe ${VIMSRC}\uninstalw32.exe
+ File ${VIMSRC}\vimrun.exe
+ File /oname=xxd.exe ${VIMSRC}\xxdw32.exe
+ File ${VIMTOOLS}\diff.exe
+ File ${VIMRT}\vimtutor.bat
+ File ${VIMRT}\README.txt
+ File ..\uninstal.txt
+ File ${VIMRT}\*.vim
+ File ${VIMRT}\rgb.txt
+
+ SetOutPath $0\colors
+ File ${VIMRT}\colors\*.*
+
+ SetOutPath $0\compiler
+ File ${VIMRT}\compiler\*.*
+
+ SetOutPath $0\doc
+ File ${VIMRT}\doc\*.txt
+ File ${VIMRT}\doc\tags
+
+ SetOutPath $0\ftplugin
+ File ${VIMRT}\ftplugin\*.*
+
+ SetOutPath $0\indent
+ File ${VIMRT}\indent\*.*
+
+ SetOutPath $0\macros
+ File ${VIMRT}\macros\*.*
+
+ SetOutPath $0\plugin
+ File ${VIMRT}\plugin\*.*
+
+ SetOutPath $0\syntax
+ File ${VIMRT}\syntax\*.*
+
+ SetOutPath $0\tools
+ File ${VIMRT}\tools\*.*
+
+ SetOutPath $0\tutor
+ File ${VIMRT}\tutor\*.*
+SectionEnd
+
+##########################################################
+Section "Vim console program (vim.exe)"
+ SectionIn 1 3
+
+ SetOutPath $0
+ ReadRegStr $R0 HKLM \
+ "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
+ IfErrors 0 lbl_winnt
+ # Windows 95/98/ME
+ File /oname=vim.exe ${VIMSRC}\vimd32.exe
+ Goto lbl_done
+ lbl_winnt:
+ # Windows NT/2000/XT
+ File /oname=vim.exe ${VIMSRC}\vimw32.exe
+ lbl_done:
+ StrCpy $2 "$2 vim view vimdiff"
+SectionEnd
+
+##########################################################
+Section "Create .bat files for command line use"
+ SectionIn 3
+
+ StrCpy $1 "$1 -create-batfiles $2"
+SectionEnd
+
+##########################################################
+Section "Create icons on the Desktop"
+ SectionIn 1 3
+
+ StrCpy $1 "$1 -install-icons"
+SectionEnd
+
+##########################################################
+Section "Add Vim to the Start Menu"
+ SectionIn 1 3
+
+ StrCpy $1 "$1 -add-start-menu"
+SectionEnd
+
+##########################################################
+Section "Add an Edit-with-Vim context menu entry"
+ SectionIn 1 3
+
+ # Be aware of this sequence of events:
+ # - user uninstalls Vim, gvimext.dll can't be removed (it's in use) and
+ # is scheduled to be removed at next reboot.
+ # - user installs Vim in same directory, gvimext.dll still exists.
+ # If we now skip installing gvimext.dll, it will disappear at the next
+ # reboot. Thus when copying gvimext.dll fails always schedule it to be
+ # installed at the next reboot. Can't use UpgradeDLL!
+ # We don't ask the user to reboot, the old dll will keep on working.
+ SetOutPath $0
+ ClearErrors
+ SetOverwrite try
+ File /oname=gvimext.dll ${VIMSRC}\GvimExt\gvimext.dll
+ IfErrors 0 GvimExtDone
+
+ # Can't copy gvimext.dll, create it under another name and rename it on
+ # next reboot.
+ GetTempFileName $3 $0
+ File /oname=$3 ${VIMSRC}\GvimExt\gvimext.dll
+ Rename /REBOOTOK $3 $0\gvimext.dll
+
+ GvimExtDone:
+ SetOverwrite lastused
+
+ # We don't have a separate entry for the "Open With..." menu, assume
+ # the user wants either both or none.
+ StrCpy $1 "$1 -install-popup -install-openwith"
+SectionEnd
+
+##########################################################
+Section "Create a _vimrc if it doesn't exist"
+ SectionIn 1 3
+
+ StrCpy $1 "$1 -create-vimrc"
+SectionEnd
+
+##########################################################
+Section "Create plugin directories in HOME or VIM"
+ SectionIn 1 3
+
+ StrCpy $1 "$1 -create-directories home"
+SectionEnd
+
+##########################################################
+Section "Create plugin directories in VIM"
+ SectionIn 3
+
+ StrCpy $1 "$1 -create-directories vim"
+SectionEnd
+
+##########################################################
+Section "VisVim Extension for MS Visual Studio"
+ SectionIn 3
+
+ SetOutPath $0
+ !insertmacro UpgradeDLL "${VIMSRC}\VisVim\VisVim.dll" "$0\VisVim.dll" "$0"
+ File ${VIMSRC}\VisVim\README_VisVim.txt
+SectionEnd
+
+##########################################################
+!ifdef HAVE_NLS
+ Section "Native Language Support"
+ SectionIn 1 3
+
+ SetOutPath $0\lang
+ File /r ${VIMRT}\lang\*.*
+ SetOutPath $0\keymap
+ File ${VIMRT}\keymap\README.txt
+ File ${VIMRT}\keymap\*.vim
+ SetOutPath $0
+ File ${VIMRT}\libintl.dll
+ SectionEnd
+!endif
+
+##########################################################
+Section -call_install_exe
+ SetOutPath $0
+ ExecWait "$0\install.exe $1"
+SectionEnd
+
+##########################################################
+Section -post
+ BringToFront
+SectionEnd
+
+##########################################################
+Section Uninstall
+ # Apparently $INSTDIR is set to the directory where the uninstaller is
+ # created. Thus the "vim61" directory is included in it.
+ StrCpy $0 "$INSTDIR"
+
+ # If VisVim was installed, unregister the DLL.
+ IfFileExists "$0\VisVim.dll" Has_VisVim No_VisVim
+ Has_VisVim:
+ ExecWait "regsvr32.exe /u /s $0\VisVim.dll"
+
+ No_VisVim:
+
+ # delete the context menu entry and batch files
+ ExecWait "$0\uninstal.exe -nsis"
+
+ # We may have been put to the background when uninstall did something.
+ BringToFront
+
+ # ask the user if the Vim version dir must be removed
+ MessageBox MB_YESNO|MB_ICONQUESTION \
+ "Would you like to delete $0?$\n \
+ $\nIt contains the Vim executables and runtime files." IDNO NoRemoveExes
+
+ Delete /REBOOTOK $0\*.dll
+ ClearErrors
+ # Remove everything but *.dll files. Avoids that
+ # a lot remains when gvimext.dll cannot be deleted.
+ RMDir /r $0\colors
+ RMDir /r $0\compiler
+ RMDir /r $0\doc
+ RMDir /r $0\ftplugin
+ RMDir /r $0\indent
+ RMDir /r $0\macros
+ RMDir /r $0\plugin
+ RMDir /r $0\syntax
+ RMDir /r $0\tools
+ RMDir /r $0\tutor
+ RMDir /r $0\VisVim
+ RMDir /r $0\lang
+ RMDir /r $0\keymap
+ Delete $0\*.exe
+ Delete $0\*.bat
+ Delete $0\*.vim
+ Delete $0\*.txt
+
+ IfErrors ErrorMess NoErrorMess
+ ErrorMess:
+ MessageBox MB_OK|MB_ICONEXCLAMATION \
+ "Some files in $0 have not been deleted!$\nYou must do it manually."
+ NoErrorMess:
+
+ # No error message if the "vim62" directory can't be removed, the
+ # gvimext.dll may still be there.
+ RMDir $0
+
+ NoRemoveExes:
+ # get the parent dir of the installation
+ Push $INSTDIR
+ Call un.GetParent
+ Pop $0
+ StrCpy $1 $0
+
+ # if a plugin dir was created at installation ask the user to remove it
+ # first look in the root of the installation then in HOME
+ IfFileExists $1\vimfiles AskRemove 0
+ ReadEnvStr $1 "HOME"
+ StrCmp $1 "" NoRemove 0
+
+ IfFileExists $1\vimfiles 0 NoRemove
+
+ AskRemove:
+ MessageBox MB_YESNO|MB_ICONQUESTION \