blob: 4549c001895ec7cc3c13c0f35d2c5adb4fc1f771 [file] [log] [blame]
Christian Brabandt1c5728e2024-05-11 11:12:40 +02001*os_vms.txt* For Vim version 9.1. Last change: 2024 May 11
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/
Bram Moolenaar071d4272004-06-13 20:20:40 +000043
44To use the precompiled binary version, you need one of these archives:
45
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +010046 vim-XX-exe-x86-gui.zip X86_64 GUI/Motif executables
47 vim-XX-exe-x86-term.zip X86_64 console executables
48 vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
49 vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
50 vim-XX-exe-ia64-term.zip IA64 console executables
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000051 vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
52 vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +010053 vim-XX-exe-axp-term.zip Alpha console executables
Bram Moolenaar071d4272004-06-13 20:20:40 +000054 vim-XX-exe-vax-gui.zip VAX GUI executables
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +010055 vim-XX-exe-vax-term.zip VAX console executables
Bram Moolenaar071d4272004-06-13 20:20:40 +000056
Bram Moolenaarb475fb92006-03-02 22:40:52 +000057and of course (optional)
Bram Moolenaar071d4272004-06-13 20:20:40 +000058 vim-XX-runtime.zip runtime files
59
Bram Moolenaar5eba4c22005-07-12 22:40:29 +000060The binary archives contain: vim.exe, ctags.exe, xxd.exe files.
Bram Moolenaar071d4272004-06-13 20:20:40 +000061
Bram Moolenaarc9b4b052006-04-30 18:54:39 +000062For GTK executables you will need GTKLIB that is available for
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +010063Alpha and IA64 platforms.
Bram Moolenaarb475fb92006-03-02 22:40:52 +000064
Bram Moolenaar071d4272004-06-13 20:20:40 +000065==============================================================================
66
673. Compiling *vms-compiling*
68
69See the file [.SRC]INSTALLVMS.TXT.
70
71==============================================================================
72
734. Problems *vms-problems*
74
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +010075The code has been tested under Open VMS 6.2 - 9.2 on Alpha, VAX, IA64 and
76X86_64 platforms with the DEC C compiler. It should work without major problems.
77If your system does not have some include libraries you can tune in the
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000078OS_VMS_CONF.H file.
Bram Moolenaar071d4272004-06-13 20:20:40 +000079
80If you decided to build Vim with +perl, +python, etc. options, first you need
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000081to download OpenVMS distributions of Perl and Python. Build and deploy the
82libraries and change adequate lines in MAKE_VMS.MMS file. There should not be
83a problem from Vim side.
Bram Moolenaar071d4272004-06-13 20:20:40 +000084
Bram Moolenaar5eba4c22005-07-12 22:40:29 +000085Also GTK, XPM library paths should be configured in MAKE_VMS.MMS
86
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000087Note: Under VAX it should work with the DEC C compiler without problems. The
88VAX C compiler is not fully ANSI C compatible in pre-processor directives
Bram Moolenaar5302d9e2011-09-14 17:55:08 +020089semantics, therefore you have to use a converter program that will do the lion
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000090part of the job. For detailed instructions read file INSTALLvms.txt
Bram Moolenaar071d4272004-06-13 20:20:40 +000091
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +010092To build XXD.EXE, you should change to the 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 Moolenaar938ae282023-02-20 20:44:55 +0000206 $ 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
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100209 $ set term/inq/ins ! inquire the terminal capabilities
Bram Moolenaar05a29072019-01-18 22:59:53 +0100210 $ set disp/create/node=192.168.10.202/trans=tcpip
Bram Moolenaar071d4272004-06-13 20:20:40 +0000211
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200212Note: This set-up should be enough, if you are working on a standalone server or
213clustered environment, but if you want to use Vim as an internode editor in
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000214DECNET environment, it will satisfy as well.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000215You just have to define the "whole" path: >
216
217 $ define VIM "<server_name>[""user password""]::device:<path>"
218 $ vi*m :== "mcr VIM:VIM.EXE"
219
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200220For example: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000221
222 $ define VIM "PLUTO::RF10:[UTIL.VIM]"
223 $ define VIM "PLUTO""ZAY mypass""::RF10:[UTIL.VIM]" ! if passwd required
224
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000225You can also use the $VIMRUNTIME logical to point to the proper version of Vim
226if you have installed more versions at the same time. If $VIMRUNTIME is not
227defined Vim will borrow its value from the $VIM logical. You can find more
228information about the $VIMRUNTIME logical by typing :help runtime as a Vim
229command.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000230
231System administrators might want to set up a system wide Vim installation,
232then add to the SYS$STARTUP:SYLOGICALS.COM >
233
234 $ define/nolog/sys VIM device:<path>
235 $ define/nolog/sys TMP SYS$SCRATCH
236
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100237And to the SYS$STARTUP:SYLOGIN.COM >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000238
239 $ vi*m :== mcr VIM:VIM.EXE
240 $ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40
241
242
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000243It will set up a normal Vim work environment for every user on the system.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000244
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000245IMPORTANT: Vim on OpenVMS (and on other case insensitive system) command line
Bram Moolenaard5ab34b2007-05-05 17:15:44 +0000246parameters are assumed to be lowercase. In order to indicate that a command
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000247line parameter is uppercase "/" sign must be used.
248
249Examples:
250 >
251 vim -R filename ! means: -r List swap files and exit
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000252 vim -/r filename ! means: -R Readonly mode (like "view")
253 vim -u <vimrc> ! means: -u Use <vimrc> instead of any .vimrc
254 vim -/u <gvimrc> ! means: -U Use <gvimrc> instead of any .gvimrc
255
Bram Moolenaar071d4272004-06-13 20:20:40 +0000256==============================================================================
257
2587. GUI mode questions *vms-gui*
259
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000260OpenVMS is a real mainframe OS, therefore even if it has a GUI console, most
261of the users do not use a native X/Window environment during normal operation.
262It is not possible to start Vim in GUI mode "just like that". But anyhow it
263is not too complicated either.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000264
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000265First of all: you will need an executable that is built with the GUI enabled.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000266
267Second: you need to have installed DECW/Motif on your VMS server, otherwise
268you will get errors that some shareable libraries are missing.
269
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000270Third: If you choose to run Vim with extra features such as GUI/GTK then you
271need a GTK installation too or at least a GTK runtime environment (LIBGTK
Bram Moolenaar5eba4c22005-07-12 22:40:29 +0000272can be downloaded from http://www.polarhome.com/vim/).
Bram Moolenaar071d4272004-06-13 20:20:40 +0000273
2741) If you are working on the VMS X/Motif console:
275 Start Vim with the command: >
276
277 $ mc device:<path>VIM.EXE -g
278<
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000279 or type :gui as a command to the Vim command prompt. For more info :help
280 gui
Bram Moolenaar071d4272004-06-13 20:20:40 +0000281
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00002822) If you are working on some other X/Window environment like Unix or a remote
283 X VMS console. Set up display to your host with: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000284
285 $ set disp/create/node=<your IP address>/trans=<transport-name>
286<
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000287 and start Vim as in point 1. You can find more help in VMS documentation or
Bram Moolenaar071d4272004-06-13 20:20:40 +0000288 type: help set disp in VMS prompt.
289 Examples: >
290
291 $ set disp/create/node=192.168.5.159 ! default trans is DECnet
292 $ set disp/create/node=192.168.5.159/trans=tcpip ! TCP/IP network
293 $ set disp/create/node=192.168.5.159/trans=local ! display on the same node
294
295Note: you should define just one of these.
296For more information type $help set disp in VMS prompt.
297
2983) Another elegant solution is XDM if you have installed on OpenVMS box.
299 It is possible to work from XDM client as from GUI console.
300
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00003014) If you are working on MS-Windows or some other non X/Window environment
302 you need to set up one X server and run Vim as in point 2.
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200303 For MS-Windows there are available free X servers as MIX, Omni X etc.,
Bram Moolenaar071d4272004-06-13 20:20:40 +0000304 as well as excellent commercial products as eXcursion or ReflectionX with
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000305 built-in DEC support.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000306
307Please note, that executables without GUI are slightly faster during startup
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200308than with enabled GUI in character mode. Therefore, if you do not use GUI
Bram Moolenaar071d4272004-06-13 20:20:40 +0000309features, it is worth to choose non GUI executables.
310
311==============================================================================
312
3138. Useful notes *vms-notes*
314
Bram Moolenaarac98e5d2008-09-01 14:51:37 +00003158.1 Backspace/delete
Bram Moolenaar071d4272004-06-13 20:20:40 +00003168.2 Filters
3178.3 VMS file version numbers
3188.4 Directory conversion
3198.5 Remote host invocation
3208.6 Terminal problems
3218.7 Hex-editing and other external tools
3228.8 Sourcing vimrc and gvimrc
3238.9 Printing from Vim
3248.10 Setting up the symbols
3258.11 diff and other GNU programs
3268.12 diff-mode
3278.13 Allow '$' in C keywords
3288.14 VIMTUTOR for beginners
Bram Moolenaar5302d9e2011-09-14 17:55:08 +02003298.15 Slow start in console mode issue
3308.16 Common VIM directory - different architectures
Bram Moolenaar071d4272004-06-13 20:20:40 +0000331
Bram Moolenaarac98e5d2008-09-01 14:51:37 +00003328.1 Backspace/delete
Bram Moolenaar071d4272004-06-13 20:20:40 +0000333
334There are backspace/delete key inconsistencies with VMS.
Bram Moolenaarf269eab2022-10-03 18:04:35 +0100335:fixdel doesn't do the trick, but the solution is (without "<" in 'cpo'): >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000336
Bram Moolenaarf269eab2022-10-03 18:04:35 +0100337 :inoremap <C-?> <C-H> " for terminal mode
338 :inoremap <Del> <C-H> " for gui mode
Bram Moolenaar071d4272004-06-13 20:20:40 +0000339
340Read more in ch: 8.6 (Terminal problems).
341(Bruce Hunsaker <BNHunsaker@chq.byu.edu> Vim 5.3)
342
343
3448.2 Filters
345
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000346Vim supports filters, i.e., if you have a sort program that can handle
Bram Moolenaar071d4272004-06-13 20:20:40 +0000347input/output redirection like Unix (<infile >outfile), you could use >
348
349 :map \s 0!'aqsort<CR>
350
351(Charles E. Campbell, Jr. <cec@gryphon.gsfc.nasa.gov> Vim 5.4)
352
353
3548.3 VMS file version numbers
355
356Vim is saving files into a new file with the next higher file version
357number, try these settings. >
358
359 :set nobackup " does not create *.*_ backup files
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000360 :set nowritebackup " does not have any purpose on VMS. It's the
Bram Moolenaarc9b4b052006-04-30 18:54:39 +0000361 " default.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000362
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200363Recovery is working perfectly as well from the default swap file.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000364Read more with :help swapfile
365
366(Claude Marinier <ClaudeMarinier@xwavesolutions.com> Vim 5.5, Zoltan Arpadffy
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000367Vim 5.6)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000368
369
3708.4 Directory conversion
371
372Vim will internally convert any unix-style paths and even mixed unix/VMS
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000373paths into VMS style paths. Some typical conversions resemble:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000374
375 /abc/def/ghi -> abc:[def]ghi.
376 /abc/def/ghi.j -> abc:[def]ghi.j
377 /abc/def/ghi.j;2 -> abc:[def]ghi.j;2
378 /abc/def/ghi/jkl/mno -> abc:[def.ghi.jkl]mno.
379 abc:[def.ghi]jkl/mno -> abc:[def.ghi.jkl]mno.
380 ./ -> current directory
381 ../ -> relative parent directory
382 [.def.ghi] -> relative child directory
383 ./def/ghi -> relative child directory
384
385Note: You may use <,> brackets as well (device:<path>file.ext;version) as
386rf10:<user.zay.work>test.c;1
387
388(David Elins <delins@foliage.com>, Jerome Lauret
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200389<JLAURET@mail.chem.sunysb.edu> Vim 5.6)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000390
391
3928.5 Remote host invocation
393
394It is possible to use Vim as an internode editor.
3951. Edit some file from remote node: >
396
397 vi "<server>""username passwd""::<device>:<path><filename>;<version>"
398
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100399Example: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000400 vi "pluto""zay passwd""::RF10:<USER.ZAY.WORK>TEST.C;1"
401
402Note: syntax is very important, otherwise VMS will recognize more parameters
403instead of one (resulting with: file not found)
404
Bram Moolenaar402d2fe2005-04-15 21:00:38 +00004052. Set up Vim as your internode editor. If Vim is not installed on your
406host, just set up your IP address, the full Vim path including the server name
407and run the command procedure below: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000408
409 $ if (p1 .eqs. "") .OR. (p2 .eqs. "") then goto usage
410 $ set disp/create/node=<your_IP_here>/trans=tcpip
411 $ define "VIM "<vim_server>""''p1' ''p2'""::<device>:<vim_path>"
412 $ vi*m :== "mcr VIM:VIM.EXE"
413 $ gv*im :== "spawn/nowait mcr VIM:VIM.EXE -g"
414 $ goto end
415 $ usage:
416 $ write sys$output " Please enter username and password as a parameter."
417 $ write sys$output " Example: @SETVIM.COM username passwd"
418 $ end:
419
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000420Note: Never use it in a clustered environment (you do not need it), loading
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100421could be very-very slow, but even faster than a local Emacs. :-)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000422
423(Zoltan Arpadffy, Vim 5.6)
424
425
4268.6 Terminal problems
427
428If your terminal name is not known to Vim and it is trying to find the default
429one you will get the following message during start-up:
430---
431Terminal entry not found in termcap
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000432'unknown-terminal' not known. Available built-in terminals are:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000433 builtin_gui
434 builtin_riscos
435 builtin_amiga
Bram Moolenaar071d4272004-06-13 20:20:40 +0000436 builtin_ansi
437 builtin_vt320
438 builtin_vt52
439 builtin_pcansi
440 builtin_win32
441 builtin_xterm
442 builtin_iris-ansi
443 builtin_debug
444 builtin_dumb
445defaulting to 'vt320'
446---
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100447
448Try to force to inquire the terminal capabilities with: >
449
450 $ set term/inquire
451
452If the inquire did not help, the solutions is to define the default terminal name: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000453
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000454 $ ! unknown terminal name. Let us use vt320 or ansi instead.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000455 $ ! Note: it's case sensitive
456 $ define term "vt320"
457
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200458Terminals from VT100 to VT320 (as V300, VT220, VT200) do not need any extra
459keyboard mappings. They should work perfectly as they are, including arrows,
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000460Ins, Del buttons etc., except Backspace in GUI mode. To solve it, add to
Bram Moolenaar071d4272004-06-13 20:20:40 +0000461.gvimrc: >
462
463 inoremap <Del> <BS>
464
465Vim will also recognize that they are fast terminals.
466
Bram Moolenaarc1cf4c92022-11-25 15:09:35 +0000467If you're using Vim on remote host or through a very slow connection, you
468might want to reset fast terminal option with: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000469
470 set nottyfast " set terminal to slow mode
471
Bram Moolenaar071d4272004-06-13 20:20:40 +0000472
4738.7 Hex-editing and other external tools
474
475A very important difference between OpenVMS and other systems is that VMS uses
476special commands to execute executables: >
477
478 RUN <path>filename
479 MCR <path>filename <parameters>
480
481OpenVMS users always have to be aware that the Vim command :! "just" drop them
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000482to DCL prompt. This feature is possible to use without any problem with all
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200483DCL commands, but if we want to execute some programs such as XXD, CTAGS, JTAGS,
484etc. we're running into trouble if we follow the Vim documentation (see: help
Bram Moolenaar071d4272004-06-13 20:20:40 +0000485xxd).
486
487Solution: Execute with the MC command and add the full path to the executable.
488Example: Instead of :%!xxd command use: >
489
490 :%!mc vim:xxd
491
492... or in general: >
493 :!mc <path>filename <parameters>
494
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000495Note: You can use XXD and CTAGS from GUI menu.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000496
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000497To customize ctags it is possible to define the logical $CTAGS with standard
Bram Moolenaar071d4272004-06-13 20:20:40 +0000498parameters as: >
499
500 define/nolog CTAGS "--totals -o sys$login:tags"
501
502For additional information, please read :help tagsearch and CTAGS
503documentation at http://ctags.sourceforge.net/ctags.html.
504
505(Zoltan Arpadffy, Vim 5.6-70)
506
507
5088.8 Sourcing vimrc and gvimrc
509
510If you want to use your .vimrc and .gvimrc from other platforms (e.g. Windows)
511you can get in trouble if you ftp that file(s): VMS has different end-of-line
512indication.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000513The symptom is that Vim is not sourcing your .vimrc/.gvimrc, even if you say:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000514>
515 :so sys$login:.vimrc
516
517One trick is to compress (e.g. zip) the files on the other platform and
518uncompress it on VMS; if you have the same symptom, try to create the files
519with copy-paste (for this you need both op. systems reachable from one
520machine, e.g. an Xterm on Windows or telnet to Windows from VMS).
521
522(Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> Vim 6.0a)
523
524
5258.9 Printing from Vim
526
527To be able to print from Vim (running in GUI mode) under VMS you have to set
528up $TMP logical which should point to some temporary directory and logical
529SYS$PRINT to your default print queue.
530Example: >
531
532 $define SYS$PRINT HP5ANSI
533
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200534You can print out the whole buffer or just the marked area.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000535More info under :help hardcopy
536
537(Zoltan Arpadffy, Vim 6.0c)
538
539
5408.10 Setting up the symbols
541
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200542When I use gvim this way and press CTRL-Y in the parent terminal, gvim exits.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000543I now use a different symbol that seems to work OK and fixes the problem.
544I suggest this instead: >
545
546 $ GV*IM:==SPAWN/NOWAIT/INPUT=NLA0: MCR VIM:VIM.EXE -G -GEOMETRY 80X40
547
548The /INPUT=NLA0: separates the standard input of the gvim process from the
549parent terminal, to block signals from the parent window.
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200550Without the -GEOMETRY, the gvim window size will be minimal and the menu
Bram Moolenaar071d4272004-06-13 20:20:40 +0000551will be confused after a window-resize.
552
553(Carlo Mekenkamp, Coen Engelbarts, Vim 6.0ac)
554
555
5568.11 diff and other GNU programs
557
558From 6.0 diff functionality has been implemented, but OpenVMS does not use
559GNU/Unix like diff therefore built in diff does not work.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000560There is a simple solution to solve this anomaly. Install a Unix like diff
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200561and Vim will work perfectly in diff mode too. You just have to redefine your
Bram Moolenaar071d4272004-06-13 20:20:40 +0000562diff program as: >
563
564 define /nolog diff <GNU_PATH>diff.exe
565
566Another, more sophisticated solution is described below (8.12 diff-mode)
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200567There are other programs such as patch, make etc that may cause the same
568problems. At www.polarhome.com is possible to download an GNU package for
569Alpha and VAX boxes that is meant to solve GNU problems on OpenVMS.
570(Zoltan Arpadffy, Vim 6.1)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000571
572
5738.12 diff-mode
574
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100575Vim 6.0 and higher supports Vim diff-mode (See |new-diff-mode|, |diff-mode|
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000576and |08.7|). This uses the external program 'diff' and expects a Unix-like
577output format from diff. The standard VMS diff has a different output
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100578format. To use Vim on VMS in diff-mode, you need to:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000579 1 Install a Unix-like diff program, e.g. GNU diff
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100580 2 Tell Vim to use the Unix-like diff for diff-mode.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000581
582You can download GNU diff from the VIM-VMS website, it is one of the GNU
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000583tools in http://www.polarhome.com/vim/files/gnu_tools.zip. I suggest to
Bram Moolenaar071d4272004-06-13 20:20:40 +0000584unpack it in a separate directory "GNU" and create a logical GNU: that
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000585points to that directory, e.g: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000586
587 DEFINE GNU <DISK>:[<DIRECTORY>.BIN.GNU]
588
589You may also want to define a symbol GDIFF, to use the GNU diff from the DCL
590prompt: >
591
592 GDIFF :== $GNU:DIFF.EXE
593
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100594Now you need to tell Vim to use the new diff program. Take the example
Bram Moolenaar071d4272004-06-13 20:20:40 +0000595settings from |diff-diffexpr| and change the call to the external diff
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000596program to the new diff on VMS. Add this to your .vimrc file: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000597
598 " Set up vimdiff options
599 if v:version >= 600
600 " Use GNU diff on VMS
601 set diffexpr=MyDiff()
602 function MyDiff()
603 let opt = ""
604 if &diffopt =~ "icase"
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000605 let opt = opt .. "-i "
Bram Moolenaar071d4272004-06-13 20:20:40 +0000606 endif
607 if &diffopt =~ "iwhite"
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000608 let opt = opt .. "-b "
Bram Moolenaar071d4272004-06-13 20:20:40 +0000609 endif
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000610 silent execute "!mc GNU:diff.exe -a " .. opt .. v:fname_in .. " " .. v:fname_new ..
611 \ " > " .. v:fname_out
Bram Moolenaar071d4272004-06-13 20:20:40 +0000612 endfunction
613 endif
614
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100615You can now use Vim in diff-mode, e.g. to compare two files in read-only
Bram Moolenaar071d4272004-06-13 20:20:40 +0000616mode: >
617
618 $ VIM -D/R <FILE1> <FILE2>
619
620You can also define new symbols for vimdiff, e.g.: >
621
622 $ VIMDIFF :== 'VIM' -D/R
623 $ GVIMDIFF :== 'GVIM' -D/R
624
625You can now compare files in 4 ways: >
626
627 1. VMS diff: $ DIFF <FILE1> <FILE2>
628 2. GNU diff: $ GDIFF <FILE1> <FILE2>
629 3. VIM diff: $ VIMDIFF <FILE1> <FILE2>
630 4. GVIM diff: $ GVIMDIFF <FILE1> <FILE2>
631
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200632(Coen Engelbarts, Vim 6.1)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000633
634
6358.13 Allow '$' in C keywords
636
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000637DEC C uses many identifiers with '$' in them. This is not allowed in ANSI C,
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100638and Vim recognises the '$' as the end of the identifier. You can change this
Bram Moolenaarf91787c2010-07-17 12:47:16 +0200639with the 'iskeyword' option.
Bram Moolenaar071d4272004-06-13 20:20:40 +0000640Add this command to your .vimrc file: >
641
642 autocmd FileType c,cpp,cs set iskeyword+=$
643
644You can also create the file(s) $VIM/FTPLUGIN/C.VIM (and/or CPP.VIM and
645CS.VIM) and add this command: >
646
647 set iskeyword+=$
648
649Now word-based commands, e.g. the '*'-search-command and the CTRL-]
Bram Moolenaar402d2fe2005-04-15 21:00:38 +0000650tag-lookup, work on the whole identifier. (Ctags on VMS also supports '$' in
Bram Moolenaar071d4272004-06-13 20:20:40 +0000651C keywords since ctags version 5.1.)
652
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200653(Coen Engelbarts, Vim 6.1)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000654
6558.14 VIMTUTOR for beginners
656
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200657The VIMTUTOR.COM DCL script can help Vim beginners to learn/make their first
658steps with Vim on OpenVMS. Depending of binary distribution you may start it
659with: >
Bram Moolenaar071d4272004-06-13 20:20:40 +0000660
661 @vim:vimtutor
662
663(Thomas.R.Wyant III, Vim 6.1)
664
Bram Moolenaar5302d9e2011-09-14 17:55:08 +02006658.16 Slow start in console mode issue
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000666
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100667As GUI/GTK Vim works equally well in console mode, many administrators
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000668deploy those executables system wide.
669Unfortunately, on a remote slow connections GUI/GTK executables behave rather
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200670slow when user wants to run Vim just in the console mode - because of X
671environment detection timeout.
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000672
673Luckily, there is a simple solution for that. Administrators need to deploy
674both GUI/GTK build and just console build executables, like below: >
675
Bram Moolenaar24ea3ba2010-09-19 19:01:21 +0200676 |- vim73
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000677 |----- doc
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200678 |----- syntax
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000679 vimrc (system rc files)
680 gvimrc
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200681 gvim.exe (the renamed GUI or GTK built vim.exe)
682 vim.exe (the console only executable)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000683
684Define system symbols like below in for ex in LOGIN.COM or SYLOGIN.COM: >
685
Bram Moolenaar24ea3ba2010-09-19 19:01:21 +0200686 $ define/nolog VIM RF10:[UTIL.VIM73] ! where you VIM directory is
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000687 $ vi*m :== mcr VIM:VIM.EXE
688 $ gvi*m :== mcr VIM:GVIM.EXE
689 $ ! or you can try to spawn with
690 $ gv*im :== spawn/nowait/input=NLA0 mcr VIM:GVIM.EXE -g -GEOMETRY 80x40
691
692
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200693Like this, users that do not have X environment and want to use Vim just in
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000694console mode can avoid performance problems.
695
696(Zoltan Arpadffy, Vim 7.2)
697
6988.15 Common VIM directory - different architectures
699
700In a cluster that contains nodes with different architectures like below:
701
702$show cluster
703View of Cluster from system ID 11655 node: TOR 18-AUG-2008 11:58:31
704+---------------------------------+
Bram Moolenaar85eee132018-05-06 17:57:30 +0200705| SYSTEMS | MEMBERS |
706+-----------------------+---------|
707| NODE | SOFTWARE | STATUS |
708+--------+--------------+---------|
709| TOR | VMS V7.3-2 | MEMBER |
710| TITAN2 | VMS V8.3 | MEMBER |
711| ODIN | VMS V7.3-2 | MEMBER |
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000712+---------------------------------+
713
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100714It is convenient to have a common VIM directory but execute different
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200715executables.
716There are several solutions for this problem:
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000717
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100718Solution 1. All executables in the same directory with different names
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000719This is easily done with the following script that can be added
720to the login.com or sylogin.com: >
721
722 $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
723 $ then
724 $ say "VAX platform"
725 $ vi*m:== mcr vim:VIM.EXE_VAX
726 $ endif
727 $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
728 $ then
729 $ say "ALPHA platform"
730 $ vi*m :== mcr vim:VIM.EXE_AXP
731 $ endif
732 $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
733 $ then
734 $ say "IA64 platform"
735 $ vi*m :== mcr vim:VIM.EXE_IA64
736 $ endif
737
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100738Solution 2. Different directories: >
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000739
740 $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
741 $ then
742 $ say "VAX platform"
743 $ define/nolog VIM RF10:[UTIL.VAX_EXE] ! VAX executables
744 $ endif
745 $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
746 $ then
747 $ say "ALPHA platform"
748 $ define/nolog VIM RF10:[UTIL.AXP_EXE] ! AXP executables
749 $ endif
750 $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
751 $ then
752 $ say "IA64 platform"
753 $ define/nolog VIM RF10:[UTIL.IA64_EXE] ! IA64 executables
754 $ endif
zeertzjqd086b8f2024-02-25 15:42:52 +0800755 $! VIMRUNTIME must be defined in order to find runtime files
Bram Moolenaar24ea3ba2010-09-19 19:01:21 +0200756 $ define/nolog VIMRUNTIME RF10:[UTIL.VIM73]
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000757
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +0100758A good example for this approach is the [GNU]gnu_tools.com script from
759GNU_TOOLS.ZIP package downloadable from http://www.polarhome.com/vim/
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000760
761(Zoltan Arpadffy, Vim 7.2)
762
Bram Moolenaar071d4272004-06-13 20:20:40 +0000763==============================================================================
764
7659. VMS related changes *vms-changes*
766
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100767Version 9.0 (2023 Nov 27)
768- Vim is ported to the X86_64 architecture
zeertzjq61e984e2023-12-09 15:18:33 +0800769 - IMPORTANT: because of the getline function name used in structs like in ex_cmds.h
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100770 on X86_64 the CRTL_VER is kept under 80500000 level. The proper solution would be
771 to rename the getline function to something else in the struct (and in all places
772 it is used) - and avoiding to use POSIX functions in structs, but this change would
Dominique Pellé17dca3c2023-12-14 20:36:32 +0100773 impact on all other operating systems. (added to the VMS TODO list)
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100774 Read more about at https://forum.vmssoftware.com/viewtopic.php?f=38&t=8914&p=20049
775- os_vms_conf.h includes have been reviewed for all architectures
776- added support for the MODIFIED_BY define
777
778Version 8.2 (2020 Feb 6)
Bram Moolenaar7e6a5152021-01-02 16:39:53 +0100779- make all changes needed for clean compile build of v8.2 on VMS on all platforms
Bram Moolenaar2346a632021-06-13 19:02:49 +0200780- fix the call mkdir bug (vicente_polo@yahoo.es)
Bram Moolenaar82be4842021-01-11 19:40:15 +0100781- test on VSI OpenVMS Alpha and Itanium platforms
782- added LUA support
783- added XPM support - Motif GUI with toolbar on all platforms
Bram Moolenaar2346a632021-06-13 19:02:49 +0200784- XPM v3.4.11 libraries for IA64, AXP and VAX are added
785- start integrating the new test scripts
Bram Moolenaar7e6a5152021-01-02 16:39:53 +0100786
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100787Version 8.1 (2019 Jan 9)
Bram Moolenaar05a29072019-01-18 22:59:53 +0100788- make necessary changes to build v8.1 on VMS
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100789- GTK1.2.10 on VAX
Bram Moolenaar05a29072019-01-18 22:59:53 +0100790
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100791Version 8.0 (2016 Nov 21)
Bram Moolenaar05a29072019-01-18 22:59:53 +0100792- solve the 100% cpu usage issue while waiting for a keystroke
793- correct the VMS warnings and errors around handling the INFINITY (used in json.c)
Bram Moolenaar314dd792019-02-03 15:27:20 +0100794- minor VMS port related changes
795- correct the make_vms.mms file for 8.0
796- fix [.TESTDIR]make_vms.mms for 8.0
Bram Moolenaar05a29072019-01-18 22:59:53 +0100797
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100798Version 7.4 (2013 Aug 10)
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200799- 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 +0100800 add _un_ at the beginning to keep the extension
801- correct swap file name wildcard handling
802- handle iconv usage correctly
803- do not optimize on vax - otherwise it hangs compiling crypto files
804- fileio.c fix the comment
Bram Moolenaar6aa8cea2017-06-05 14:44:35 +0200805- correct RealWaitForChar
Bram Moolenaar206f0112014-03-12 16:51:55 +0100806- after 7.4-119 use different functions lib$cvtf_to_internal_time because Alpha and VAX have
807 G_FLOAT but IA64 uses IEEE float otherwise Vim crashes
Bram Moolenaar34401cc2014-08-29 15:12:19 +0200808- guard against crashes that are caused by mixed filenames
Bram Moolenaar206f0112014-03-12 16:51:55 +0100809- [TESTDIR]make_vms.mms changed to see the output files
810- Improve tests, update known issues
811- minor compiler warnings fixed
812- CTAGS 5.8 +regex included
813
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100814Version 7.3 (2010 Aug 15)
Bram Moolenaar8e469272010-07-28 19:38:16 +0200815- CTAGS 5.8 included
816- VMS compile warnings fixed - floating-point overflow warning corrected on VAX
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200817- filepath completion corrected - too many chars were escaped in filename
Bram Moolenaar8e469272010-07-28 19:38:16 +0200818 and shell commands
819- the following plugins are included into VMS runtime:
820 genutils 2.4, multiselect 2.2, multvals 3.1, selectbuf 4.3,
821 bufexplorer 7.1.7, taglist 4.5
822- minor changes in vimrc (just in VMS runtime)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000823- make_vms.mms - HUGE model is the default
824- [TESTDIR]make_vms.mms include as many tests possible
825- modify test30 and test54 for VMS
826- enable FLOAT feature in VMS port
Bram Moolenaar8e469272010-07-28 19:38:16 +0200827- os_vms.txt updated
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000828
829Version 7.2 (2008 Aug 9)
830- VCF files write corrected
831- CTAGS 5.7 included
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200832- corrected make_vms.mms (on VAX gave syntax error)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000833
834Version 7.1 (2007 Jun 15)
Bram Moolenaar5302d9e2011-09-14 17:55:08 +0200835- create TAGS file from menu
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000836
837Version 7 (2006 May 8)
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000838- Improved low level char input (affects just console mode)
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000839- Fixed plugin bug
840- CTAGS 5.6 included
Bram Moolenaarb475fb92006-03-02 22:40:52 +0000841
842Version 6.4 (2005 Oct 15)
Bram Moolenaar5eba4c22005-07-12 22:40:29 +0000843- GTKLIB and Vim build on IA64
844- colors in terminal mode
845- syntax highlighting in terminal mode
846- write problem fixed (extra CR)
847- ESC and ESC sequence recognition in terminal mode
848- make file changed to support new MMS version
849- env variable expansion in path corrected
850- printing problems corrected
851- help text added for case insensitive arguments
852
Bram Moolenaar071d4272004-06-13 20:20:40 +0000853Version 6.3 (2004 May 10)
854- Improved vms_read function
855- CTAGS v5.5.4 included
856- Documentation corrected and updated
857
858Version 6.2 (2003 May 7)
859- Corrected VMS system call results
860- Low level character input is rewritten
861- Correction in tag and quickfix handling
862- First GTK build
863- Make file changes
864 - GTK feature added
865 - Define for OLD_VMS
866 - OpenVMS version 6.2 or older
867- Documentation updated with GTK features
868- CTAGS v5.5 included
869- VMS VIM tutor created
870
871Version 6.1 (2002 Mar 25)
872- TCL init_tcl() problem fixed
873- CTAGS v5.4 included
874- GNU tools binaries for OpenVMS
875- Make file changes
876 - PERL, PYTHON and TCL support improved
877 - InstallVMS.txt has a detailed description HOWTO build
878- VMS/Unix file handling rewritten
879- Minor casting and bug fixes
880
881Version 6.0 (2001 Sep 28)
882- Unix and VMS code has been merged
883 - separated "really" VMS related code
884 - included all possible Unix functionality
885 - simplified or deleted the configuration files
886 - makefile MAKE_VMS.MMS reviewed
887- menu changes (fixed printing, CTAGS and XXD usage)
888- fixed variable RMS record format handling anomaly
889- corrected syntax, ftplugin etc files load
890- changed expand_wildcards and expandpath functions to work more general
891- created OS_VMS_FILTER.COM - DECC->VAXC pre-processor directive convert
892 script.
893- Improved code's VAXC and new DECC compilers compatibility
894- changed quickfix parameters:
895 - errormessage format to suite DECC
896 - search, make and other commands to suite VMS system
897- updated and renamed MMS make files for Vim and CTAGS.
898- CTAGS has been removed from source distribution of Vim but it will remain
899 in OpenVMS binary distributions.
900- simplified build/configuration procedure
901- created INSTALLvms.txt - detailed compiling instructions under VMS.
902- updated test scripts.
903
904Version 5.8 (2001 Jun 1)
905- OS_VMS.TXT updated with new features.
906- other minor fixes.
907- documentation updated
908- this version had been tested much more than any other OpenVMS version
909 earlier
910
911Version 5.7 (2000 Jun 24)
912- New CTAGS v5.0 in distribution
913- Documentation updated
914
915Version 5.6 (2000 Jan 17)
916- VMS filename related changes:
917 - version handling (open everything, save to new version)
918 - correct file extension matching for syntax (version problem)
919 - handle <,> characters and passwords in directory definition
920 - handle internode/remote invocation and editing with passwords
921 - OpenVMS files will be treated case insensitive from now
922 - corrected response of expand("%:.") etc path related functions
923 (in one word: VMS directory handling internally)
924- version command
925 - corrected (+,-) information data
926 - added compiler and OS version
927 - added user and host information
928 - resolving $VIM and $VIMRUNTIME logicals
929- VMS port is in MAX_FEAT (maximum features) club with Unix, Win32 and OS/2.
930 - enabled farsi, rightleft etc. features
931 - undo level raised up to 1000
932- Updated OS_VMS.MMS file.
933 - maximum features ON is default
934 - Vim is compilable with +perl, +python and +tcl features.
935 - improved MMK compatibility
936- Created MAKEFILE_VMS.MMS, makefile for testing Vim during development.
937- Defined DEC terminal VT320
938 - compatibility for VT3*0, VT2*0 and VT1*0 - ANSI terminals
939 backwards, but not VT340 and newer with colour capability.
940 - VT320 is default terminal for OpenVMS
941 - these new terminals are also fast ttys (default for OpenVMS).
942 - allowed dec_mouse ttym
943- Updated files vimrc and gvimrc with VMS specific suggestions.
944- OS_VMS.TXT updated with new features.
945
946Version 5.5 (1999 Dec 3)
947- Popup menu line crash corrected.
948- Handle full file names with version numbers.
949- Directory handling (CD command etc.)
950- Corrected file name conversion VMS to Unix and v.v.
951- Correct response of expand wildcards
952- Recovery is working from this version under VMS as well.
953- Improved terminal and signal handing.
954- Improved OS_VMS.TXT
955
956Version 5.4 (1999 Sep 9)
957- Cut and paste mismatch corrected.
958- Motif directories during open and save are corrected.
959
960Version 5.3 (1998 Oct 12)
961- Minor changes in the code
962- Standard distribution with +GUI option
963
964Version 5.1 (1998 Apr 21)
965- Syntax and DEC C changes in the code
966- Fixing problems with the /doc subdirectory
967- Improve OS_VMS.MMS
968
969Version 4.5 (1996 Dec 16)
970- First VMS port by Henk Elbers <henk@xs4all.nl>
971
972==============================================================================
973
97410. Authors *vms-authors*
975
976OpenVMS documentation and executables are maintained by:
Zoltan Arpadffy1c8e2332023-12-05 16:04:23 +0100977Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
Bram Moolenaarac98e5d2008-09-01 14:51:37 +0000978OpenVMS Vim page: http://www.polarhome.com/vim/
Bram Moolenaar071d4272004-06-13 20:20:40 +0000979
980This document uses parts and remarks from earlier authors and contributors
981of OS_VMS.TXT:
982 Charles E. Campbell, Jr. <cec@gryphon.gsfc.nasa.gov>
983 Bruce Hunsaker <BNHunsaker@chq.byu.edu>
984 Sandor Kopanyi <sandor.kopanyi@mailbox.hu>
985
Bram Moolenaar91f84f62018-07-29 15:07:52 +0200986 vim:tw=78:ts=8:noet:ft=help:norl: