blob: 619f4e409e9ce183027b62ab96d1ad090e0d754d [file] [log] [blame]
Bram Moolenaar86b48162022-12-06 18:20:10 +00001*os_vms.txt* For Vim version 9.0. Last change: 2022 Nov 25
Bram Moolenaar071d4272004-06-13 20:20:40 +00002
3
4 VIM REFERENCE MANUAL
5
6
7 *VMS* *vms*
8This file contains the particularities for the VMS version of Vim.
9You can reach this information file by typing :help VMS in Vim command
10prompt.
11
12 1. Getting started |vms-started|
13 2. Download files |vms-download|
14 3. Compiling |vms-compiling|
15 4. Problems |vms-problems|
16 5. Deploy |vms-deploy|
17 6. Practical usage |vms-usage|
18 7. GUI mode questions |vms-gui|
19 8. Useful notes |vms-notes|
20 9. VMS related changes |vms-changes|
2110. Authors |vms-authors|
22
23==============================================================================
24
251. Getting started *vms-started*
26
Bram Moolenaar7cba6c02013-09-05 22:13:31 +020027Vim (Vi IMproved) is a Vi-compatible text editor that runs on nearly every
Bram Moolenaar071d4272004-06-13 20:20:40 +000028operating system known to humanity. Now use Vim on OpenVMS too, in character
29or X/Motif environment. It is fully featured and absolutely compatible with
30Vim on other operating systems.
31
32==============================================================================
33
342. Download files *vms-download*
35
36You can download the Vim source code by ftp from the official Vim site:
37 ftp://ftp.vim.org/pub/vim/
38Or use one of the mirrors:
39 ftp://ftp.vim.org/pub/vim/MIRRORS
40
Bram Moolenaar071d4272004-06-13 20:20:40 +000041You can download precompiled executables from:
42 http://www.polarhome.com/vim/
43 ftp://ftp.polarhome.com/pub/vim/
44
45To use the precompiled binary version, you need one of these archives:
46
Bram Moolenaar5eba4c22005-07-12 22:40:29 +000047 vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
48 vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
49 vim-XX-exe-ia64-term.zip IA64 console executables
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000050 vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
51 vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
Bram Moolenaar5eba4c22005-07-12 22:40:29 +000052 vim-XX-exe-axp-term.zip Alpha console executables
Bram Moolenaar071d4272004-06-13 20:20:40 +000053 vim-XX-exe-vax-gui.zip VAX GUI executables
54 vim-XX-exe-vax-term.zip VAX console executables
55
Bram Moolenaarb475fb92006-03-02 22:40:52 +000056and of course (optional)
Bram Moolenaar071d4272004-06-13 20:20:40 +000057 vim-XX-runtime.zip runtime files
58
Bram Moolenaar5eba4c22005-07-12 22:40:29 +000059The binary archives contain: vim.exe, ctags.exe, xxd.exe files.
Bram Moolenaar071d4272004-06-13 20:20:40 +000060
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000061For GTK executables you will need GTKLIB that is available for
Bram Moolenaarb475fb92006-03-02 22:40:52 +000062Alpha and IA64 platform.
63
Bram Moolenaar071d4272004-06-13 20:20:40 +000064==============================================================================
65
663. Compiling *vms-compiling*
67
68See the file [.SRC]INSTALLVMS.TXT.
69
70==============================================================================
71
724. Problems *vms-problems*
73
Bram Moolenaar5eba4c22005-07-12 22:40:29 +000074The code has been tested under Open VMS 6.2 - 8.2 on Alpha, VAX and IA64
Bram Moolenaar7e6a5152021-01-02 16:39:53 +010075platforms with the DEC C compiler. It should work without major problems.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000076If your system does not have some include libraries you can tune up in
77OS_VMS_CONF.H file.
Bram Moolenaar071d4272004-06-13 20:20:40 +000078
79If you decided to build Vim with +perl, +python, etc. options, first you need
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000080to download OpenVMS distributions of Perl and Python. Build and deploy the
81libraries and change adequate lines in MAKE_VMS.MMS file. There should not be
82a problem from Vim side.
Bram Moolenaar071d4272004-06-13 20:20:40 +000083
Bram Moolenaar5eba4c22005-07-12 22:40:29 +000084Also GTK, XPM library paths should be configured in MAKE_VMS.MMS
85
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000086Note: Under VAX it should work with the DEC C compiler without problems. The
87VAX C compiler is not fully ANSI C compatible in pre-processor directives
Bram Moolenaar5302d9e2011-09-14 17:55:08 +020088semantics, therefore you have to use a converter program that will do the lion
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000089part of the job. For detailed instructions read file INSTALLvms.txt
Bram Moolenaar071d4272004-06-13 20:20:40 +000090
Bram Moolenaare7b1ea02020-08-07 19:54:59 +020091MMS_VIM.EXE is built together with VIM.EXE, but for XXD.EXE you should
Bram Moolenaar5302d9e2011-09-14 17:55:08 +020092change to a subdirectory and build it separately.
Bram Moolenaar071d4272004-06-13 20:20:40 +000093
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000094CTAGS is not part of the Vim source distribution anymore, however the OpenVMS
95specific source might contain CTAGS source files as described above.
Bram Moolenaar071d4272004-06-13 20:20:40 +000096You can find more information about CTAGS on VMS at
97http://www.polarhome.com/ctags/
98
Bram Moolenaar06b5d512010-05-22 15:37:44 +020099Advanced users may try some acrobatics in FEATURE.H file as well.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000100
101It is possible to compile with +xfontset +xim options too, but then you have
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000102to set up GUI fonts etc. correctly. See :help xim from Vim command prompt.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000103
104You may want to use GUI with GTK icons, then you have to download and install
105GTK for OpenVMS or at least runtime shareable images - LIBGTK from
106polarhome.com
Bram Moolenaar2a953fc2019-01-26 17:41:47 +0100107Post 7.2 Vim uses GTK2+ while the last GTK on OpenVMS is 1.2.10, therefore
Bram Moolenaar314dd792019-02-03 15:27:20 +0100108the GTK build is no longer available.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000109
110For more advanced questions, please send your problem to Vim on VMS mailing
111list <vim-vms@polarhome.com>
112More about the vim-vms list can be found at:
113http://www.polarhome.com/mailman/listinfo/vim-vms
114
115==============================================================================
116
1175. Deploy *vms-deploy*
118
119Vim uses a special directory structure to hold the document and runtime files:
120
121 vim (or wherever)
122 |- tmp
123 |- vim57
124 |----- doc
125 |----- syntax
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000126 |- vim62
Bram Moolenaar071d4272004-06-13 20:20:40 +0000127 |----- doc
128 |----- syntax
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000129 |- vim64
Bram Moolenaar071d4272004-06-13 20:20:40 +0000130 |----- doc
131 |----- syntax
132 vimrc (system rc files)
133 gvimrc
134
135Use: >
136
137 define/nolog VIM device:[path.vim]
138 define/nolog VIMRUNTIME device:[path.vim.vim60]
139 define/nolog TMP device:[path.tmp]
140
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100141To get vim.exe to find its document, filetype, and syntax files, and to
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000142specify a directory where temporary files will be located. Copy the "runtime"
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100143subdirectory of the Vim distribution to vimruntime.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000144
145Logicals $VIMRUNTIME and $TMP are optional.
146
147If $VIMRUNTIME is not set, Vim will guess and try to set up automatically.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000148Read more about it at :help runtime
Bram Moolenaar071d4272004-06-13 20:20:40 +0000149
150If $TMP is not set, you will not be able to use some functions as CTAGS,
151XXD, printing etc. that use temporary directory for normal operation.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000152The $TMP directory should be readable and writable by the user(s).
153The easiest way to set up $TMP is to define a logical: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000154
155 define/nolog TMP SYS$SCRATCH
156or as: >
157 define/nolog TMP SYS$LOGIN
158
159==============================================================================
160
1616. Practical usage *vms-usage*
162
163Usually, you want to run just one version of Vim on your system, therefore
164it is enough to dedicate one directory for Vim.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000165Copy the whole Vim runtime directory structure to the deployment position.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000166Add the following lines to your LOGIN.COM (in SYS$LOGIN directory).
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000167Set up the logical $VIM as: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000168
169 $ define VIM device:<path>
170
171Set up some symbols: >
172
173 $ ! vi starts Vim in chr. mode.
174 $ vi*m :== mcr VIM:VIM.EXE
175
176 $ !gvi starts Vim in GUI mode.
177 $ gv*im :== spawn/nowait mcr VIM:VIM.EXE -g
178
179Please, check the notes for customization and configuration of symbols.
180
181You may want to create .vimrc and .gvimrc files in your home directory
182(SYS$LOGIN) to overwrite default settings.
183
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000184The easiest way is just rename example files. You may leave the menu file
185(MENU.VIM) and files vimrc and gvimrc in the original $VIM directory. It will
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200186be the default setup for all users, and for users it is enough to just have
187their own additions or resetting in their home directory in files .vimrc and
188.gvimrc. It should work without problems.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000189
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000190Note: Remember, system rc files (default for all users) don't have a leading
191".". So, system rc files are: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000192
193 $VIM:vimrc
194 $VIM:gvimrc
195 $VIM:menu.vim
196
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000197and user customized rc files are: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000198
199 sys$login:.vimrc
200 sys$login:.gvimrc
201
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200202You can check that everything is at the right place with the :version command.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000203
204Example LOGIN.COM: >
205
Bram Moolenaar05a29072019-01-18 22:59:53 +0100206 $ define/nolog VIM DKA0:[UTIL.VIM81]
Bram Moolenaar071d4272004-06-13 20:20:40 +0000207 $ vi*m :== mcr VIM:VIM.EXE
208 $ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40
Bram Moolenaar05a29072019-01-18 22:59:53 +0100209 $ set disp/create/node=192.168.10.202/trans=tcpip
Bram Moolenaar071d4272004-06-13 20:20:40 +0000210
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200211Note: This set-up should be enough, if you are working on a standalone server or
212clustered environment, but if you want to use Vim as an internode editor in
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000213DECNET environment, it will satisfy as well.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000214You just have to define the "whole" path: >
215
216 $ define VIM "<server_name>[""user password""]::device:<path>"
217 $ vi*m :== "mcr VIM:VIM.EXE"
218
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200219For example: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000220
221 $ define VIM "PLUTO::RF10:[UTIL.VIM]"
222 $ define VIM "PLUTO""ZAY mypass""::RF10:[UTIL.VIM]" ! if passwd required
223
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000224You can also use the $VIMRUNTIME logical to point to the proper version of Vim
225if you have installed more versions at the same time. If $VIMRUNTIME is not
226defined Vim will borrow its value from the $VIM logical. You can find more
227information about the $VIMRUNTIME logical by typing :help runtime as a Vim
228command.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000229
230System administrators might want to set up a system wide Vim installation,
231then add to the SYS$STARTUP:SYLOGICALS.COM >
232
233 $ define/nolog/sys VIM device:<path>
234 $ define/nolog/sys TMP SYS$SCRATCH
235
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100236And to the SYS$STARTUP:SYLOGIN.COM >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000237
238 $ vi*m :== mcr VIM:VIM.EXE
239 $ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40
240
241
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000242It will set up a normal Vim work environment for every user on the system.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000243
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000244IMPORTANT: Vim on OpenVMS (and on other case insensitive system) command line
Bram Moolenaard5ab34b2007-05-05 17:15:44 +0000245parameters are assumed to be lowercase. In order to indicate that a command
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000246line parameter is uppercase "/" sign must be used.
247
248Examples:
249 >
250 vim -R filename ! means: -r List swap files and exit
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000251 vim -/r filename ! means: -R Readonly mode (like "view")
252 vim -u <vimrc> ! means: -u Use <vimrc> instead of any .vimrc
253 vim -/u <gvimrc> ! means: -U Use <gvimrc> instead of any .gvimrc
254
Bram Moolenaar071d4272004-06-13 20:20:40 +0000255==============================================================================
256
2577. GUI mode questions *vms-gui*
258
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000259OpenVMS is a real mainframe OS, therefore even if it has a GUI console, most
260of the users do not use a native X/Window environment during normal operation.
261It is not possible to start Vim in GUI mode "just like that". But anyhow it
262is not too complicated either.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000263
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000264First of all: you will need an executable that is built with the GUI enabled.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000265
266Second: you need to have installed DECW/Motif on your VMS server, otherwise
267you will get errors that some shareable libraries are missing.
268
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000269Third: If you choose to run Vim with extra features such as GUI/GTK then you
270need a GTK installation too or at least a GTK runtime environment (LIBGTK
Bram Moolenaar5eba4c22005-07-12 22:40:29 +0000271can be downloaded from http://www.polarhome.com/vim/).
Bram Moolenaar071d4272004-06-13 20:20:40 +0000272
2731) If you are working on the VMS X/Motif console:
274 Start Vim with the command: >
275
276 $ mc device:<path>VIM.EXE -g
277<
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000278 or type :gui as a command to the Vim command prompt. For more info :help
279 gui
Bram Moolenaar071d4272004-06-13 20:20:40 +0000280
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002812) If you are working on some other X/Window environment like Unix or a remote
282 X VMS console. Set up display to your host with: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000283
284 $ set disp/create/node=<your IP address>/trans=<transport-name>
285<
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000286 and start Vim as in point 1. You can find more help in VMS documentation or
Bram Moolenaar071d4272004-06-13 20:20:40 +0000287 type: help set disp in VMS prompt.
288 Examples: >
289
290 $ set disp/create/node=192.168.5.159 ! default trans is DECnet
291 $ set disp/create/node=192.168.5.159/trans=tcpip ! TCP/IP network
292 $ set disp/create/node=192.168.5.159/trans=local ! display on the same node
293
294Note: you should define just one of these.
295For more information type $help set disp in VMS prompt.
296
2973) Another elegant solution is XDM if you have installed on OpenVMS box.
298 It is possible to work from XDM client as from GUI console.
299
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00003004) If you are working on MS-Windows or some other non X/Window environment
301 you need to set up one X server and run Vim as in point 2.
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200302 For MS-Windows there are available free X servers as MIX, Omni X etc.,
Bram Moolenaar071d4272004-06-13 20:20:40 +0000303 as well as excellent commercial products as eXcursion or ReflectionX with
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000304 built-in DEC support.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000305
306Please note, that executables without GUI are slightly faster during startup
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200307than with enabled GUI in character mode. Therefore, if you do not use GUI
Bram Moolenaar071d4272004-06-13 20:20:40 +0000308features, it is worth to choose non GUI executables.
309
310==============================================================================
311
3128. Useful notes *vms-notes*
313
Bram Moolenaarac98e5d2008-09-01 14:51:37 +00003148.1 Backspace/delete
Bram Moolenaar071d4272004-06-13 20:20:40 +00003158.2 Filters
3168.3 VMS file version numbers
3178.4 Directory conversion
3188.5 Remote host invocation
3198.6 Terminal problems
3208.7 Hex-editing and other external tools
3218.8 Sourcing vimrc and gvimrc
3228.9 Printing from Vim
3238.10 Setting up the symbols
3248.11 diff and other GNU programs
3258.12 diff-mode
3268.13 Allow '$' in C keywords
3278.14 VIMTUTOR for beginners
Bram Moolenaar5302d9e2011-09-14 17:55:08 +02003288.15 Slow start in console mode issue
3298.16 Common VIM directory - different architectures
Bram Moolenaar071d4272004-06-13 20:20:40 +0000330
Bram Moolenaarac98e5d2008-09-01 14:51:37 +00003318.1 Backspace/delete
Bram Moolenaar071d4272004-06-13 20:20:40 +0000332
333There are backspace/delete key inconsistencies with VMS.
Bram Moolenaarf269eab2022-10-03 18:04:35 +0100334:fixdel doesn't do the trick, but the solution is (without "<" in 'cpo'): >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000335
Bram Moolenaarf269eab2022-10-03 18:04:35 +0100336 :inoremap <C-?> <C-H> " for terminal mode
337 :inoremap <Del> <C-H> " for gui mode
Bram Moolenaar071d4272004-06-13 20:20:40 +0000338
339Read more in ch: 8.6 (Terminal problems).
340(Bruce Hunsaker <BNHunsaker@chq.byu.edu> Vim 5.3)
341
342
3438.2 Filters
344
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000345Vim supports filters, i.e., if you have a sort program that can handle
Bram Moolenaar071d4272004-06-13 20:20:40 +0000346input/output redirection like Unix (<infile >outfile), you could use >
347
348 :map \s 0!'aqsort<CR>
349
350(Charles E. Campbell, Jr. <cec@gryphon.gsfc.nasa.gov> Vim 5.4)
351
352
3538.3 VMS file version numbers
354
355Vim is saving files into a new file with the next higher file version
356number, try these settings. >
357
358 :set nobackup " does not create *.*_ backup files
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000359 :set nowritebackup " does not have any purpose on VMS. It's the
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000360 " default.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000361
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200362Recovery is working perfectly as well from the default swap file.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000363Read more with :help swapfile
364
365(Claude Marinier <ClaudeMarinier@xwavesolutions.com> Vim 5.5, Zoltan Arpadffy
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000366Vim 5.6)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000367
368
3698.4 Directory conversion
370
371Vim will internally convert any unix-style paths and even mixed unix/VMS
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000372paths into VMS style paths. Some typical conversions resemble:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000373
374 /abc/def/ghi -> abc:[def]ghi.
375 /abc/def/ghi.j -> abc:[def]ghi.j
376 /abc/def/ghi.j;2 -> abc:[def]ghi.j;2
377 /abc/def/ghi/jkl/mno -> abc:[def.ghi.jkl]mno.
378 abc:[def.ghi]jkl/mno -> abc:[def.ghi.jkl]mno.
379 ./ -> current directory
380 ../ -> relative parent directory
381 [.def.ghi] -> relative child directory
382 ./def/ghi -> relative child directory
383
384Note: You may use <,> brackets as well (device:<path>file.ext;version) as
385rf10:<user.zay.work>test.c;1
386
387(David Elins <delins@foliage.com>, Jerome Lauret
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200388<JLAURET@mail.chem.sunysb.edu> Vim 5.6)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000389
390
3918.5 Remote host invocation
392
393It is possible to use Vim as an internode editor.
3941. Edit some file from remote node: >
395
396 vi "<server>""username passwd""::<device>:<path><filename>;<version>"
397
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100398Example: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000399 vi "pluto""zay passwd""::RF10:<USER.ZAY.WORK>TEST.C;1"
400
401Note: syntax is very important, otherwise VMS will recognize more parameters
402instead of one (resulting with: file not found)
403
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00004042. Set up Vim as your internode editor. If Vim is not installed on your
405host, just set up your IP address, the full Vim path including the server name
406and run the command procedure below: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000407
408 $ if (p1 .eqs. "") .OR. (p2 .eqs. "") then goto usage
409 $ set disp/create/node=<your_IP_here>/trans=tcpip
410 $ define "VIM "<vim_server>""''p1' ''p2'""::<device>:<vim_path>"
411 $ vi*m :== "mcr VIM:VIM.EXE"
412 $ gv*im :== "spawn/nowait mcr VIM:VIM.EXE -g"
413 $ goto end
414 $ usage:
415 $ write sys$output " Please enter username and password as a parameter."
416 $ write sys$output " Example: @SETVIM.COM username passwd"
417 $ end:
418
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000419Note: Never use it in a clustered environment (you do not need it), loading
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100420could be very-very slow, but even faster than a local Emacs. :-)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000421
422(Zoltan Arpadffy, Vim 5.6)
423
424
4258.6 Terminal problems
426
427If your terminal name is not known to Vim and it is trying to find the default
428one you will get the following message during start-up:
429---
430Terminal entry not found in termcap
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000431'unknown-terminal' not known. Available built-in terminals are:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000432 builtin_gui
433 builtin_riscos
434 builtin_amiga
Bram Moolenaar071d4272004-06-13 20:20:40 +0000435 builtin_ansi
436 builtin_vt320
437 builtin_vt52
438 builtin_pcansi
439 builtin_win32
440 builtin_xterm
441 builtin_iris-ansi
442 builtin_debug
443 builtin_dumb
444defaulting to 'vt320'
445---
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200446The solution is to define the default terminal name: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000447
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000448 $ ! unknown terminal name. Let us use vt320 or ansi instead.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000449 $ ! Note: it's case sensitive
450 $ define term "vt320"
451
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200452Terminals from VT100 to VT320 (as V300, VT220, VT200) do not need any extra
453keyboard mappings. They should work perfectly as they are, including arrows,
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000454Ins, Del buttons etc., except Backspace in GUI mode. To solve it, add to
Bram Moolenaar071d4272004-06-13 20:20:40 +0000455.gvimrc: >
456
457 inoremap <Del> <BS>
458
459Vim will also recognize that they are fast terminals.
460
Bram Moolenaarc1cf4c92022-11-25 15:09:35 +0000461If you're using Vim on remote host or through a very slow connection, you
462might want to reset fast terminal option with: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000463
464 set nottyfast " set terminal to slow mode
465
Bram Moolenaar071d4272004-06-13 20:20:40 +0000466
4678.7 Hex-editing and other external tools
468
469A very important difference between OpenVMS and other systems is that VMS uses
470special commands to execute executables: >
471
472 RUN <path>filename
473 MCR <path>filename <parameters>
474
475OpenVMS users always have to be aware that the Vim command :! "just" drop them
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000476to DCL prompt. This feature is possible to use without any problem with all
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200477DCL commands, but if we want to execute some programs such as XXD, CTAGS, JTAGS,
478etc. we're running into trouble if we follow the Vim documentation (see: help
Bram Moolenaar071d4272004-06-13 20:20:40 +0000479xxd).
480
481Solution: Execute with the MC command and add the full path to the executable.
482Example: Instead of :%!xxd command use: >
483
484 :%!mc vim:xxd
485
486... or in general: >
487 :!mc <path>filename <parameters>
488
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000489Note: You can use XXD and CTAGS from GUI menu.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000490
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000491To customize ctags it is possible to define the logical $CTAGS with standard
Bram Moolenaar071d4272004-06-13 20:20:40 +0000492parameters as: >
493
494 define/nolog CTAGS "--totals -o sys$login:tags"
495
496For additional information, please read :help tagsearch and CTAGS
497documentation at http://ctags.sourceforge.net/ctags.html.
498
499(Zoltan Arpadffy, Vim 5.6-70)
500
501
5028.8 Sourcing vimrc and gvimrc
503
504If you want to use your .vimrc and .gvimrc from other platforms (e.g. Windows)
505you can get in trouble if you ftp that file(s): VMS has different end-of-line
506indication.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000507The symptom is that Vim is not sourcing your .vimrc/.gvimrc, even if you say:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000508>
509 :so sys$login:.vimrc
510
511One trick is to compress (e.g. zip) the files on the other platform and
512uncompress it on VMS; if you have the same symptom, try to create the files
513with copy-paste (for this you need both op. systems reachable from one
514machine, e.g. an Xterm on Windows or telnet to Windows from VMS).
515
516(Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> Vim 6.0a)
517
518
5198.9 Printing from Vim
520
521To be able to print from Vim (running in GUI mode) under VMS you have to set
522up $TMP logical which should point to some temporary directory and logical
523SYS$PRINT to your default print queue.
524Example: >
525
526 $define SYS$PRINT HP5ANSI
527
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200528You can print out the whole buffer or just the marked area.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000529More info under :help hardcopy
530
531(Zoltan Arpadffy, Vim 6.0c)
532
533
5348.10 Setting up the symbols
535
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200536When I use gvim this way and press CTRL-Y in the parent terminal, gvim exits.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000537I now use a different symbol that seems to work OK and fixes the problem.
538I suggest this instead: >
539
540 $ GV*IM:==SPAWN/NOWAIT/INPUT=NLA0: MCR VIM:VIM.EXE -G -GEOMETRY 80X40
541
542The /INPUT=NLA0: separates the standard input of the gvim process from the
543parent terminal, to block signals from the parent window.
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200544Without the -GEOMETRY, the gvim window size will be minimal and the menu
Bram Moolenaar071d4272004-06-13 20:20:40 +0000545will be confused after a window-resize.
546
547(Carlo Mekenkamp, Coen Engelbarts, Vim 6.0ac)
548
549
5508.11 diff and other GNU programs
551
552From 6.0 diff functionality has been implemented, but OpenVMS does not use
553GNU/Unix like diff therefore built in diff does not work.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000554There is a simple solution to solve this anomaly. Install a Unix like diff
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200555and Vim will work perfectly in diff mode too. You just have to redefine your
Bram Moolenaar071d4272004-06-13 20:20:40 +0000556diff program as: >
557
558 define /nolog diff <GNU_PATH>diff.exe
559
560Another, more sophisticated solution is described below (8.12 diff-mode)
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200561There are other programs such as patch, make etc that may cause the same
562problems. At www.polarhome.com is possible to download an GNU package for
563Alpha and VAX boxes that is meant to solve GNU problems on OpenVMS.
564(Zoltan Arpadffy, Vim 6.1)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000565
566
5678.12 diff-mode
568
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100569Vim 6.0 and higher supports Vim diff-mode (See |new-diff-mode|, |diff-mode|
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000570and |08.7|). This uses the external program 'diff' and expects a Unix-like
571output format from diff. The standard VMS diff has a different output
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100572format. To use Vim on VMS in diff-mode, you need to:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000573 1 Install a Unix-like diff program, e.g. GNU diff
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100574 2 Tell Vim to use the Unix-like diff for diff-mode.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000575
576You can download GNU diff from the VIM-VMS website, it is one of the GNU
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000577tools in http://www.polarhome.com/vim/files/gnu_tools.zip. I suggest to
Bram Moolenaar071d4272004-06-13 20:20:40 +0000578unpack it in a separate directory "GNU" and create a logical GNU: that
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000579points to that directory, e.g: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000580
581 DEFINE GNU <DISK>:[<DIRECTORY>.BIN.GNU]
582
583You may also want to define a symbol GDIFF, to use the GNU diff from the DCL
584prompt: >
585
586 GDIFF :== $GNU:DIFF.EXE
587
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100588Now you need to tell Vim to use the new diff program. Take the example
Bram Moolenaar071d4272004-06-13 20:20:40 +0000589settings from |diff-diffexpr| and change the call to the external diff
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000590program to the new diff on VMS. Add this to your .vimrc file: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000591
592 " Set up vimdiff options
593 if v:version >= 600
594 " Use GNU diff on VMS
595 set diffexpr=MyDiff()
596 function MyDiff()
597 let opt = ""
598 if &diffopt =~ "icase"
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000599 let opt = opt .. "-i "
Bram Moolenaar071d4272004-06-13 20:20:40 +0000600 endif
601 if &diffopt =~ "iwhite"
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000602 let opt = opt .. "-b "
Bram Moolenaar071d4272004-06-13 20:20:40 +0000603 endif
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000604 silent execute "!mc GNU:diff.exe -a " .. opt .. v:fname_in .. " " .. v:fname_new ..
605 \ " > " .. v:fname_out
Bram Moolenaar071d4272004-06-13 20:20:40 +0000606 endfunction
607 endif
608
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100609You can now use Vim in diff-mode, e.g. to compare two files in read-only
Bram Moolenaar071d4272004-06-13 20:20:40 +0000610mode: >
611
612 $ VIM -D/R <FILE1> <FILE2>
613
614You can also define new symbols for vimdiff, e.g.: >
615
616 $ VIMDIFF :== 'VIM' -D/R
617 $ GVIMDIFF :== 'GVIM' -D/R
618
619You can now compare files in 4 ways: >
620
621 1. VMS diff: $ DIFF <FILE1> <FILE2>
622 2. GNU diff: $ GDIFF <FILE1> <FILE2>
623 3. VIM diff: $ VIMDIFF <FILE1> <FILE2>
624 4. GVIM diff: $ GVIMDIFF <FILE1> <FILE2>
625
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200626(Coen Engelbarts, Vim 6.1)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000627
628
6298.13 Allow '$' in C keywords
630
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000631DEC C uses many identifiers with '$' in them. This is not allowed in ANSI C,
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100632and Vim recognises the '$' as the end of the identifier. You can change this
Bram Moolenaarf91787c2010-07-17 12:47:16 +0200633with the 'iskeyword' option.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000634Add this command to your .vimrc file: >
635
636 autocmd FileType c,cpp,cs set iskeyword+=$
637
638You can also create the file(s) $VIM/FTPLUGIN/C.VIM (and/or CPP.VIM and
639CS.VIM) and add this command: >
640
641 set iskeyword+=$
642
643Now word-based commands, e.g. the '*'-search-command and the CTRL-]
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000644tag-lookup, work on the whole identifier. (Ctags on VMS also supports '$' in
Bram Moolenaar071d4272004-06-13 20:20:40 +0000645C keywords since ctags version 5.1.)
646
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200647(Coen Engelbarts, Vim 6.1)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000648
6498.14 VIMTUTOR for beginners
650
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200651The VIMTUTOR.COM DCL script can help Vim beginners to learn/make their first
652steps with Vim on OpenVMS. Depending of binary distribution you may start it
653with: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000654
655 @vim:vimtutor
656
657(Thomas.R.Wyant III, Vim 6.1)
658
Bram Moolenaar5302d9e2011-09-14 17:55:08 +02006598.16 Slow start in console mode issue
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000660
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100661As GUI/GTK Vim works equally well in console mode, many administrators
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000662deploy those executables system wide.
663Unfortunately, on a remote slow connections GUI/GTK executables behave rather
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200664slow when user wants to run Vim just in the console mode - because of X
665environment detection timeout.
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000666
667Luckily, there is a simple solution for that. Administrators need to deploy
668both GUI/GTK build and just console build executables, like below: >
669
Bram Moolenaar24ea3ba2010-09-19 19:01:21 +0200670 |- vim73
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000671 |----- doc
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200672 |----- syntax
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000673 vimrc (system rc files)
674 gvimrc
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200675 gvim.exe (the renamed GUI or GTK built vim.exe)
676 vim.exe (the console only executable)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000677
678Define system symbols like below in for ex in LOGIN.COM or SYLOGIN.COM: >
679
Bram Moolenaar24ea3ba2010-09-19 19:01:21 +0200680 $ define/nolog VIM RF10:[UTIL.VIM73] ! where you VIM directory is
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000681 $ vi*m :== mcr VIM:VIM.EXE
682 $ gvi*m :== mcr VIM:GVIM.EXE
683 $ ! or you can try to spawn with
684 $ gv*im :== spawn/nowait/input=NLA0 mcr VIM:GVIM.EXE -g -GEOMETRY 80x40
685
686
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200687Like this, users that do not have X environment and want to use Vim just in
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000688console mode can avoid performance problems.
689
690(Zoltan Arpadffy, Vim 7.2)
691
6928.15 Common VIM directory - different architectures
693
694In a cluster that contains nodes with different architectures like below:
695
696$show cluster
697View of Cluster from system ID 11655 node: TOR 18-AUG-2008 11:58:31
698+---------------------------------+
Bram Moolenaar85eee132018-05-06 17:57:30 +0200699| SYSTEMS | MEMBERS |
700+-----------------------+---------|
701| NODE | SOFTWARE | STATUS |
702+--------+--------------+---------|
703| TOR | VMS V7.3-2 | MEMBER |
704| TITAN2 | VMS V8.3 | MEMBER |
705| ODIN | VMS V7.3-2 | MEMBER |
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000706+---------------------------------+
707
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100708It is convenient to have a common VIM directory but execute different
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200709executables.
710There are several solutions for this problem:
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000711
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100712Solution 1. All executables in the same directory with different names
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000713This is easily done with the following script that can be added
714to the login.com or sylogin.com: >
715
716 $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
717 $ then
718 $ say "VAX platform"
719 $ vi*m:== mcr vim:VIM.EXE_VAX
720 $ endif
721 $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
722 $ then
723 $ say "ALPHA platform"
724 $ vi*m :== mcr vim:VIM.EXE_AXP
725 $ endif
726 $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
727 $ then
728 $ say "IA64 platform"
729 $ vi*m :== mcr vim:VIM.EXE_IA64
730 $ endif
731
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100732Solution 2. Different directories: >
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000733
734 $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
735 $ then
736 $ say "VAX platform"
737 $ define/nolog VIM RF10:[UTIL.VAX_EXE] ! VAX executables
738 $ endif
739 $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
740 $ then
741 $ say "ALPHA platform"
742 $ define/nolog VIM RF10:[UTIL.AXP_EXE] ! AXP executables
743 $ endif
744 $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
745 $ then
746 $ say "IA64 platform"
747 $ define/nolog VIM RF10:[UTIL.IA64_EXE] ! IA64 executables
748 $ endif
749 $! VIMRUNTIME must be defined in order to find runtime files
Bram Moolenaar24ea3ba2010-09-19 19:01:21 +0200750 $ define/nolog VIMRUNTIME RF10:[UTIL.VIM73]
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000751
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100752A good example for this approach is the [GNU]gnu_tools.com script from
753GNU_TOOLS.ZIP package downloadable from http://www.polarhome.com/vim/
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000754
755(Zoltan Arpadffy, Vim 7.2)
756
Bram Moolenaar071d4272004-06-13 20:20:40 +0000757==============================================================================
758
7599. VMS related changes *vms-changes*
760
Bram Moolenaar7e6a5152021-01-02 16:39:53 +0100761Version 8.2
762- make all changes needed for clean compile build of v8.2 on VMS on all platforms
Bram Moolenaar2346a632021-06-13 19:02:49 +0200763- fix the call mkdir bug (vicente_polo@yahoo.es)
Bram Moolenaar82be4842021-01-11 19:40:15 +0100764- test on VSI OpenVMS Alpha and Itanium platforms
765- added LUA support
766- added XPM support - Motif GUI with toolbar on all platforms
Bram Moolenaar2346a632021-06-13 19:02:49 +0200767- XPM v3.4.11 libraries for IA64, AXP and VAX are added
768- start integrating the new test scripts
Bram Moolenaar7e6a5152021-01-02 16:39:53 +0100769
Bram Moolenaar05a29072019-01-18 22:59:53 +0100770Version 8.1
771- make necessary changes to build v8.1 on VMS
772
773Version 8.0
774- solve the 100% cpu usage issue while waiting for a keystroke
775- correct the VMS warnings and errors around handling the INFINITY (used in json.c)
Bram Moolenaar314dd792019-02-03 15:27:20 +0100776- minor VMS port related changes
777- correct the make_vms.mms file for 8.0
778- fix [.TESTDIR]make_vms.mms for 8.0
Bram Moolenaar05a29072019-01-18 22:59:53 +0100779
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200780Version 7.4
781- Undo: VMS can not handle more than one dot in the filenames use "dir/name" -> "dir/_un_name"
Bram Moolenaar206f0112014-03-12 16:51:55 +0100782 add _un_ at the beginning to keep the extension
783- correct swap file name wildcard handling
784- handle iconv usage correctly
785- do not optimize on vax - otherwise it hangs compiling crypto files
786- fileio.c fix the comment
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200787- correct RealWaitForChar
Bram Moolenaar206f0112014-03-12 16:51:55 +0100788- after 7.4-119 use different functions lib$cvtf_to_internal_time because Alpha and VAX have
789 G_FLOAT but IA64 uses IEEE float otherwise Vim crashes
Bram Moolenaar34401cc2014-08-29 15:12:19 +0200790- guard against crashes that are caused by mixed filenames
Bram Moolenaar206f0112014-03-12 16:51:55 +0100791- [TESTDIR]make_vms.mms changed to see the output files
792- Improve tests, update known issues
793- minor compiler warnings fixed
794- CTAGS 5.8 +regex included
795
Bram Moolenaar8e469272010-07-28 19:38:16 +0200796Version 7.3
797- CTAGS 5.8 included
798- VMS compile warnings fixed - floating-point overflow warning corrected on VAX
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200799- filepath completion corrected - too many chars were escaped in filename
Bram Moolenaar8e469272010-07-28 19:38:16 +0200800 and shell commands
801- the following plugins are included into VMS runtime:
802 genutils 2.4, multiselect 2.2, multvals 3.1, selectbuf 4.3,
803 bufexplorer 7.1.7, taglist 4.5
804- minor changes in vimrc (just in VMS runtime)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000805- make_vms.mms - HUGE model is the default
806- [TESTDIR]make_vms.mms include as many tests possible
807- modify test30 and test54 for VMS
808- enable FLOAT feature in VMS port
Bram Moolenaar8e469272010-07-28 19:38:16 +0200809- os_vms.txt updated
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000810
811Version 7.2 (2008 Aug 9)
812- VCF files write corrected
813- CTAGS 5.7 included
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200814- corrected make_vms.mms (on VAX gave syntax error)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000815
816Version 7.1 (2007 Jun 15)
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200817- create TAGS file from menu
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000818
819Version 7 (2006 May 8)
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000820- Improved low level char input (affects just console mode)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000821- Fixed plugin bug
822- CTAGS 5.6 included
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000823
824Version 6.4 (2005 Oct 15)
Bram Moolenaar5eba4c22005-07-12 22:40:29 +0000825- GTKLIB and Vim build on IA64
826- colors in terminal mode
827- syntax highlighting in terminal mode
828- write problem fixed (extra CR)
829- ESC and ESC sequence recognition in terminal mode
830- make file changed to support new MMS version
831- env variable expansion in path corrected
832- printing problems corrected
833- help text added for case insensitive arguments
834
Bram Moolenaar071d4272004-06-13 20:20:40 +0000835Version 6.3 (2004 May 10)
836- Improved vms_read function
837- CTAGS v5.5.4 included
838- Documentation corrected and updated
839
840Version 6.2 (2003 May 7)
841- Corrected VMS system call results
842- Low level character input is rewritten
843- Correction in tag and quickfix handling
844- First GTK build
845- Make file changes
846 - GTK feature added
847 - Define for OLD_VMS
848 - OpenVMS version 6.2 or older
849- Documentation updated with GTK features
850- CTAGS v5.5 included
851- VMS VIM tutor created
852
853Version 6.1 (2002 Mar 25)
854- TCL init_tcl() problem fixed
855- CTAGS v5.4 included
856- GNU tools binaries for OpenVMS
857- Make file changes
858 - PERL, PYTHON and TCL support improved
859 - InstallVMS.txt has a detailed description HOWTO build
860- VMS/Unix file handling rewritten
861- Minor casting and bug fixes
862
863Version 6.0 (2001 Sep 28)
864- Unix and VMS code has been merged
865 - separated "really" VMS related code
866 - included all possible Unix functionality
867 - simplified or deleted the configuration files
868 - makefile MAKE_VMS.MMS reviewed
869- menu changes (fixed printing, CTAGS and XXD usage)
870- fixed variable RMS record format handling anomaly
871- corrected syntax, ftplugin etc files load
872- changed expand_wildcards and expandpath functions to work more general
873- created OS_VMS_FILTER.COM - DECC->VAXC pre-processor directive convert
874 script.
875- Improved code's VAXC and new DECC compilers compatibility
876- changed quickfix parameters:
877 - errormessage format to suite DECC
878 - search, make and other commands to suite VMS system
879- updated and renamed MMS make files for Vim and CTAGS.
880- CTAGS has been removed from source distribution of Vim but it will remain
881 in OpenVMS binary distributions.
882- simplified build/configuration procedure
883- created INSTALLvms.txt - detailed compiling instructions under VMS.
884- updated test scripts.
885
886Version 5.8 (2001 Jun 1)
887- OS_VMS.TXT updated with new features.
888- other minor fixes.
889- documentation updated
890- this version had been tested much more than any other OpenVMS version
891 earlier
892
893Version 5.7 (2000 Jun 24)
894- New CTAGS v5.0 in distribution
895- Documentation updated
896
897Version 5.6 (2000 Jan 17)
898- VMS filename related changes:
899 - version handling (open everything, save to new version)
900 - correct file extension matching for syntax (version problem)
901 - handle <,> characters and passwords in directory definition
902 - handle internode/remote invocation and editing with passwords
903 - OpenVMS files will be treated case insensitive from now
904 - corrected response of expand("%:.") etc path related functions
905 (in one word: VMS directory handling internally)
906- version command
907 - corrected (+,-) information data
908 - added compiler and OS version
909 - added user and host information
910 - resolving $VIM and $VIMRUNTIME logicals
911- VMS port is in MAX_FEAT (maximum features) club with Unix, Win32 and OS/2.
912 - enabled farsi, rightleft etc. features
913 - undo level raised up to 1000
914- Updated OS_VMS.MMS file.
915 - maximum features ON is default
916 - Vim is compilable with +perl, +python and +tcl features.
917 - improved MMK compatibility
918- Created MAKEFILE_VMS.MMS, makefile for testing Vim during development.
919- Defined DEC terminal VT320
920 - compatibility for VT3*0, VT2*0 and VT1*0 - ANSI terminals
921 backwards, but not VT340 and newer with colour capability.
922 - VT320 is default terminal for OpenVMS
923 - these new terminals are also fast ttys (default for OpenVMS).
924 - allowed dec_mouse ttym
925- Updated files vimrc and gvimrc with VMS specific suggestions.
926- OS_VMS.TXT updated with new features.
927
928Version 5.5 (1999 Dec 3)
929- Popup menu line crash corrected.
930- Handle full file names with version numbers.
931- Directory handling (CD command etc.)
932- Corrected file name conversion VMS to Unix and v.v.
933- Correct response of expand wildcards
934- Recovery is working from this version under VMS as well.
935- Improved terminal and signal handing.
936- Improved OS_VMS.TXT
937
938Version 5.4 (1999 Sep 9)
939- Cut and paste mismatch corrected.
940- Motif directories during open and save are corrected.
941
942Version 5.3 (1998 Oct 12)
943- Minor changes in the code
944- Standard distribution with +GUI option
945
946Version 5.1 (1998 Apr 21)
947- Syntax and DEC C changes in the code
948- Fixing problems with the /doc subdirectory
949- Improve OS_VMS.MMS
950
951Version 4.5 (1996 Dec 16)
952- First VMS port by Henk Elbers <henk@xs4all.nl>
953
954==============================================================================
955
95610. Authors *vms-authors*
957
958OpenVMS documentation and executables are maintained by:
959Zoltan Arpadffy <arpadffy@polarhome.com>
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000960OpenVMS Vim page: http://www.polarhome.com/vim/
Bram Moolenaar071d4272004-06-13 20:20:40 +0000961
962This document uses parts and remarks from earlier authors and contributors
963of OS_VMS.TXT:
964 Charles E. Campbell, Jr. <cec@gryphon.gsfc.nasa.gov>
965 Bruce Hunsaker <BNHunsaker@chq.byu.edu>
966 Sandor Kopanyi <sandor.kopanyi@mailbox.hu>
967
Bram Moolenaar91f84f62018-07-29 15:07:52 +0200968 vim:tw=78:ts=8:noet:ft=help:norl: