VIM on Open VMS Information Page



What is Vim?

VIM (Vi IMproved) is a vi-compatible text editor that runs on nearly every operating system known to humanity. Now use Vim on Open VMS too, in character or X/Motif environment. It is fully featured and absolutely compatible with Vim on other operating systems as Unix, OS/2, BeOS or Windows.

Where can I find out more about Vim and VMS?

Official VIM Home Page http://www.vim.org
VIM Users Page http://www.vim.org/users.html
Vi Lovers Home Page http://www.thomer.com/thomer/vi/vi.html
All About VI and its clones http://www.math.fu-berlin.de/~guckes/vi/
Information about the VMS operating system http://www.polarfox.com/vms


Online Vim ref. manual v6.1 in HTML http://www.polarfox.com/vim/manual/v61
Online Vim user manual v6.1 in HTML http://www.polarfox.com/vim/manual/v61
Online OpenVMS users manual v6.1 http://www.polarfox.com/vim/manual/v61


Developer releases, new sources http://www.polarfox.com/vim
Older releases, helps, sources http://www.polarfox.com/vim/old.html
CTAGS development on VMS, sources http://www.polarfox.com/ctags
Online http Vim on VMS file archive http://www.polarfox.com/vim/files
Online ftp Vim on VMS file archive ftp://ftp.polarfox.com/pub/vim

Current Version Information

Current release from 6.0.270... - not available. (It is almost the same as developer release with different patch numbers)
Developers release is 6.1b-23 ( status: TESTED - download ready)

Open VMS Vim Binaries

These links provide you with binaries for the Open VMS on Alpha and VAX of Vim 6.0. All binaries were compiled using all the default settings. Please, check the comments for enabled GUI mode or terminal only mode executables.

Binary Version Information

:version
VIM - Vi IMproved 6.1b BETA (2002 Mar 10, compiled Mar 18 2002 11:27:31)
OpenVMS version
Included patches: 1-2, 4-21, 23, 3, 22
Compiled by ZAY@PLUTO::pluto.essnet.se
Big version with X11-Motif GUI.  Features included (+) or not (-):
+autocmd -balloon_eval +browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard
+cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv -cscope +dialog_con_gui +diff
+digraphs -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path
+folding -footer -gettext -hangul_input -iconv +insert_expand +jumplist +keymap +langmap -libcall
+linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse +mouseshape
+mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte +multi_lang
-osfiletype +path_extra -perl +postscript +printer -python +quickfix +rightleft -ruby +scrollbind
+signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static
-tag_any_white -tcl +tgetent +termresponse +textobjects +title -toolbar +user_commands +vertsplit
+virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows -writebackup
+X11 +xfontset -xim +xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "sys$login:.vimrc"
 2nd user vimrc file: "sys$login:_vimrc"
      user exrc file: "sys$login:.exrc"
  2nd user exrc file: "sys$login:_exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "sys$login:.gvimrc"
2nd user gvimrc file: "sys$login:_gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
Compilation:
cc/decc /incl=[] /def=(FEAT_BIG,HAVE_CONFIG_H,FEAT_GUI_MOTIF) /opt/prefix=all/include=[.proto]
Compiler: Compaq C V6.4-008 on OpenVMS Alpha V7.1
Linking: link  /exe=vim.exe *.obj ,OS_VMS.OPT/OPT


Test cases and environment

Compilers:
DEC C V6.0-001 on OpenVMS Alpha V6.2-1H3
DEC C V6.0-001 on OpenVMS Alpha V7.1-2
Compaq C V6.2-009 on OpenVMS Alpha V7.2-1
Compaq C V6.4-008 on OpenVMS Alpha V7.1
DEC C V6.0-001 on OpenVMS VAX V6.2
DEC C V6.0-001 on OpenVMS VAX V7.2

CTAGS and XXD are compilable with VAXC without modifications.

Make utilities:
%MMS-I-IDENT, MMS V3.3-4 © Digital Equipment Corporation 1989, 1998. All rights reserved. © Electronic Data Systems Limited 1995, 1998
%MMS-I-IDENT, MMS V3.4-3 © Compaq Computer Corporation 2000. © Electronic Data Systems Limited 1995, 2000
%MMK-I-IDENT, this is the MadGoat Make Utility V3.4-10
-MMK-I-COPYRIGHT, Copyright © 1992-1996, MadGoat Software.  All Rights Reserved.
%MMK-I-IDENT, this is the MadGoat Make Utility V3.9-2
-MMK-I-COPYRIGHT, Copyright © 1992-2001, MadGoat Software.  All Rights Reserved.

Tests: all passed but,
Test 21 : Failed on 7.1 systems and lower  (VAX, Alpha)
Test 32 : Failed on 7.1 systems and lower  (VAX, Alpha)
Test 47 : Failed - VMS diff not implemented yet. (have to use Unix like diff, provided in GNU_TOOLS below)

NOTE:
For compatibility reasons executables has been built on lowest available OpenVMS version.
Currently v7.1 for Alpha and v6.2 for VAX environment.
 

Environment

You should define only one important logical for proper response of  help command, syntax files and menus: $VIM
Please, put this line to your LOGIN.COM

$ define VIM <full path to VIM directory>

System menu file should be (actually just in GUI mode): "$VIM:menu.vim" or defined by command source <path>menu.vim in .gvimrc
Exemple part of LOGIN.COM vim related lines:

$ define vim RF10:[UTIL.VIM]                             ! vim main directory.
$ vi*m  :== mcr VIM:VIM.EXE                            ! vi starts vim in chr. mode.
$ gv*im :== spawn/nowait mcr VIM:VIM.EXE -g   ! gvi starts vim in GUI mode.

You can find more information about setting up the the environment in os_vms.txt ... command :help vms from Vim

How does it look like now? Check some screen shots
Live demonstartion at gate.polarhome.com port 702 (username: guest  password: guest)
If you are VIM developer on OpenVMS without develpment environment, please apply for account at root@polarhome.com


Download Files

vim-61-exe-alpha-gui.zip(Alpha) GUI binaries without documentation and runtime files - Alpha
vim-61-exe-alpha-term.zip(Alpha) Console binaries without documentation and runtime files - Alpha
vim-61-exe-vax-gui.zip (VAX) GUI binaries without documentation and runtime files - VAX 
vim-61-exe-vax-term.zip (VAX) Console binaries without documentation and runtime files - VAX 
vim-61-alpha.zip (Alpha) GUI and Console binaries with documentation, runtime files, CTAGS and XXD - Alpha
vim-61-vax.zip (VAX) GUI and Console binaries with documentation, runtime files, CTAGS and XXD - VAX
vim-6.1-rt1.tar.gz Runtime files - without executables (part 1) - version 6.1
vim-6.1-rt2.tar.gz Runtime files - without executables (part 2) - version 6.1
vim-61-src-vms.zip Source code used for compiling version 6.1 under OpenVMS
vim61html.zip Compressed Vim 6.1 manual in HTML read online


GNU tools (Alpha and VAX) GNU programs (diff, patch, make, gzip, tar, sed, gawk etc.) that Vim uses or because of Unix compatibility behave better with Vim than OpenVMS versions (optional - 1.475K)
unzip.exe (VAX) unzip utility for VAX (50K)
unzip.exe (Alpha) unzip utility for Alpha (123K)
mmk_vax.exe  MMK, free make utility for VAX (94K)
mmk_alpha.exe MMK, free make utility for Alpha (133K)
cvs_alpha.exe Concurrent Versions System (CVS) is a tool for version control
(more information at http://www.cyclic.com )

Anonymous FTP

... is available on polarfox.com (ftp://ftp.polarfox.com) now. Provider promised it for November 1999, but it came just in August 2000. :-(
Anyhow, I opened my home gateway for public use, so ftp://ftp.polarhome.com/ is waiting for anonymous ftp users too.

Bug rapport and fixes

You can send your bug rapport to vim-vms-bugs@polarfox.com or you can submit them into Bugzilla (bug tracking system) at http://www.polarhome.com/bugzilla/
Please, include among the detailed description: VIM version (command :ver), VMS version and platform (Alpha, VAX, etc). and if you have some compilation problems, please add the compiler version as well.

Here is the list of Vim enthusiasts who contributed in development, testing, bug rapport, suggestions, fixes, solutions and documentation for OpenVMS version so far.
 
Sándor Kopányi sandor.kopanyi@altavista.net
Henk Elbers  henk@xs4all.nl
Charles E Campbell, Jr cec@gryphon.gsfc.nasa.gov
Hal King hking@pstcc.cc.tn.us
Jerome Lauret JLAURET@mail.chem.sunysb.edu
David Elins delins@foliage.com
László Taska laszlo.taska@essnet.se
Patrick Moreau pmoreau@cena.dgac.fr
Stephen P. Wall hitched97@velnet.com
Zoltán Árpádffy arpadffy@altavista.net
Jan Kluka Jan.Kluka@st.fmph.uniba.sk
John W. Hamill jhamill3@ford.com
... and of course Bram Moolenaar (Bram@moolenaar.net) who put everything to new release.
 

Developers, BETA testers corner

If you're already working on some correction/addon, please send some announce to vim-vms@polarfox.com list, to minimise task overlaps.

Developers resource:http://www.polarfox.com/vim/files/developers
Vim on VMS archive:http://www.polarfox.com/vim/files or ftp://ftp.polarfox.com/pub/vim/
Recent Vim code     :http://vim.sourceforge.net/cvsdocs/ (CVS)
Recent Vim code    :http://www.polarhome.com/cvs/ (downloadable compressed packages)
Patches: ftp://ftp.fu-berlin.de/misc/editors/vim/patches/README
Last patch changes : vim6.1(link from www.vim.org)
Bugzilla tracking     :http://www.polarhome.com/bugzilla/
 

Official Changes (from OpenVMS point of view)

Version 6.0 (2001 Sep 28)
- Unix and VMS code has been merged
        - separated "really" VMS related code
        - included all possible Unix functionality
        - simplified or deleted the configuration files
        - makefile MAKE_VMS.MMS reviewed
- menu changes (fixed printing, CTAGS and XXD usage)
- fixed variable RMS record format handling anomaly
- corrected syntax, ftplugin etc files load
- changed expand_wildcards and expandpath functions to work more general
- created OS_VMS_FILTER.COM - DECC->VAXC pre-processor directive convert
  script.
- changed quickfix parameters:
        - errormessage format to suite DECC
        - search, make and other commands to suite VMS system
- updated and renamed MMS make files for Vim and CTAGS.
- CTAGS has been removed from source distribution of Vim but it will remain
  in OpenVMS binary distributions.
- simplified build/configuration procedure
- created INSTALLvms.txt - detailed compiling instructions under VMS.
- updated test scrips.
- OS_VMS.TXT updated with new features.
- other minor fixes.
- documentation updated
- this version had been tested much more than any other OpenVMS version earlier
- CTAGS v5.1 included

Version 5.8 (2001 Jun 1)
- New CTAGS v5.0 in disribution
- Documentation updated

Version 5.7 (2000 Jun 26)
- improved VAXC compatibility
- let it be SYS$LOGIN user's home for :cd command as well
- VMS filename related changes:
        - version handling (open everything, save to new version)
        - correct file extension matching for syntax (version problem)
        - handle <,> characters and passwords in directory definition
        - handle internode/remote invocation and editing with passwords
        - OpenVMS files will be treated case insensitive from now
        - corrected response of expand("%:.") etc path related functions
        (in one word: VMS directory handling internally)
- Version command
        - corrected (+,-) information data
        - added compiler and OS version
       - added user and host information
        - resolving $VIM and $VIMRUNTIME logicals
- VMS port is in MAX_FEAT (maximum features) club with Unix, Win32 and OS/2.
- Updated OS_VMS.MMS file.
        - maximum features ON is default
        - Vim is compilable with +perl, +python and +tcl features.
        - improved MMK compatibility
- Created MAKEFILE_VMS.MMS, makefile for testing Vim during development.
- Defined DEC terminal VT320
        - compatibility for VT3*0, VT2*0 and VT1*0 - ANSI terminals
          backwards, but not VT340 and newer with colour capability.
        - VT320 is default terminal for OpenVMS
        - these new terminals are also fast ttys (default for OpenVMS).
        - allowed dec_mouse ttym
- Updated files vimrc and gvimrc with VMS specific suggestions.
- OS_VMS.TXT updated with new features.
- Corrected make files for CTAGS and XXD
- Other fixes between patches 60-70
        - Unified buffer sizes (Unix, OS2, VMS)
        - Binary I/O fix
        - X/Motif title/icon fix
        - corrected patch 46 merge mistakes

Version 5.6 (2000 Jan 17)
- Popup menu line crash corrected.
- Handle full file names with version numbers.
- Directory handling (CD command etc.)
- Corrected file name conversion VMS to Unix and v.v.
- Correct response of expand wildcards
- Recovery is working from this version under VMS as well.
- Improved terminal and signal handing.
- Improved OS_VMS.TXT

Version 5.5 (1999 Dec 3)
- Cut & paste mismatch corrected.
- Motif directories during open and save are corrected.

Version 5.4 (1999 Sep 9)
- Minor changes in the code
- Standard distribution with +GUI option

Version 5.3 (1998 Oct 12)
- Syntax and DEC C changes in the code
- Fixing problems with the /doc subdirectory
- Improve OS_VMS.MMS

Version 5.1 (1998 Apr 21)

Version 4.5 (1996 Dec 16)
- First VMS port by Henk Elbers <henk@xs4all.nl>
 

Discussion list

vim-vms list is a very low traffic announce list for new releases, page updates, developer's notes etc.
Please, leave your e-mail address.

List archive can be found at http://groups.yahoo.com/group/vim-vms/.

Last Modified: Mon, Mar 18, 2002.
Zoltan Arpadffy (arpadffy@altavista.net)


Polarhome, production 1998-2002.
http://www.polarhome.com/vim/
Member of Polarhome portal.