home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / vim53os2.zip / vim-5.3 / doc / os_vms.txt < prev    next >
Text File  |  1998-08-30  |  3KB  |  89 lines

  1. *os_vms.txt*   For Vim version 5.3.  Last modification: 1998 Aug 17
  2.  
  3.  
  4.           VIM REFERENCE MANUAL    by Sandor Kopanyi
  5.  
  6.  
  7.                             *VMS*
  8. This file contains the particularities for the VMS version of Vim.
  9.  
  10. For compiling Vim on alpha running VMS, just invoke
  11.     mms /descrip=os_vms.mms
  12.  
  13. I've taken "make-file" (os_vms.mms) for ver 4.5, works fine.
  14. Changes: in proto.h and in termlib.c are included some .pro files;
  15. they are in subdir proto -> I've changed this lines (include *.pro
  16. to include proto/*.pro). Maybe not the best way :-(( but I'm a database
  17. guy (not a programmer) who needed a good editor ;-) on VMS.
  18.  
  19. I've worked (and compiled) only the console version, not the GUI. It's OK.
  20. The arrow keys didn't worked, I've mapped them:
  21.     :map <^V + Left-arrow> <LEFT>
  22. and so on.
  23.  
  24. Sandor Kopanyi
  25.  
  26.  
  27. Remarks from Bruce Hunsaker, who made later patches:
  28.  
  29. Here is some information about building VIM 5.1 for VMS.
  30. My experience is on DEC Alpha's running VMS 7.1.
  31.  
  32. 1) You will need VMS versions of tar and gzip to unpack the
  33.    distribution.  Trying to copy an already unpacked source tree
  34.    to VMS did not work well for me (via FTP).  Binaries for these
  35.    2 utilites are readily available on the WWW.
  36.  
  37. 2) You will need either the DECSET mms utility or the freely available
  38.    clone of it called mmk.  (VMS has no make utility in the standard
  39.    distribution.)  I found a binary of 'mmk' which worked well.
  40.  
  41. 3) I suggest unpacking the distribution to the location that will be
  42.    used at run-time.  This will avoid problems trying to decide
  43.    what to move to the final 'install' directory, since there is no
  44.    'install' target in the makefile.
  45.  
  46. 3) Once unpacked, change to the vim/src directory and do:
  47.         mmk/descrip=os_vms_x.mms
  48.    This builds a version of VIM with Terminal and X-windows support.
  49.  
  50.    To build just a character mode VIM do:
  51.         mmk/descrip=os_vms.mms
  52.    (or use 'mms' instead of 'mmk' if you have it)
  53.  
  54. 4) Copy the executable (vim.exe) to a common location. (I set up
  55.    a [usr.bin] directory for this.
  56.  
  57.  
  58. 5) To run, I added the following lines in my LOGIN.COM:
  59.  
  60.         $ vi*m :== $lib_disk:[usr.bin]vim.exe
  61.         $ define tmp tmp_disk:[tmp]
  62.         $ define vim "/lib_disk/usr/lib/vim-5_1/"
  63.         $ define vim_hlp lib_disk:[usr.lib.vim-5_1.doc]
  64.  
  65.     Your names for devices and directories will need to be changed
  66.     to match your system.
  67.  
  68.     After the setup is complete I run VIM with either 'vi' or 'vi -g'.
  69.     Note: 'vi -g' will not start in the background.  In order to do
  70.           that I have to resort to: 'pipe vi -g &' WARNING, this
  71.           breaks ':sh', but you can do ':!create/term/detach' to
  72.           spawn a sub-shell.
  73.  
  74. 6) Create .vimrc and .gvimrc files in your home directory.  I suggest
  75.    copying the supplied example files in the distribution, and using
  76.    them as a starting point.
  77.  
  78. 7) There are backspace/delete key inconsistencies with VMS.
  79.     :fixdel dosen't do the trick. I had to add:
  80.  
  81.         " for terminal mode
  82.         inoremap ^? ^H
  83.  
  84.         " for gui mode
  85.         inoremap <del> ^H
  86.  
  87.  
  88.  vim:ts=8:sw=8:tw=78:
  89.