From 071d4279d6ab81b7187b48f3a0fc61e587b6db6c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 13 Jun 2004 20:20:40 +0000 Subject: updated for version 7.0001 --- src/INSTALL | 427 ++ src/INSTALLami.txt | 34 + src/INSTALLmac.txt | 164 + src/INSTALLpc.txt | 310 ++ src/INSTALLvms.txt | 375 ++ src/Make_agui.mak | 356 ++ src/Make_aros.mak | 29 + src/Make_bc3.mak | 173 + src/Make_bc5.mak | 1006 ++++ src/Make_cyg.mak | 498 ++ src/Make_dice.mak | 209 + src/Make_djg.mak | 102 + src/Make_dvc.mak | 105 + src/Make_ivc.mak | 648 +++ src/Make_manx.mak | 322 ++ src/Make_ming.mak | 555 +++ src/Make_mint.mak | 56 + src/Make_morph.mak | 88 + src/Make_mpw.mak | 3843 +++++++++++++++ src/Make_mvc.mak | 888 ++++ src/Make_os2.mak | 147 + src/Make_ro.mak | 168 + src/Make_sas.mak | 345 ++ src/Make_vms.mms | 457 ++ src/Make_w16.mak | 196 + src/README.txt | 140 + src/VisVim/Commands.cpp | 693 +++ src/VisVim/Commands.h | 127 + src/VisVim/DSAddIn.cpp | 160 + src/VisVim/DSAddIn.h | 53 + src/VisVim/OleAut.cpp | 781 +++ src/VisVim/OleAut.h | 73 + src/VisVim/README_VisVim.txt | 322 ++ src/VisVim/Reg.cpp | 56 + src/VisVim/Register.bat | 1 + src/VisVim/Resource.h | 29 + src/VisVim/StdAfx.cpp | 6 + src/VisVim/StdAfx.h | 73 + src/VisVim/UnRegist.bat | 1 + src/VisVim/VisVim.cpp | 152 + src/VisVim/VisVim.def | 11 + src/VisVim/VisVim.dll | Bin 0 -> 49664 bytes src/VisVim/VisVim.h | 33 + src/VisVim/VisVim.mak | 205 + src/VisVim/VisVim.odl | 61 + src/VisVim/VisVim.rc | 199 + src/VisVim/VsReadMe.txt | 91 + src/arabic.c | 1168 +++++ src/arabic.h | 258 + src/ascii.h | 201 + src/auto/configure | 8692 +++++++++++++++++++++++++++++++++ src/bigvim.bat | 3 + src/buffer.c | 5071 +++++++++++++++++++ src/charset.c | 1795 +++++++ src/config.aap.in | 115 + src/config.h.in | 361 ++ src/config.mk.dist | 5 + src/config.mk.in | 137 + src/configure | 4 + src/configure.in | 2660 ++++++++++ src/dehqx.py | 40 + src/diff.c | 2208 +++++++++ src/digraph.c | 2513 ++++++++++ src/dimm.idl | 544 +++ src/dlldata.c | 38 + src/dosinst.c | 2461 ++++++++++ src/dosinst.h | 645 +++ src/edit.c | 7614 +++++++++++++++++++++++++++++ src/eval.c | 10682 +++++++++++++++++++++++++++++++++++++++++ src/ex_cmds.c | 6198 ++++++++++++++++++++++++ src/ex_cmds.h | 961 ++++ src/ex_cmds2.c | 5711 ++++++++++++++++++++++ src/ex_docmd.c | 9711 +++++++++++++++++++++++++++++++++++++ src/ex_eval.c | 2004 ++++++++ src/ex_getln.c | 5371 +++++++++++++++++++++ src/farsi.c | 2312 +++++++++ src/farsi.h | 234 + src/feature.h | 1184 +++++ src/fileio.c | 8750 +++++++++++++++++++++++++++++++++ src/fold.c | 3250 +++++++++++++ src/getchar.c | 4636 ++++++++++++++++++ src/glbl_ime.cpp | 261 + src/glbl_ime.h | 31 + src/globals.h | 1381 ++++++ src/gui.c | 4740 ++++++++++++++++++ src/gui.h | 525 ++ src/gui_amiga.c | 1795 +++++++ src/gui_amiga.h | 52 + src/gui_at_fs.c | 2880 +++++++++++ src/gui_at_sb.c | 1213 +++++ src/gui_at_sb.h | 161 + src/gui_athena.c | 2230 +++++++++ src/gui_beos.cc | 3347 +++++++++++++ src/gui_beos.h | 49 + src/gui_beval.c | 1268 +++++ src/gui_beval.h | 76 + src/gui_gtk.c | 3035 ++++++++++++ src/gui_gtk_f.c | 942 ++++ src/gui_gtk_f.h | 83 + src/gui_gtk_vms.h | 734 +++ src/gui_gtk_x11.c | 6589 +++++++++++++++++++++++++ src/gui_mac.c | 5820 ++++++++++++++++++++++ src/gui_mac.icns | Bin 0 -> 38515 bytes src/gui_mac.r | 33 + src/gui_motif.c | 3090 ++++++++++++ src/gui_photon.c | 3060 ++++++++++++ src/gui_riscos.c | 3547 ++++++++++++++ src/gui_riscos.h | 32 + src/gui_w16.c | 1524 ++++++ src/gui_w32.c | 4077 ++++++++++++++++ src/gui_w32_rc.h | 8 + src/gui_w48.c | 3402 +++++++++++++ src/gui_x11.c | 3748 +++++++++++++++ src/guiw16rc.h | 17 + src/gvim.exe.mnf | 22 + src/hangulin.c | 1621 +++++++ src/if_cscope.c | 2270 +++++++++ src/if_cscope.h | 96 + src/if_ole.cpp | 778 +++ src/if_ole.h | 289 ++ src/if_ole.idl | 45 + src/if_perl.xs | 1150 +++++ src/if_perlsfio.c | 66 + src/if_python.c | 2807 +++++++++++ src/if_ruby.c | 868 ++++ src/if_sniff.c | 1210 +++++ src/if_sniff.h | 18 + src/if_tcl.c | 2118 ++++++++ src/if_xcmdsrv.c | 1441 ++++++ src/iid_ole.c | 50 + src/infplist.xml | 51 + src/integration.c | 1198 +++++ src/integration.h | 453 ++ src/keymap.h | 484 ++ src/link.390 | 7 + src/link.sh | 136 + src/macros.h | 245 + src/main.aap | 1014 ++++ src/mark.c | 1617 +++++++ src/mbyte.c | 5833 ++++++++++++++++++++++ src/memfile.c | 1312 +++++ src/memline.c | 4378 +++++++++++++++++ src/menu.c | 2385 +++++++++ src/message.c | 3165 ++++++++++++ src/misc1.c | 8455 ++++++++++++++++++++++++++++++++ src/misc2.c | 5556 +++++++++++++++++++++ src/mkinstalldirs | 40 + src/move.c | 2796 +++++++++++ src/mysign | 1 + src/nbdebug.c | 182 + src/nbdebug.h | 81 + src/netbeans.c | 3185 ++++++++++++ src/normal.c | 8508 ++++++++++++++++++++++++++++++++ src/ops.c | 6114 +++++++++++++++++++++++ src/option.c | 9383 ++++++++++++++++++++++++++++++++++++ src/option.h | 802 ++++ src/os_amiga.c | 1619 +++++++ src/os_amiga.h | 201 + src/os_beos.c | 206 + src/os_beos.h | 25 + src/os_beos.rsrc | Bin 0 -> 6956 bytes src/os_dos.h | 125 + src/os_mac.build | 91 + src/os_mac.c | 1451 ++++++ src/os_mac.h | 411 ++ src/os_mac.rsr.hqx | 659 +++ src/os_mac.sit.hqx | 439 ++ src/os_macosx.c | 612 +++ src/os_mint.h | 13 + src/os_msdos.c | 3114 ++++++++++++ src/os_msdos.h | 106 + src/os_mswin.c | 3245 +++++++++++++ src/os_os2_cfg.h | 251 + src/os_qnx.c | 162 + src/os_qnx.h | 19 + src/os_riscos.c | 1288 +++++ src/os_riscos.h | 169 + src/os_unix.c | 6189 ++++++++++++++++++++++++ src/os_unix.h | 531 ++ src/os_unixx.h | 130 + src/os_vms.c | 657 +++ src/os_vms_conf.h | 185 + src/os_vms_fix.com | 276 ++ src/os_vms_mms.c | 76 + src/os_w32dll.c | 24 + src/os_w32exe.c | 136 + src/os_win16.c | 424 ++ src/os_win16.h | 142 + src/os_win32.c | 4790 ++++++++++++++++++ src/os_win32.h | 190 + src/osdef.sh | 99 + src/osdef1.h.in | 137 + src/osdef2.h.in | 88 + src/pathdef.sh | 11 + src/po/Make_ming.mak | 67 + src/po/Make_mvc.mak | 62 + src/po/Makefile | 135 + src/po/README.txt | 104 + src/po/README_mingw.txt | 101 + src/po/README_mvc.txt | 94 + src/po/af.po | 6244 ++++++++++++++++++++++++ src/po/ca.po | 6341 ++++++++++++++++++++++++ src/po/cleanup.vim | 7 + src/po/cs.cp1250.po | 5954 +++++++++++++++++++++++ src/po/cs.po | 5954 +++++++++++++++++++++++ src/po/de.po | 6091 +++++++++++++++++++++++ src/po/en_GB.po | 48 + src/po/es.po | 6780 ++++++++++++++++++++++++++ src/po/fr.po | 6888 ++++++++++++++++++++++++++ src/po/it.po | 6638 +++++++++++++++++++++++++ src/po/ja.po | 6587 +++++++++++++++++++++++++ src/po/ja.sjis.po | 6587 +++++++++++++++++++++++++ src/po/ko.po | 6580 +++++++++++++++++++++++++ src/po/no.po | 6630 +++++++++++++++++++++++++ src/po/pl.cp1250.po | 6576 +++++++++++++++++++++++++ src/po/pl.po | 6576 +++++++++++++++++++++++++ src/po/ru.cp1251.po | 6658 +++++++++++++++++++++++++ src/po/ru.po | 6658 +++++++++++++++++++++++++ src/po/sjiscorr.c | 50 + src/po/sk.cp1250.po | 5998 +++++++++++++++++++++++ src/po/sk.po | 5998 +++++++++++++++++++++++ src/po/sv.po | 6516 +++++++++++++++++++++++++ src/po/uk.po | 6225 ++++++++++++++++++++++++ src/po/zh_CN.UTF-8.po | 5937 +++++++++++++++++++++++ src/po/zh_CN.cp936.po | 5937 +++++++++++++++++++++++ src/po/zh_CN.po | 5937 +++++++++++++++++++++++ src/po/zh_TW.UTF-8.po | 6389 ++++++++++++++++++++++++ src/po/zh_TW.po | 6389 ++++++++++++++++++++++++ src/proto.h | 251 + src/proto/buffer.pro | 66 + src/proto/charset.pro | 49 + src/proto/diff.pro | 23 + src/proto/digraph.pro | 9 + src/proto/edit.pro | 36 + src/proto/eval.pro | 60 + src/proto/ex_cmds.pro | 52 + src/proto/ex_cmds2.pro | 76 + src/proto/ex_docmd.pro | 41 + src/proto/ex_eval.pro | 29 + src/proto/ex_getln.pro | 47 + src/proto/fileio.pro | 39 + src/proto/fold.pro | 40 + src/proto/getchar.pro | 61 + src/proto/gui.pro | 61 + src/proto/gui_amiga.pro | 67 + src/proto/gui_athena.pro | 31 + src/proto/gui_beos.pro | 14 + src/proto/gui_beval.pro | 10 + src/proto/gui_gtk.pro | 24 + src/proto/gui_gtk_x11.pro | 67 + src/proto/gui_mac.pro | 142 + src/proto/gui_motif.pro | 39 + src/proto/gui_photon.pro | 66 + src/proto/gui_riscos.pro | 67 + src/proto/gui_w16.pro | 73 + src/proto/gui_w32.pro | 89 + src/proto/gui_x11.pro | 70 + src/proto/hangulin.pro | 9 + src/proto/if_cscope.pro | 9 + src/proto/if_ole.pro | 5 + src/proto/if_perl.pro | 8 + src/proto/if_perlsfio.pro | 3 + src/proto/if_python.pro | 8 + src/proto/if_ruby.pro | 9 + src/proto/if_tcl.pro | 10 + src/proto/if_xcmdsrv.pro | 11 + src/proto/main.pro | 25 + src/proto/mark.pro | 26 + src/proto/mbyte.pro | 86 + src/proto/memfile.pro | 17 + src/proto/memline.pro | 31 + src/proto/menu.pro | 21 + src/proto/message.pro | 57 + src/proto/misc1.pro | 87 + src/proto/misc2.pro | 91 + src/proto/move.pro | 40 + src/proto/netbeans.pro | 24 + src/proto/normal.pro | 23 + src/proto/ops.pro | 53 + src/proto/option.pro | 52 + src/proto/os_amiga.pro | 46 + src/proto/os_beos.pro | 4 + src/proto/os_mac.pro | 64 + src/proto/os_msdos.pro | 48 + src/proto/os_mswin.pro | 60 + src/proto/os_qnx.pro | 8 + src/proto/os_riscos.pro | 49 + src/proto/os_unix.pro | 70 + src/proto/os_vms.pro | 14 + src/proto/os_win16.pro | 12 + src/proto/os_win32.pro | 48 + src/proto/pty.pro | 3 + src/proto/quickfix.pro | 21 + src/proto/regexp.pro | 16 + src/proto/screen.pro | 46 + src/proto/search.pro | 33 + src/proto/syntax.pro | 42 + src/proto/tag.pro | 8 + src/proto/term.pro | 58 + src/proto/termlib.pro | 8 + src/proto/ui.pro | 61 + src/proto/undo.pro | 18 + src/proto/version.pro | 9 + src/proto/window.pro | 44 + src/proto/workshop.pro | 48 + src/pty.c | 425 ++ src/quickfix.c | 2232 +++++++++ src/regexp.c | 6115 +++++++++++++++++++++++ src/regexp.h | 80 + src/screen.c | 8437 ++++++++++++++++++++++++++++++++ src/search.c | 4487 +++++++++++++++++ src/structs.h | 1887 ++++++++ src/swis.s | 143 + src/syntax.c | 8456 ++++++++++++++++++++++++++++++++ src/tag.c | 3534 ++++++++++++++ src/tearoff.bmp | Bin 0 -> 118 bytes src/tee/Makefile | 15 + src/tee/tee.c | 153 + src/term.c | 5381 +++++++++++++++++++++ src/term.h | 156 + src/termlib.c | 628 +++ src/testdir/Make_amiga.mak | 97 + src/testdir/Make_dos.mak | 64 + src/testdir/Make_os2.mak | 52 + src/testdir/Make_vms.mms | 124 + src/testdir/Makefile | 58 + src/testdir/amiga.vim | 4 + src/testdir/dos.vim | 7 + src/testdir/dotest.in | 3 + src/testdir/main.aap | 58 + src/testdir/os2.vim | 3 + src/testdir/test1.in | 40 + src/testdir/test1.ok | 1 + src/testdir/test10.in | 57 + src/testdir/test10.ok | 23 + src/testdir/test10a.in | 73 + src/testdir/test10a.ok | 23 + src/testdir/test11.in | 77 + src/testdir/test11.ok | 61 + src/testdir/test12.in | 52 + src/testdir/test12.ok | 10 + src/testdir/test13.in | 58 + src/testdir/test13.ok | 30 + src/testdir/test14.in | 65 + src/testdir/test14.ok | 17 + src/testdir/test15.in | 136 + src/testdir/test15.ok | 111 + src/testdir/test16.in | 10 + src/testdir/test16.ok | 2 + src/testdir/test17.in | 27 + src/testdir/test17.ok | 3 + src/testdir/test17a.in | 3 + src/testdir/test18.in | 16 + src/testdir/test18.ok | 4 + src/testdir/test19.in | 23 + src/testdir/test19.ok | 7 + src/testdir/test2.in | 29 + src/testdir/test2.ok | 4 + src/testdir/test20.in | 22 + src/testdir/test20.ok | 6 + src/testdir/test21.in | 19 + src/testdir/test21.ok | 2 + src/testdir/test22.in | 13 + src/testdir/test22.ok | 4 + src/testdir/test23.in | 15 + src/testdir/test23.ok | 2 + src/testdir/test24.in | 21 + src/testdir/test24.ok | 7 + src/testdir/test25.in | 31 + src/testdir/test25.ok | 1 + src/testdir/test26.in | 43 + src/testdir/test26.ok | 10 + src/testdir/test27.in | 20 + src/testdir/test27.ok | 2 + src/testdir/test28.in | Bin 0 -> 364 bytes src/testdir/test28.ok | 2 + src/testdir/test29.in | 67 + src/testdir/test29.ok | 28 + src/testdir/test3.in | 1217 +++++ src/testdir/test3.ok | 1090 +++++ src/testdir/test30.in | 183 + src/testdir/test30.ok | 96 + src/testdir/test31.in | 68 + src/testdir/test31.ok | 11 + src/testdir/test32.in | 56 + src/testdir/test32.ok | 15 + src/testdir/test33.in | 34 + src/testdir/test33.ok | 23 + src/testdir/test34.in | 31 + src/testdir/test34.ok | 1 + src/testdir/test35.in | 21 + src/testdir/test35.ok | 4 + src/testdir/test36.in | 40 + src/testdir/test36.ok | 16 + src/testdir/test37.in | 116 + src/testdir/test37.ok | 33 + src/testdir/test38.in | 33 + src/testdir/test38.ok | 13 + src/testdir/test39.in | 24 + src/testdir/test39.ok | 5 + src/testdir/test4.in | 31 + src/testdir/test4.ok | 17 + src/testdir/test40.in | 63 + src/testdir/test40.ok | 11 + src/testdir/test41.in | 24 + src/testdir/test41.ok | 3 + src/testdir/test42.in | Bin 0 -> 2368 bytes src/testdir/test42.ok | Bin 0 -> 407 bytes src/testdir/test43.in | 27 + src/testdir/test43.ok | 8 + src/testdir/test44.in | 37 + src/testdir/test44.ok | 11 + src/testdir/test45.in | 72 + src/testdir/test45.ok | 16 + src/testdir/test46.in | 27 + src/testdir/test46.ok | 13 + src/testdir/test47.in | 44 + src/testdir/test47.ok | 3 + src/testdir/test48.in | 74 + src/testdir/test48.ok | 21 + src/testdir/test49.in | 13 + src/testdir/test49.ok | 92 + src/testdir/test49.vim | 9666 +++++++++++++++++++++++++++++++++++++ src/testdir/test5.in | 29 + src/testdir/test5.ok | 9 + src/testdir/test50.in | 85 + src/testdir/test50.ok | 14 + src/testdir/test51.in | 34 + src/testdir/test51.ok | 15 + src/testdir/test52.in | 65 + src/testdir/test52.ok | 18 + src/testdir/test6.in | 24 + src/testdir/test6.ok | 18 + src/testdir/test7.in | 26 + src/testdir/test7.ok | 12 + src/testdir/test8.in | 24 + src/testdir/test8.ok | 6 + src/testdir/test9.in | 12 + src/testdir/test9.ok | 2 + src/testdir/todos.vim | 3 + src/testdir/unix.vim | 3 + src/testdir/vms.vim | 4 + src/toolbar.phi | 1283 +++++ src/toolcheck | 36 + src/tools.bmp | Bin 0 -> 5158 bytes src/tools16.bmp | Bin 0 -> 3838 bytes src/typemap | 14 + src/ui.c | 3060 ++++++++++++ src/undo.c | 1380 ++++++ src/uninstal.c | 438 ++ src/version.c | 1219 +++++ src/version.h | 40 + src/vim.def | 4 + src/vim.h | 1788 +++++++ src/vim.ico | Bin 0 -> 1078 bytes src/vim.rc | 135 + src/vim.tlb | Bin 0 -> 1792 bytes src/vim16.def | 5 + src/vim16.rc | 81 + src/vim_alert.ico | Bin 0 -> 1078 bytes src/vim_error.ico | Bin 0 -> 1078 bytes src/vim_icon.xbm | 14 + src/vim_info.ico | Bin 0 -> 1078 bytes src/vim_mask.xbm | 14 + src/vim_quest.ico | Bin 0 -> 1078 bytes src/vimrun.c | 117 + src/vimtbar.dll | Bin 0 -> 35602 bytes src/vimtbar.h | 185 + src/vimtbar.lib | Bin 0 -> 1024 bytes src/vimtutor | 61 + src/which.sh | 12 + src/window.c | 4946 +++++++++++++++++++ src/workshop.c | 1885 ++++++++ src/workshop.h | 28 + src/wsdebug.c | 179 + src/wsdebug.h | 81 + src/xpm_w32.c | 60 + src/xpm_w32.h | 7 + src/xxd/Make_amiga.mak | 18 + src/xxd/Make_bc3.mak | 31 + src/xxd/Make_bc5.mak | 18 + src/xxd/Make_cyg.mak | 27 + src/xxd/Make_djg.mak | 9 + src/xxd/Make_mvc.mak | 11 + src/xxd/Make_os2.mak | 11 + src/xxd/Make_vms.mms | 69 + src/xxd/Makefile | 7 + src/xxd/xxd.c | 767 +++ 488 files changed, 521276 insertions(+) create mode 100644 src/INSTALL create mode 100644 src/INSTALLami.txt create mode 100644 src/INSTALLmac.txt create mode 100644 src/INSTALLpc.txt create mode 100644 src/INSTALLvms.txt create mode 100644 src/Make_agui.mak create mode 100644 src/Make_aros.mak create mode 100644 src/Make_bc3.mak create mode 100644 src/Make_bc5.mak create mode 100644 src/Make_cyg.mak create mode 100644 src/Make_dice.mak create mode 100644 src/Make_djg.mak create mode 100644 src/Make_dvc.mak create mode 100644 src/Make_ivc.mak create mode 100644 src/Make_manx.mak create mode 100644 src/Make_ming.mak create mode 100644 src/Make_mint.mak create mode 100644 src/Make_morph.mak create mode 100644 src/Make_mpw.mak create mode 100644 src/Make_mvc.mak create mode 100644 src/Make_os2.mak create mode 100644 src/Make_ro.mak create mode 100644 src/Make_sas.mak create mode 100644 src/Make_vms.mms create mode 100644 src/Make_w16.mak create mode 100644 src/README.txt create mode 100644 src/VisVim/Commands.cpp create mode 100644 src/VisVim/Commands.h create mode 100644 src/VisVim/DSAddIn.cpp create mode 100644 src/VisVim/DSAddIn.h create mode 100644 src/VisVim/OleAut.cpp create mode 100644 src/VisVim/OleAut.h create mode 100644 src/VisVim/README_VisVim.txt create mode 100644 src/VisVim/Reg.cpp create mode 100644 src/VisVim/Register.bat create mode 100644 src/VisVim/Resource.h create mode 100644 src/VisVim/StdAfx.cpp create mode 100644 src/VisVim/StdAfx.h create mode 100644 src/VisVim/UnRegist.bat create mode 100644 src/VisVim/VisVim.cpp create mode 100644 src/VisVim/VisVim.def create mode 100644 src/VisVim/VisVim.dll create mode 100644 src/VisVim/VisVim.h create mode 100644 src/VisVim/VisVim.mak create mode 100644 src/VisVim/VisVim.odl create mode 100644 src/VisVim/VisVim.rc create mode 100644 src/VisVim/VsReadMe.txt create mode 100644 src/arabic.c create mode 100644 src/arabic.h create mode 100644 src/ascii.h create mode 100755 src/auto/configure create mode 100644 src/bigvim.bat create mode 100644 src/buffer.c create mode 100644 src/charset.c create mode 100644 src/config.aap.in create mode 100644 src/config.h.in create mode 100644 src/config.mk.dist create mode 100644 src/config.mk.in create mode 100755 src/configure create mode 100644 src/configure.in create mode 100644 src/dehqx.py create mode 100644 src/diff.c create mode 100644 src/digraph.c create mode 100644 src/dimm.idl create mode 100644 src/dlldata.c create mode 100644 src/dosinst.c create mode 100644 src/dosinst.h create mode 100644 src/edit.c create mode 100644 src/eval.c create mode 100644 src/ex_cmds.c create mode 100644 src/ex_cmds.h create mode 100644 src/ex_cmds2.c create mode 100644 src/ex_docmd.c create mode 100644 src/ex_eval.c create mode 100644 src/ex_getln.c create mode 100644 src/farsi.c create mode 100644 src/farsi.h create mode 100644 src/feature.h create mode 100644 src/fileio.c create mode 100644 src/fold.c create mode 100644 src/getchar.c create mode 100644 src/glbl_ime.cpp create mode 100644 src/glbl_ime.h create mode 100644 src/globals.h create mode 100644 src/gui.c create mode 100644 src/gui.h create mode 100644 src/gui_amiga.c create mode 100644 src/gui_amiga.h create mode 100644 src/gui_at_fs.c create mode 100644 src/gui_at_sb.c create mode 100644 src/gui_at_sb.h create mode 100644 src/gui_athena.c create mode 100644 src/gui_beos.cc create mode 100644 src/gui_beos.h create mode 100644 src/gui_beval.c create mode 100644 src/gui_beval.h create mode 100644 src/gui_gtk.c create mode 100644 src/gui_gtk_f.c create mode 100644 src/gui_gtk_f.h create mode 100644 src/gui_gtk_vms.h create mode 100644 src/gui_gtk_x11.c create mode 100644 src/gui_mac.c create mode 100644 src/gui_mac.icns create mode 100644 src/gui_mac.r create mode 100644 src/gui_motif.c create mode 100644 src/gui_photon.c create mode 100644 src/gui_riscos.c create mode 100644 src/gui_riscos.h create mode 100644 src/gui_w16.c create mode 100644 src/gui_w32.c create mode 100644 src/gui_w32_rc.h create mode 100644 src/gui_w48.c create mode 100644 src/gui_x11.c create mode 100644 src/guiw16rc.h create mode 100644 src/gvim.exe.mnf create mode 100644 src/hangulin.c create mode 100644 src/if_cscope.c create mode 100644 src/if_cscope.h create mode 100644 src/if_ole.cpp create mode 100644 src/if_ole.h create mode 100644 src/if_ole.idl create mode 100644 src/if_perl.xs create mode 100644 src/if_perlsfio.c create mode 100644 src/if_python.c create mode 100644 src/if_ruby.c create mode 100644 src/if_sniff.c create mode 100644 src/if_sniff.h create mode 100644 src/if_tcl.c create mode 100644 src/if_xcmdsrv.c create mode 100644 src/iid_ole.c create mode 100644 src/infplist.xml create mode 100644 src/integration.c create mode 100644 src/integration.h create mode 100644 src/keymap.h create mode 100644 src/link.390 create mode 100755 src/link.sh create mode 100644 src/macros.h create mode 100644 src/main.aap create mode 100644 src/mark.c create mode 100644 src/mbyte.c create mode 100644 src/memfile.c create mode 100644 src/memline.c create mode 100644 src/menu.c create mode 100644 src/message.c create mode 100644 src/misc1.c create mode 100644 src/misc2.c create mode 100755 src/mkinstalldirs create mode 100644 src/move.c create mode 100644 src/mysign create mode 100644 src/nbdebug.c create mode 100644 src/nbdebug.h create mode 100644 src/netbeans.c create mode 100644 src/normal.c create mode 100644 src/ops.c create mode 100644 src/option.c create mode 100644 src/option.h create mode 100644 src/os_amiga.c create mode 100644 src/os_amiga.h create mode 100644 src/os_beos.c create mode 100644 src/os_beos.h create mode 100644 src/os_beos.rsrc create mode 100644 src/os_dos.h create mode 100644 src/os_mac.build create mode 100644 src/os_mac.c create mode 100644 src/os_mac.h create mode 100644 src/os_mac.rsr.hqx create mode 100644 src/os_mac.sit.hqx create mode 100644 src/os_macosx.c create mode 100644 src/os_mint.h create mode 100644 src/os_msdos.c create mode 100644 src/os_msdos.h create mode 100644 src/os_mswin.c create mode 100644 src/os_os2_cfg.h create mode 100644 src/os_qnx.c create mode 100644 src/os_qnx.h create mode 100644 src/os_riscos.c create mode 100644 src/os_riscos.h create mode 100644 src/os_unix.c create mode 100644 src/os_unix.h create mode 100644 src/os_unixx.h create mode 100644 src/os_vms.c create mode 100644 src/os_vms_conf.h create mode 100644 src/os_vms_fix.com create mode 100644 src/os_vms_mms.c create mode 100644 src/os_w32dll.c create mode 100644 src/os_w32exe.c create mode 100644 src/os_win16.c create mode 100644 src/os_win16.h create mode 100644 src/os_win32.c create mode 100644 src/os_win32.h create mode 100755 src/osdef.sh create mode 100644 src/osdef1.h.in create mode 100644 src/osdef2.h.in create mode 100755 src/pathdef.sh create mode 100644 src/po/Make_ming.mak create mode 100644 src/po/Make_mvc.mak create mode 100644 src/po/Makefile create mode 100644 src/po/README.txt create mode 100644 src/po/README_mingw.txt create mode 100644 src/po/README_mvc.txt create mode 100644 src/po/af.po create mode 100644 src/po/ca.po create mode 100644 src/po/cleanup.vim create mode 100644 src/po/cs.cp1250.po create mode 100644 src/po/cs.po create mode 100644 src/po/de.po create mode 100644 src/po/en_GB.po create mode 100644 src/po/es.po create mode 100644 src/po/fr.po create mode 100644 src/po/it.po create mode 100644 src/po/ja.po create mode 100644 src/po/ja.sjis.po create mode 100644 src/po/ko.po create mode 100644 src/po/no.po create mode 100644 src/po/pl.cp1250.po create mode 100644 src/po/pl.po create mode 100644 src/po/ru.cp1251.po create mode 100644 src/po/ru.po create mode 100644 src/po/sjiscorr.c create mode 100644 src/po/sk.cp1250.po create mode 100644 src/po/sk.po create mode 100644 src/po/sv.po create mode 100644 src/po/uk.po create mode 100644 src/po/zh_CN.UTF-8.po create mode 100644 src/po/zh_CN.cp936.po create mode 100644 src/po/zh_CN.po create mode 100644 src/po/zh_TW.UTF-8.po create mode 100644 src/po/zh_TW.po create mode 100644 src/proto.h create mode 100644 src/proto/buffer.pro create mode 100644 src/proto/charset.pro create mode 100644 src/proto/diff.pro create mode 100644 src/proto/digraph.pro create mode 100644 src/proto/edit.pro create mode 100644 src/proto/eval.pro create mode 100644 src/proto/ex_cmds.pro create mode 100644 src/proto/ex_cmds2.pro create mode 100644 src/proto/ex_docmd.pro create mode 100644 src/proto/ex_eval.pro create mode 100644 src/proto/ex_getln.pro create mode 100644 src/proto/fileio.pro create mode 100644 src/proto/fold.pro create mode 100644 src/proto/getchar.pro create mode 100644 src/proto/gui.pro create mode 100644 src/proto/gui_amiga.pro create mode 100644 src/proto/gui_athena.pro create mode 100644 src/proto/gui_beos.pro create mode 100644 src/proto/gui_beval.pro create mode 100644 src/proto/gui_gtk.pro create mode 100644 src/proto/gui_gtk_x11.pro create mode 100644 src/proto/gui_mac.pro create mode 100644 src/proto/gui_motif.pro create mode 100644 src/proto/gui_photon.pro create mode 100644 src/proto/gui_riscos.pro create mode 100644 src/proto/gui_w16.pro create mode 100644 src/proto/gui_w32.pro create mode 100644 src/proto/gui_x11.pro create mode 100644 src/proto/hangulin.pro create mode 100644 src/proto/if_cscope.pro create mode 100644 src/proto/if_ole.pro create mode 100644 src/proto/if_perl.pro create mode 100644 src/proto/if_perlsfio.pro create mode 100644 src/proto/if_python.pro create mode 100644 src/proto/if_ruby.pro create mode 100644 src/proto/if_tcl.pro create mode 100644 src/proto/if_xcmdsrv.pro create mode 100644 src/proto/main.pro create mode 100644 src/proto/mark.pro create mode 100644 src/proto/mbyte.pro create mode 100644 src/proto/memfile.pro create mode 100644 src/proto/memline.pro create mode 100644 src/proto/menu.pro create mode 100644 src/proto/message.pro create mode 100644 src/proto/misc1.pro create mode 100644 src/proto/misc2.pro create mode 100644 src/proto/move.pro create mode 100644 src/proto/netbeans.pro create mode 100644 src/proto/normal.pro create mode 100644 src/proto/ops.pro create mode 100644 src/proto/option.pro create mode 100644 src/proto/os_amiga.pro create mode 100644 src/proto/os_beos.pro create mode 100644 src/proto/os_mac.pro create mode 100644 src/proto/os_msdos.pro create mode 100644 src/proto/os_mswin.pro create mode 100644 src/proto/os_qnx.pro create mode 100644 src/proto/os_riscos.pro create mode 100644 src/proto/os_unix.pro create mode 100644 src/proto/os_vms.pro create mode 100644 src/proto/os_win16.pro create mode 100644 src/proto/os_win32.pro create mode 100644 src/proto/pty.pro create mode 100644 src/proto/quickfix.pro create mode 100644 src/proto/regexp.pro create mode 100644 src/proto/screen.pro create mode 100644 src/proto/search.pro create mode 100644 src/proto/syntax.pro create mode 100644 src/proto/tag.pro create mode 100644 src/proto/term.pro create mode 100644 src/proto/termlib.pro create mode 100644 src/proto/ui.pro create mode 100644 src/proto/undo.pro create mode 100644 src/proto/version.pro create mode 100644 src/proto/window.pro create mode 100644 src/proto/workshop.pro create mode 100644 src/pty.c create mode 100644 src/quickfix.c create mode 100644 src/regexp.c create mode 100644 src/regexp.h create mode 100644 src/screen.c create mode 100644 src/search.c create mode 100644 src/structs.h create mode 100644 src/swis.s create mode 100644 src/syntax.c create mode 100644 src/tag.c create mode 100644 src/tearoff.bmp create mode 100644 src/tee/Makefile create mode 100644 src/tee/tee.c create mode 100644 src/term.c create mode 100644 src/term.h create mode 100644 src/termlib.c create mode 100644 src/testdir/Make_amiga.mak create mode 100644 src/testdir/Make_dos.mak create mode 100644 src/testdir/Make_os2.mak create mode 100644 src/testdir/Make_vms.mms create mode 100644 src/testdir/Makefile create mode 100644 src/testdir/amiga.vim create mode 100644 src/testdir/dos.vim create mode 100644 src/testdir/dotest.in create mode 100644 src/testdir/main.aap create mode 100644 src/testdir/os2.vim create mode 100644 src/testdir/test1.in create mode 100644 src/testdir/test1.ok create mode 100644 src/testdir/test10.in create mode 100644 src/testdir/test10.ok create mode 100644 src/testdir/test10a.in create mode 100644 src/testdir/test10a.ok create mode 100644 src/testdir/test11.in create mode 100644 src/testdir/test11.ok create mode 100644 src/testdir/test12.in create mode 100644 src/testdir/test12.ok create mode 100644 src/testdir/test13.in create mode 100644 src/testdir/test13.ok create mode 100644 src/testdir/test14.in create mode 100644 src/testdir/test14.ok create mode 100644 src/testdir/test15.in create mode 100644 src/testdir/test15.ok create mode 100644 src/testdir/test16.in create mode 100644 src/testdir/test16.ok create mode 100644 src/testdir/test17.in create mode 100644 src/testdir/test17.ok create mode 100644 src/testdir/test17a.in create mode 100644 src/testdir/test18.in create mode 100644 src/testdir/test18.ok create mode 100644 src/testdir/test19.in create mode 100644 src/testdir/test19.ok create mode 100644 src/testdir/test2.in create mode 100644 src/testdir/test2.ok create mode 100644 src/testdir/test20.in create mode 100644 src/testdir/test20.ok create mode 100644 src/testdir/test21.in create mode 100644 src/testdir/test21.ok create mode 100644 src/testdir/test22.in create mode 100644 src/testdir/test22.ok create mode 100644 src/testdir/test23.in create mode 100644 src/testdir/test23.ok create mode 100644 src/testdir/test24.in create mode 100644 src/testdir/test24.ok create mode 100644 src/testdir/test25.in create mode 100644 src/testdir/test25.ok create mode 100644 src/testdir/test26.in create mode 100644 src/testdir/test26.ok create mode 100644 src/testdir/test27.in create mode 100644 src/testdir/test27.ok create mode 100644 src/testdir/test28.in create mode 100644 src/testdir/test28.ok create mode 100644 src/testdir/test29.in create mode 100644 src/testdir/test29.ok create mode 100644 src/testdir/test3.in create mode 100644 src/testdir/test3.ok create mode 100644 src/testdir/test30.in create mode 100644 src/testdir/test30.ok create mode 100644 src/testdir/test31.in create mode 100644 src/testdir/test31.ok create mode 100644 src/testdir/test32.in create mode 100644 src/testdir/test32.ok create mode 100644 src/testdir/test33.in create mode 100644 src/testdir/test33.ok create mode 100644 src/testdir/test34.in create mode 100644 src/testdir/test34.ok create mode 100644 src/testdir/test35.in create mode 100644 src/testdir/test35.ok create mode 100644 src/testdir/test36.in create mode 100644 src/testdir/test36.ok create mode 100644 src/testdir/test37.in create mode 100644 src/testdir/test37.ok create mode 100644 src/testdir/test38.in create mode 100644 src/testdir/test38.ok create mode 100644 src/testdir/test39.in create mode 100644 src/testdir/test39.ok create mode 100644 src/testdir/test4.in create mode 100644 src/testdir/test4.ok create mode 100644 src/testdir/test40.in create mode 100644 src/testdir/test40.ok create mode 100644 src/testdir/test41.in create mode 100644 src/testdir/test41.ok create mode 100644 src/testdir/test42.in create mode 100644 src/testdir/test42.ok create mode 100644 src/testdir/test43.in create mode 100644 src/testdir/test43.ok create mode 100644 src/testdir/test44.in create mode 100644 src/testdir/test44.ok create mode 100644 src/testdir/test45.in create mode 100644 src/testdir/test45.ok create mode 100644 src/testdir/test46.in create mode 100644 src/testdir/test46.ok create mode 100644 src/testdir/test47.in create mode 100644 src/testdir/test47.ok create mode 100644 src/testdir/test48.in create mode 100644 src/testdir/test48.ok create mode 100644 src/testdir/test49.in create mode 100644 src/testdir/test49.ok create mode 100644 src/testdir/test49.vim create mode 100644 src/testdir/test5.in create mode 100644 src/testdir/test5.ok create mode 100644 src/testdir/test50.in create mode 100644 src/testdir/test50.ok create mode 100644 src/testdir/test51.in create mode 100644 src/testdir/test51.ok create mode 100644 src/testdir/test52.in create mode 100644 src/testdir/test52.ok create mode 100644 src/testdir/test6.in create mode 100644 src/testdir/test6.ok create mode 100644 src/testdir/test7.in create mode 100644 src/testdir/test7.ok create mode 100644 src/testdir/test8.in create mode 100644 src/testdir/test8.ok create mode 100644 src/testdir/test9.in create mode 100644 src/testdir/test9.ok create mode 100644 src/testdir/todos.vim create mode 100644 src/testdir/unix.vim create mode 100644 src/testdir/vms.vim create mode 100644 src/toolbar.phi create mode 100755 src/toolcheck create mode 100644 src/tools.bmp create mode 100644 src/tools16.bmp create mode 100644 src/typemap create mode 100644 src/ui.c create mode 100644 src/undo.c create mode 100644 src/uninstal.c create mode 100644 src/version.c create mode 100644 src/version.h create mode 100644 src/vim.def create mode 100644 src/vim.h create mode 100644 src/vim.ico create mode 100644 src/vim.rc create mode 100644 src/vim.tlb create mode 100644 src/vim16.def create mode 100644 src/vim16.rc create mode 100644 src/vim_alert.ico create mode 100644 src/vim_error.ico create mode 100644 src/vim_icon.xbm create mode 100644 src/vim_info.ico create mode 100644 src/vim_mask.xbm create mode 100644 src/vim_quest.ico create mode 100644 src/vimrun.c create mode 100755 src/vimtbar.dll create mode 100644 src/vimtbar.h create mode 100644 src/vimtbar.lib create mode 100755 src/vimtutor create mode 100755 src/which.sh create mode 100644 src/window.c create mode 100644 src/workshop.c create mode 100644 src/workshop.h create mode 100644 src/wsdebug.c create mode 100644 src/wsdebug.h create mode 100644 src/xpm_w32.c create mode 100644 src/xpm_w32.h create mode 100644 src/xxd/Make_amiga.mak create mode 100644 src/xxd/Make_bc3.mak create mode 100644 src/xxd/Make_bc5.mak create mode 100644 src/xxd/Make_cyg.mak create mode 100644 src/xxd/Make_djg.mak create mode 100644 src/xxd/Make_mvc.mak create mode 100644 src/xxd/Make_os2.mak create mode 100644 src/xxd/Make_vms.mms create mode 100644 src/xxd/Makefile create mode 100644 src/xxd/xxd.c (limited to 'src') diff --git a/src/INSTALL b/src/INSTALL new file mode 100644 index 0000000000..b1aa6a879f --- /dev/null +++ b/src/INSTALL @@ -0,0 +1,427 @@ +INSTALL - Installation of Vim on different machines. + +This file contains instructions for compiling Vim. If you already have an +executable version of Vim, you don't need this. + +Contents: +1. Generic +2. Unix +3. RISC OS +4. Macintosh +5. OS/2 (with EMX 0.9b) +6. Atari MiNT + +For OS/390 Unix see ../runtime/doc/os_390.txt +For BeBox see ../runtime/doc/os_beos.txt. +For Amiga see INSTALLami.txt +For PC (MS-DOS, Windows NT, Windows 95) see INSTALLpc.txt +For Macintosh see INSTALLmac.txt + + +1. Generic +========== + +If you compile Vim without specifying anything, you will get the default +behaviour as is documented, which should be fine for most people. + +For features that you can't enable/disable in another way, you can edit the +file "feature.h" to match your preferences. + + +2. Unix +======= + +Summary: +1. make run configure, compile and link +2. make install installation in /usr/local + +This will include the GUI and X11 libraries, if you have them. If you want a +version of Vim that is small and starts up quickly, see the Makefile for how +to disable the GUI and X11. If you don't have Motif and/or X11, these +features will be disabled automatically. + +See the start of Makefile for more detailed instructions about how to compile +Vim. + +If you need extra compiler and/or linker arguments, set $CFLAGS and/or $LIBS +before starting configure. Example: + + env CFLAGS=-I/usr/local/include LIBS=-lm make + +This is only needed for things that configure doesn't offer a specific argument +for or figures out by itself. First try running configure without extra +arguments. + +GNU Autoconf and a few other tools have been used to make Vim work on many +different Unix systems. The advantage of this is that Vim should compile +on most sytems without any adjustments. The disadvantage is that when +adjustments are required, it takes some time to understand what is happening. + +If configure finds all library files and then complains when linking that some +of them can't be found, your linker doesn't return an error code for missing +libraries. Vim should be linked fine anyway, mostly you can just ignore these +errors. + +If you run configure by hand (not using the Makefile), remember that any +changes in the Makefile have no influence on configure. This may be what you +want, but maybe not! + +The advantage of running configure separately, is that you can write a script +to build Vim, without changing the Makefile or feature.h. Example (using sh): + + CFLAGS=-DCOMPILER_FLAG ./configure --enable-gui=motif + +One thing to watch out for: If the configure script itself changes, running +"make" will execute it again, but without your arguments. Do "make clean" and +run configure again. + +If you are compiling Vim for several machines, for each machine: + a. make shadow + b. mv shadow machine_name + c. cd machine_name + d. make; make install + +[Don't use a path for machine_name, just a directory name, otherwise the links +that "make shadow" creates won't work.] + + +Unix: COMPILING WITH/WITHOUT GUI + +These configure arguments can be used to select which GUI to use: +--enable-gui= gtk, motif, athena or auto +--disable-gtk-check +--disable-motif-check +--disable-athena-check + +--enable-gui defaults to "auto", so it will automatically look for a GUI (in +the order of GTK, Motif, then Athena). If one is found, then is uses it and +does not proceed to check any of the remaining ones. Otherwise, it moves on +to the next one. + +--enable-{gtk,motif,athena}-check all default to "yes", such that if +--enable-gui is "auto" (which it is by default), GTK, Motif, and Athena will +be checked for. If you want to *exclude* a certain check, then you use +--disable-{gtk,motif,athena}-check. + +For example, if --enable-gui is set to "auto", but you don't want it look for +Motif, you then also specify --disable-motif-check. This results in only +checking for GTK and Athena. + +Lastly, if you know which one you want to use, then you can just do +--enable-gui={gtk,motif,athena}. So if you wanted to only use Motif, then +you'd specify --enable-gui=motif. Once you specify what you want, the +--enable-{gtk,motif,athena}-check options are ignored. + +For compiling with the GTK+ GUI, you need a recent version of glib and gtk+. +Configure checks for at least version 1.1.16, but below 2.0. An older versions +is not selected automatically. If you want to use it anyway, run configure +with "--disable-gtktest". GTK 2.0 doesn't work yet. +GTK requires an ANSI C compiler. If you fail to compile Vim with GTK+ (it +is the preferred choice), try selecting another one in the Makefile. +If you are sure you have GTK installed, but for some reason configure says you +do not, you may have left-over header files and/or library files from an older +(and incompatible) version of GTK. if this is the case, please check +auto/config.log for any error messages that may give you a hint as to what's +happening. + +Unix: COMPILING WITH MULTI-BYTE + +When you want to compile with the multi-byte features enabled, make sure you +compile on a machine where the locale settings actually work. otherwise the +configure tests may fail. You need to compile with "big" features: + + ./configure --with-features=big + +Unix: COMPILING ON LINUX + +On Linux, when using -g to compile (which is default for gcc), the executable +will probably be statically linked. If you don't want this, remove the -g +option from CFLAGS. + +Unix: PUTTING vimrc IN /etc + +Some Linux distributions prefer to put the global vimrc file in /etc, and the +Vim runtime files in /usr. This can be done with: + ./configure --prefix=/usr + make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim MAKE="make -e" + +Unix: COMPILING ON NeXT + +Add the "-posix" argument to the compiler by using one of these commands: + setenv CC 'cc -posix' (csh) + export CC='cc -posix' (sh) +And run configure with "--disable-motif-check". + + +3. RISC OS +============= + +Much file renaming is needed before you can compile anything. +You'll need UnixLib to link against, GCC and GNU make. + +I suggest you get the RISC OS binary distribution, which includes the +Templates file and the loader. + +Try here: http://www.ecs.soton.ac.uk/~tal197 + +Do + :help riscos + +within the editor for more information, or read the os_riscos.txt help file. + + +4. Macintosh +============ + +Vim should work on the Macintosh, but I don't have a makefile for it. +Work is being done to update the Macintosh port. It's a lot of work; don't +expect it soon. + + +5. OS/2 +======= + +Summary: +ren Makefile Makefile.unix +ren makefile.os2 Makefile +make + +This port of Vim to OS/2 is based on the emx environment together +with GNU C. The main design goal of emx is to simplify porting Unix +software to OS/2 and DOS. Because of this, almost all the Unix defines +etc. already existing in the Vim source code could be reused. Only where +OS/2 specifics came into play were additional changes necessary. Those +places can be found by searching for "OS2" and "__EMX__" (I've tried to +keep emx-specific things separate from generic OS/2 stuff). + +Note: This OS/2 port works well for me and an additional OS/2 user on + the Vim development team (Karsten Sievert); however, since I + haven't had any other feedback from other people, that either + means no (OS/2-specific) bugs exist, or no one has yet created + a situation in which any bugs are apparent. + Report any problems or other comments to paul@wau.mis.ah.nl + (email valid up to at least September 1996, after that try + paul@wurtel.hobby.nl, paul@murphy.nl, or paulS@toecompst.nl). + Textmode/notextmode and binary mode both seem to work well. + +Prerequisites: +- To compile, you need the emx environment (at least rev. 0.9b), GCC, + some make utility (GNU make works fine). These are generally + available as (ask Archie about them): + emxrt.zip emx runtime package + emxdev.zip emx development system (without compiler) + GNU programs compiled for emx, patches and patched sources: + gnudev1.zip GNU development tools compiled for emx (part 1) + gnudev2.zip GNU development tools compiled for emx (part 2) + gnumake.zip GNU make +- Don't set a TERM environment variable; Vim defaults to os2ansi + which is available as a builtin termcap entry. Using other values + may give problems! (OS/2 ANSI emulation is quite limited.) If you + need to set TERM for other programs, you may consider putting + set term=os2ansi in the vimrc file. + +Check vim_os2.txt for additional info on running Vim. + + +6. Atari MiNT +============= + + +To compile Vim for MiNT you may either copy makefile.mint to Makefile or use +the Unix Makefile adapted for the MiNT configuration. + +Now proceed as described in the Unix section. + +Prerequisites: + +You need a curses or termcap library that supports non-alphanumeric +termcap names. If you don't have any, link with termlib.o. + +----------------------------------------------------------------------------- + +The rest of this file is based on the INSTALL file that comes with GNU +autoconf 2.12. Not everything applies to Vim. Read Makefile too! + + +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. diff --git a/src/INSTALLami.txt b/src/INSTALLami.txt new file mode 100644 index 0000000000..0acd6fdffe --- /dev/null +++ b/src/INSTALLami.txt @@ -0,0 +1,34 @@ +INSTALLami.txt - Installation of Vim from source on Amiga + +This file contains instructions for compiling Vim. If you already have an +executable version of Vim, you don't need this. + +The file "feature.h" can be edited to match your preferences. You can skip +this, then you will get the default behavior as is documented, which should +be fine for most people. + + +Summary: +make -f Make_manx.mak Manx C +make -f Make_sas.mak Lattice/SAS C +make -f Make_dice.mak DICE + +The Manx compiler is preferred, it was used to produce the Amiga executable +and has been tested most. You should not get any errors or warnings. + +The SAS compiler can be used. Older versions (6.0 to 6.3) don't work with the +optimizer switched on. This seems to be fixed with 6.5 or 6.56, but this has +not been tested much. Also disable optimizing when the compiler runs out of +memory or crashes the system (yes, that happens; did I say the Manx compiler +is preferred?). + +The DICE makefile has been reported to work by one person only. + +You will have to set the "VIM" environment variable to the location of the +documentation files. + + +MorphOS + +Use the Make_morph.mak Makefile: + make -f Make_morph.mak diff --git a/src/INSTALLmac.txt b/src/INSTALLmac.txt new file mode 100644 index 0000000000..8b944c3799 --- /dev/null +++ b/src/INSTALLmac.txt @@ -0,0 +1,164 @@ +INSTALLmac.txt - Installation of Vim on Macintosh + +This file contains instructions for compiling Vim. If you already have an +executable version of Vim, you don't need this. + +An alternate way of building that Benji Fisher uses can be found here: + + http://macvim.swdev.org/OSX/#Developers + +---------------------------------------------------------------------------- +Summary +---------------------------------------------------------------------------- + +1 MacOS X + 1.1. Carbon interface + 1.2. X (Athena, GTK, Motif) or plain text. + +2 MacOS Classic + 2.1. CodeWarrior + 2.2. MPW + +NOTE: The Carbon version can only be compiled properly under + MacOS X. + +---------------------------------------------------------------------------- +1 MacOS X +---------------------------------------------------------------------------- + +1.0 Considerations + + Only '/' supported as path separator. + +1.1 Carbon interface (default) + + You can compile vim with the standard Unix routine: + cd .. + ./configure + make; make install + + This will create a working Vim.app application bundle in the src + directory. You can move this bundle (the Vim.app directory) anywhere + you want, for example, /Applications. + +1.2 X-Windows or Plain Text + + If you do not want the Carbon interface, you must explicitly tell + configure to use a different GUI. + + cd .. + ./configure --enable-gui=gtk2 + make; make install + + NOTE: The following GUI options are supported: + no (for text), motif, athena, nextaw + gtk, gtk2, gnome, gnome2, + + NOTE: You need to first install XFree86 and XDarwin. + Please visit http://www.XDarwin.org + +---------------------------------------------------------------------------- +MacOS 9 +---------------------------------------------------------------------------- + +Both ':' and '/' supported as path separator. + +2.1: Compiling with CodeWarior + + 1. Expand the resource file: + open ../src/os_mac.rsr.hqx to produce ../src/gui_mac.rsrc: + % cd vim62/src + % open -a StuffIt\ Expander os_mac.rsr.hqx + + 2. Expand the project file: + - ../src/os_mac.sit.hqx (to produce ../src/vim.mcp) + + 3. Open vim.mcp with CodeWarior + + This is a CodeWarior 9 project file. When using a newer version, + you need to convert the file. you may also need to change some + access path. + + NOTE: the current project file is old, you need to add a few files: + (ex_cmds2.c, fold.c, mbyte.c, move.c) + + 4. Select the target PPC, 68k FAT (with/without debugger) + + 5. Compile + +2.2: Compiling with MPW. + + 0. You will need a recent version of the MPW and the Universal Interfaces. + You can get both at: + ftp://ftp.apple.com/developer/Tool_Chest/Interfaces-Libraries/ + ftp://ftp.apple.com/developer/Tool_Chest/Core_Mac_OS_Tools/ + For a Carbon version you will need a recent Carbon SDK as well. + (When you have an older version already installed you not be able to + compile a carbon version. Update "CreateMake" which is available at + Apple. + + 1. Expand the resource file: + open ../src/os_mac.rsr.hqx to produce ../src/gui_mac.rsrc: + % cd vim62/src + % open -a StuffIt\ Expander os_mac.rsr.hqx + + 3. Double click on os_make.make, the MPW will now open in the correct + folder and load the CreateVimMake script. Change to the Worksheet + window. Type "os_mac.build" and hit Enter (not Return). A dialog box + will appear. Select the target you want. (Vim-68k, Vim-ppc, Vim-carbon) + + 4. Select "Build" from the menu (or type command-B). Type the program name + into the dialog box. + +------------------------------------------------------ + +OLD FILE: SOME INFO MAY STILL BE USEFUL + +NOTE: Users of more recent CodeWarrior version may have to reset the library + path, and change the mch_delay in os_mac.c so the finalTick is unsigned. + +Compilation instructions: + +1. Visit the Vim ftp site (see ftp://ftp.vim.org/pub/vim/MIRRORS) + and obtain the following five files: + + unix/vim-X.X-src1.tar.gz + unix/vim-X.X-src2.tar.gz + unix/vim-X.X-rt1.tar.gz + unix/vim-X.X-rt2.tar.gz + extra/vim-X.X-extra.tar.gz + + where X.X is the version number. + + NOTE: the language support is not yet supported + +2. Expand the archives. + +3. Apply patches if they exist. (Patch files are found in the ftp + site in the "patches" directory.) + +4. Edit vim-X.X/src/feature.h for your preference. (You can skip + this, then you will get the default behavior as is documented, + which should be fine for most people.) + + For example, if you want to add the FEAT_MBYTE feature, turn on + #define FEAT_MBYTE + +5. Expand the resource file: + + - vim-X.X/src/os_mac.rsr.hqx (to produce vim-X.X/src/gui_mac.rsrc) + +6. If using CodeWarrior, expand the project file: + + - vim-X.X/src/os_mac.sit.hqx (to produce vim-X.X/src/vim.mcp) + + The latter file is the CodeWarrior project file to be used. + +7. Launch CodeWarrior by double clicking vim.mcp. + +8. Check additional files if you include non-standard features. + + For example, if you added the MULTI_BYTE feature, check + Extras/mbyte.c in the project window. + +9. Compile and you will obtain binaries: vimPPC, Vim 68k, and/or vimFAT. diff --git a/src/INSTALLpc.txt b/src/INSTALLpc.txt new file mode 100644 index 0000000000..1e7d3297a4 --- /dev/null +++ b/src/INSTALLpc.txt @@ -0,0 +1,310 @@ +INSTALLpc.txt - Installation of Vim on PC + +This file contains instructions for compiling Vim. If you already have an +executable version of Vim, you don't need this. + +More information can be found here: + + http://mywebpage.netscape.com/sharppeople/vim/howto/ + +The file "feature.h" can be edited to match your preferences. You can skip +this, then you will get the default behavior as is documented, which should +be fine for most people. + + +Contents: +1. MS-DOS +2. Win32 (Windows NT and