blob: b69f650b409666f04746e067fcbff5f3b3562f78 [file] [log] [blame]
Bram Moolenaar65e0d772020-06-14 17:29:55 +02001*os_vms.txt* For Vim version 8.2. Last change: 2020 Jun 07
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 Moolenaar5302d9e2011-09-14 17:55:08 +020075platforms with the DEC C compiler. It should work without big 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.
334:fixdel doesn't do the trick, but the solution is: >
335
336 :inoremap ^? ^H " for terminal mode
337 :inoremap <Del> ^H " for gui mode
338
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
461If you have some annoying line jumping on the screen between windows add to
462your .vimrc file: >
463
464 set ttyfast " set fast terminal
465
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200466Note: if you're using Vim on remote host or through a very slow connection, it's
467recommended to avoid the fast terminal option with: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000468
469 set nottyfast " set terminal to slow mode
470
471(Zoltan Arpadffy, Vim 5.6)
472
473
4748.7 Hex-editing and other external tools
475
476A very important difference between OpenVMS and other systems is that VMS uses
477special commands to execute executables: >
478
479 RUN <path>filename
480 MCR <path>filename <parameters>
481
482OpenVMS users always have to be aware that the Vim command :! "just" drop them
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000483to DCL prompt. This feature is possible to use without any problem with all
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200484DCL commands, but if we want to execute some programs such as XXD, CTAGS, JTAGS,
485etc. we're running into trouble if we follow the Vim documentation (see: help
Bram Moolenaar071d4272004-06-13 20:20:40 +0000486xxd).
487
488Solution: Execute with the MC command and add the full path to the executable.
489Example: Instead of :%!xxd command use: >
490
491 :%!mc vim:xxd
492
493... or in general: >
494 :!mc <path>filename <parameters>
495
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000496Note: You can use XXD and CTAGS from GUI menu.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000497
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000498To customize ctags it is possible to define the logical $CTAGS with standard
Bram Moolenaar071d4272004-06-13 20:20:40 +0000499parameters as: >
500
501 define/nolog CTAGS "--totals -o sys$login:tags"
502
503For additional information, please read :help tagsearch and CTAGS
504documentation at http://ctags.sourceforge.net/ctags.html.
505
506(Zoltan Arpadffy, Vim 5.6-70)
507
508
5098.8 Sourcing vimrc and gvimrc
510
511If you want to use your .vimrc and .gvimrc from other platforms (e.g. Windows)
512you can get in trouble if you ftp that file(s): VMS has different end-of-line
513indication.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000514The symptom is that Vim is not sourcing your .vimrc/.gvimrc, even if you say:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000515>
516 :so sys$login:.vimrc
517
518One trick is to compress (e.g. zip) the files on the other platform and
519uncompress it on VMS; if you have the same symptom, try to create the files
520with copy-paste (for this you need both op. systems reachable from one
521machine, e.g. an Xterm on Windows or telnet to Windows from VMS).
522
523(Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> Vim 6.0a)
524
525
5268.9 Printing from Vim
527
528To be able to print from Vim (running in GUI mode) under VMS you have to set
529up $TMP logical which should point to some temporary directory and logical
530SYS$PRINT to your default print queue.
531Example: >
532
533 $define SYS$PRINT HP5ANSI
534
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200535You can print out the whole buffer or just the marked area.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000536More info under :help hardcopy
537
538(Zoltan Arpadffy, Vim 6.0c)
539
540
5418.10 Setting up the symbols
542
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200543When I use gvim this way and press CTRL-Y in the parent terminal, gvim exits.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000544I now use a different symbol that seems to work OK and fixes the problem.
545I suggest this instead: >
546
547 $ GV*IM:==SPAWN/NOWAIT/INPUT=NLA0: MCR VIM:VIM.EXE -G -GEOMETRY 80X40
548
549The /INPUT=NLA0: separates the standard input of the gvim process from the
550parent terminal, to block signals from the parent window.
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200551Without the -GEOMETRY, the gvim window size will be minimal and the menu
Bram Moolenaar071d4272004-06-13 20:20:40 +0000552will be confused after a window-resize.
553
554(Carlo Mekenkamp, Coen Engelbarts, Vim 6.0ac)
555
556
5578.11 diff and other GNU programs
558
559From 6.0 diff functionality has been implemented, but OpenVMS does not use
560GNU/Unix like diff therefore built in diff does not work.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000561There is a simple solution to solve this anomaly. Install a Unix like diff
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200562and Vim will work perfectly in diff mode too. You just have to redefine your
Bram Moolenaar071d4272004-06-13 20:20:40 +0000563diff program as: >
564
565 define /nolog diff <GNU_PATH>diff.exe
566
567Another, more sophisticated solution is described below (8.12 diff-mode)
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200568There are other programs such as patch, make etc that may cause the same
569problems. At www.polarhome.com is possible to download an GNU package for
570Alpha and VAX boxes that is meant to solve GNU problems on OpenVMS.
571(Zoltan Arpadffy, Vim 6.1)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000572
573
5748.12 diff-mode
575
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100576Vim 6.0 and higher supports Vim diff-mode (See |new-diff-mode|, |diff-mode|
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000577and |08.7|). This uses the external program 'diff' and expects a Unix-like
578output format from diff. The standard VMS diff has a different output
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100579format. To use Vim on VMS in diff-mode, you need to:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000580 1 Install a Unix-like diff program, e.g. GNU diff
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100581 2 Tell Vim to use the Unix-like diff for diff-mode.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000582
583You can download GNU diff from the VIM-VMS website, it is one of the GNU
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000584tools in http://www.polarhome.com/vim/files/gnu_tools.zip. I suggest to
Bram Moolenaar071d4272004-06-13 20:20:40 +0000585unpack it in a separate directory "GNU" and create a logical GNU: that
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000586points to that directory, e.g: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000587
588 DEFINE GNU <DISK>:[<DIRECTORY>.BIN.GNU]
589
590You may also want to define a symbol GDIFF, to use the GNU diff from the DCL
591prompt: >
592
593 GDIFF :== $GNU:DIFF.EXE
594
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100595Now you need to tell Vim to use the new diff program. Take the example
Bram Moolenaar071d4272004-06-13 20:20:40 +0000596settings from |diff-diffexpr| and change the call to the external diff
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000597program to the new diff on VMS. Add this to your .vimrc file: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000598
599 " Set up vimdiff options
600 if v:version >= 600
601 " Use GNU diff on VMS
602 set diffexpr=MyDiff()
603 function MyDiff()
604 let opt = ""
605 if &diffopt =~ "icase"
606 let opt = opt . "-i "
607 endif
608 if &diffopt =~ "iwhite"
609 let opt = opt . "-b "
610 endif
611 silent execute "!mc GNU:diff.exe -a " . opt . v:fname_in . " " . v:fname_new .
612 \ " > " . v:fname_out
613 endfunction
614 endif
615
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100616You can now use Vim in diff-mode, e.g. to compare two files in read-only
Bram Moolenaar071d4272004-06-13 20:20:40 +0000617mode: >
618
619 $ VIM -D/R <FILE1> <FILE2>
620
621You can also define new symbols for vimdiff, e.g.: >
622
623 $ VIMDIFF :== 'VIM' -D/R
624 $ GVIMDIFF :== 'GVIM' -D/R
625
626You can now compare files in 4 ways: >
627
628 1. VMS diff: $ DIFF <FILE1> <FILE2>
629 2. GNU diff: $ GDIFF <FILE1> <FILE2>
630 3. VIM diff: $ VIMDIFF <FILE1> <FILE2>
631 4. GVIM diff: $ GVIMDIFF <FILE1> <FILE2>
632
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200633(Coen Engelbarts, Vim 6.1)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000634
635
6368.13 Allow '$' in C keywords
637
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000638DEC C uses many identifiers with '$' in them. This is not allowed in ANSI C,
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100639and Vim recognises the '$' as the end of the identifier. You can change this
Bram Moolenaarf91787c2010-07-17 12:47:16 +0200640with the 'iskeyword' option.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000641Add this command to your .vimrc file: >
642
643 autocmd FileType c,cpp,cs set iskeyword+=$
644
645You can also create the file(s) $VIM/FTPLUGIN/C.VIM (and/or CPP.VIM and
646CS.VIM) and add this command: >
647
648 set iskeyword+=$
649
650Now word-based commands, e.g. the '*'-search-command and the CTRL-]
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000651tag-lookup, work on the whole identifier. (Ctags on VMS also supports '$' in
Bram Moolenaar071d4272004-06-13 20:20:40 +0000652C keywords since ctags version 5.1.)
653
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200654(Coen Engelbarts, Vim 6.1)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000655
6568.14 VIMTUTOR for beginners
657
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200658The VIMTUTOR.COM DCL script can help Vim beginners to learn/make their first
659steps with Vim on OpenVMS. Depending of binary distribution you may start it
660with: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000661
662 @vim:vimtutor
663
664(Thomas.R.Wyant III, Vim 6.1)
665
Bram Moolenaar5302d9e2011-09-14 17:55:08 +02006668.16 Slow start in console mode issue
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000667
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100668As GUI/GTK Vim works equally well in console mode, many administrators
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000669deploy those executables system wide.
670Unfortunately, on a remote slow connections GUI/GTK executables behave rather
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200671slow when user wants to run Vim just in the console mode - because of X
672environment detection timeout.
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000673
674Luckily, there is a simple solution for that. Administrators need to deploy
675both GUI/GTK build and just console build executables, like below: >
676
Bram Moolenaar24ea3ba2010-09-19 19:01:21 +0200677 |- vim73
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000678 |----- doc
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200679 |----- syntax
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000680 vimrc (system rc files)
681 gvimrc
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200682 gvim.exe (the renamed GUI or GTK built vim.exe)
683 vim.exe (the console only executable)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000684
685Define system symbols like below in for ex in LOGIN.COM or SYLOGIN.COM: >
686
Bram Moolenaar24ea3ba2010-09-19 19:01:21 +0200687 $ define/nolog VIM RF10:[UTIL.VIM73] ! where you VIM directory is
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000688 $ vi*m :== mcr VIM:VIM.EXE
689 $ gvi*m :== mcr VIM:GVIM.EXE
690 $ ! or you can try to spawn with
691 $ gv*im :== spawn/nowait/input=NLA0 mcr VIM:GVIM.EXE -g -GEOMETRY 80x40
692
693
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200694Like this, users that do not have X environment and want to use Vim just in
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000695console mode can avoid performance problems.
696
697(Zoltan Arpadffy, Vim 7.2)
698
6998.15 Common VIM directory - different architectures
700
701In a cluster that contains nodes with different architectures like below:
702
703$show cluster
704View of Cluster from system ID 11655 node: TOR 18-AUG-2008 11:58:31
705+---------------------------------+
Bram Moolenaar85eee132018-05-06 17:57:30 +0200706| SYSTEMS | MEMBERS |
707+-----------------------+---------|
708| NODE | SOFTWARE | STATUS |
709+--------+--------------+---------|
710| TOR | VMS V7.3-2 | MEMBER |
711| TITAN2 | VMS V8.3 | MEMBER |
712| ODIN | VMS V7.3-2 | MEMBER |
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000713+---------------------------------+
714
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100715It is convenient to have a common VIM directory but execute different
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200716executables.
717There are several solutions for this problem:
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000718
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100719Solution 1. All executables in the same directory with different names
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000720This is easily done with the following script that can be added
721to the login.com or sylogin.com: >
722
723 $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
724 $ then
725 $ say "VAX platform"
726 $ vi*m:== mcr vim:VIM.EXE_VAX
727 $ endif
728 $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
729 $ then
730 $ say "ALPHA platform"
731 $ vi*m :== mcr vim:VIM.EXE_AXP
732 $ endif
733 $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
734 $ then
735 $ say "IA64 platform"
736 $ vi*m :== mcr vim:VIM.EXE_IA64
737 $ endif
738
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100739Solution 2. Different directories: >
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000740
741 $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
742 $ then
743 $ say "VAX platform"
744 $ define/nolog VIM RF10:[UTIL.VAX_EXE] ! VAX executables
745 $ endif
746 $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
747 $ then
748 $ say "ALPHA platform"
749 $ define/nolog VIM RF10:[UTIL.AXP_EXE] ! AXP executables
750 $ endif
751 $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
752 $ then
753 $ say "IA64 platform"
754 $ define/nolog VIM RF10:[UTIL.IA64_EXE] ! IA64 executables
755 $ endif
756 $! VIMRUNTIME must be defined in order to find runtime files
Bram Moolenaar24ea3ba2010-09-19 19:01:21 +0200757 $ define/nolog VIMRUNTIME RF10:[UTIL.VIM73]
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000758
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100759A good example for this approach is the [GNU]gnu_tools.com script from
760GNU_TOOLS.ZIP package downloadable from http://www.polarhome.com/vim/
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000761
762(Zoltan Arpadffy, Vim 7.2)
763
Bram Moolenaar071d4272004-06-13 20:20:40 +0000764==============================================================================
765
7669. VMS related changes *vms-changes*
767
Bram Moolenaar05a29072019-01-18 22:59:53 +0100768Version 8.1
769- make necessary changes to build v8.1 on VMS
770
771Version 8.0
772- solve the 100% cpu usage issue while waiting for a keystroke
773- correct the VMS warnings and errors around handling the INFINITY (used in json.c)
Bram Moolenaar314dd792019-02-03 15:27:20 +0100774- minor VMS port related changes
775- correct the make_vms.mms file for 8.0
776- fix [.TESTDIR]make_vms.mms for 8.0
Bram Moolenaar05a29072019-01-18 22:59:53 +0100777
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200778Version 7.4
779- 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 +0100780 add _un_ at the beginning to keep the extension
781- correct swap file name wildcard handling
782- handle iconv usage correctly
783- do not optimize on vax - otherwise it hangs compiling crypto files
784- fileio.c fix the comment
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200785- correct RealWaitForChar
Bram Moolenaar206f0112014-03-12 16:51:55 +0100786- after 7.4-119 use different functions lib$cvtf_to_internal_time because Alpha and VAX have
787 G_FLOAT but IA64 uses IEEE float otherwise Vim crashes
Bram Moolenaar34401cc2014-08-29 15:12:19 +0200788- guard against crashes that are caused by mixed filenames
Bram Moolenaar206f0112014-03-12 16:51:55 +0100789- [TESTDIR]make_vms.mms changed to see the output files
790- Improve tests, update known issues
791- minor compiler warnings fixed
792- CTAGS 5.8 +regex included
793
Bram Moolenaar8e469272010-07-28 19:38:16 +0200794Version 7.3
795- CTAGS 5.8 included
796- VMS compile warnings fixed - floating-point overflow warning corrected on VAX
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200797- filepath completion corrected - too many chars were escaped in filename
Bram Moolenaar8e469272010-07-28 19:38:16 +0200798 and shell commands
799- the following plugins are included into VMS runtime:
800 genutils 2.4, multiselect 2.2, multvals 3.1, selectbuf 4.3,
801 bufexplorer 7.1.7, taglist 4.5
802- minor changes in vimrc (just in VMS runtime)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000803- make_vms.mms - HUGE model is the default
804- [TESTDIR]make_vms.mms include as many tests possible
805- modify test30 and test54 for VMS
806- enable FLOAT feature in VMS port
Bram Moolenaar8e469272010-07-28 19:38:16 +0200807- os_vms.txt updated
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000808
809Version 7.2 (2008 Aug 9)
810- VCF files write corrected
811- CTAGS 5.7 included
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200812- corrected make_vms.mms (on VAX gave syntax error)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000813
814Version 7.1 (2007 Jun 15)
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200815- create TAGS file from menu
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000816
817Version 7 (2006 May 8)
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000818- Improved low level char input (affects just console mode)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000819- Fixed plugin bug
820- CTAGS 5.6 included
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000821
822Version 6.4 (2005 Oct 15)
Bram Moolenaar5eba4c22005-07-12 22:40:29 +0000823- GTKLIB and Vim build on IA64
824- colors in terminal mode
825- syntax highlighting in terminal mode
826- write problem fixed (extra CR)
827- ESC and ESC sequence recognition in terminal mode
828- make file changed to support new MMS version
829- env variable expansion in path corrected
830- printing problems corrected
831- help text added for case insensitive arguments
832
Bram Moolenaar071d4272004-06-13 20:20:40 +0000833Version 6.3 (2004 May 10)
834- Improved vms_read function
835- CTAGS v5.5.4 included
836- Documentation corrected and updated
837
838Version 6.2 (2003 May 7)
839- Corrected VMS system call results
840- Low level character input is rewritten
841- Correction in tag and quickfix handling
842- First GTK build
843- Make file changes
844 - GTK feature added
845 - Define for OLD_VMS
846 - OpenVMS version 6.2 or older
847- Documentation updated with GTK features
848- CTAGS v5.5 included
849- VMS VIM tutor created
850
851Version 6.1 (2002 Mar 25)
852- TCL init_tcl() problem fixed
853- CTAGS v5.4 included
854- GNU tools binaries for OpenVMS
855- Make file changes
856 - PERL, PYTHON and TCL support improved
857 - InstallVMS.txt has a detailed description HOWTO build
858- VMS/Unix file handling rewritten
859- Minor casting and bug fixes
860
861Version 6.0 (2001 Sep 28)
862- Unix and VMS code has been merged
863 - separated "really" VMS related code
864 - included all possible Unix functionality
865 - simplified or deleted the configuration files
866 - makefile MAKE_VMS.MMS reviewed
867- menu changes (fixed printing, CTAGS and XXD usage)
868- fixed variable RMS record format handling anomaly
869- corrected syntax, ftplugin etc files load
870- changed expand_wildcards and expandpath functions to work more general
871- created OS_VMS_FILTER.COM - DECC->VAXC pre-processor directive convert
872 script.
873- Improved code's VAXC and new DECC compilers compatibility
874- changed quickfix parameters:
875 - errormessage format to suite DECC
876 - search, make and other commands to suite VMS system
877- updated and renamed MMS make files for Vim and CTAGS.
878- CTAGS has been removed from source distribution of Vim but it will remain
879 in OpenVMS binary distributions.
880- simplified build/configuration procedure
881- created INSTALLvms.txt - detailed compiling instructions under VMS.
882- updated test scripts.
883
884Version 5.8 (2001 Jun 1)
885- OS_VMS.TXT updated with new features.
886- other minor fixes.
887- documentation updated
888- this version had been tested much more than any other OpenVMS version
889 earlier
890
891Version 5.7 (2000 Jun 24)
892- New CTAGS v5.0 in distribution
893- Documentation updated
894
895Version 5.6 (2000 Jan 17)
896- VMS filename related changes:
897 - version handling (open everything, save to new version)
898 - correct file extension matching for syntax (version problem)
899 - handle <,> characters and passwords in directory definition
900 - handle internode/remote invocation and editing with passwords
901 - OpenVMS files will be treated case insensitive from now
902 - corrected response of expand("%:.") etc path related functions
903 (in one word: VMS directory handling internally)
904- version command
905 - corrected (+,-) information data
906 - added compiler and OS version
907 - added user and host information
908 - resolving $VIM and $VIMRUNTIME logicals
909- VMS port is in MAX_FEAT (maximum features) club with Unix, Win32 and OS/2.
910 - enabled farsi, rightleft etc. features
911 - undo level raised up to 1000
912- Updated OS_VMS.MMS file.
913 - maximum features ON is default
914 - Vim is compilable with +perl, +python and +tcl features.
915 - improved MMK compatibility
916- Created MAKEFILE_VMS.MMS, makefile for testing Vim during development.
917- Defined DEC terminal VT320
918 - compatibility for VT3*0, VT2*0 and VT1*0 - ANSI terminals
919 backwards, but not VT340 and newer with colour capability.
920 - VT320 is default terminal for OpenVMS
921 - these new terminals are also fast ttys (default for OpenVMS).
922 - allowed dec_mouse ttym
923- Updated files vimrc and gvimrc with VMS specific suggestions.
924- OS_VMS.TXT updated with new features.
925
926Version 5.5 (1999 Dec 3)
927- Popup menu line crash corrected.
928- Handle full file names with version numbers.
929- Directory handling (CD command etc.)
930- Corrected file name conversion VMS to Unix and v.v.
931- Correct response of expand wildcards
932- Recovery is working from this version under VMS as well.
933- Improved terminal and signal handing.
934- Improved OS_VMS.TXT
935
936Version 5.4 (1999 Sep 9)
937- Cut and paste mismatch corrected.
938- Motif directories during open and save are corrected.
939
940Version 5.3 (1998 Oct 12)
941- Minor changes in the code
942- Standard distribution with +GUI option
943
944Version 5.1 (1998 Apr 21)
945- Syntax and DEC C changes in the code
946- Fixing problems with the /doc subdirectory
947- Improve OS_VMS.MMS
948
949Version 4.5 (1996 Dec 16)
950- First VMS port by Henk Elbers <henk@xs4all.nl>
951
952==============================================================================
953
95410. Authors *vms-authors*
955
956OpenVMS documentation and executables are maintained by:
957Zoltan Arpadffy <arpadffy@polarhome.com>
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000958OpenVMS Vim page: http://www.polarhome.com/vim/
Bram Moolenaar071d4272004-06-13 20:20:40 +0000959
960This document uses parts and remarks from earlier authors and contributors
961of OS_VMS.TXT:
962 Charles E. Campbell, Jr. <cec@gryphon.gsfc.nasa.gov>
963 Bruce Hunsaker <BNHunsaker@chq.byu.edu>
964 Sandor Kopanyi <sandor.kopanyi@mailbox.hu>
965
Bram Moolenaar91f84f62018-07-29 15:07:52 +0200966 vim:tw=78:ts=8:noet:ft=help:norl: