Christian Brabandt | 1c5728e | 2024-05-11 11:12:40 +0200 | [diff] [blame] | 1 | *os_vms.txt* For Vim version 9.1. Last change: 2024 May 11 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 2 | |
| 3 | |
| 4 | VIM REFERENCE MANUAL |
| 5 | |
| 6 | |
| 7 | *VMS* *vms* |
| 8 | This file contains the particularities for the VMS version of Vim. |
| 9 | You can reach this information file by typing :help VMS in Vim command |
| 10 | prompt. |
| 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| |
| 21 | 10. Authors |vms-authors| |
| 22 | |
| 23 | ============================================================================== |
| 24 | |
| 25 | 1. Getting started *vms-started* |
| 26 | |
Bram Moolenaar | 7cba6c0 | 2013-09-05 22:13:31 +0200 | [diff] [blame] | 27 | Vim (Vi IMproved) is a Vi-compatible text editor that runs on nearly every |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 28 | operating system known to humanity. Now use Vim on OpenVMS too, in character |
| 29 | or X/Motif environment. It is fully featured and absolutely compatible with |
| 30 | Vim on other operating systems. |
| 31 | |
| 32 | ============================================================================== |
| 33 | |
| 34 | 2. Download files *vms-download* |
| 35 | |
| 36 | You can download the Vim source code by ftp from the official Vim site: |
| 37 | ftp://ftp.vim.org/pub/vim/ |
| 38 | Or use one of the mirrors: |
| 39 | ftp://ftp.vim.org/pub/vim/MIRRORS |
| 40 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 41 | You can download precompiled executables from: |
| 42 | http://www.polarhome.com/vim/ |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 43 | |
| 44 | To use the precompiled binary version, you need one of these archives: |
| 45 | |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 46 | 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 Moolenaar | c9b4b05 | 2006-04-30 18:54:39 +0000 | [diff] [blame] | 51 | vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables |
| 52 | vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 53 | vim-XX-exe-axp-term.zip Alpha console executables |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 54 | vim-XX-exe-vax-gui.zip VAX GUI executables |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 55 | vim-XX-exe-vax-term.zip VAX console executables |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 56 | |
Bram Moolenaar | b475fb9 | 2006-03-02 22:40:52 +0000 | [diff] [blame] | 57 | and of course (optional) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 58 | vim-XX-runtime.zip runtime files |
| 59 | |
Bram Moolenaar | 5eba4c2 | 2005-07-12 22:40:29 +0000 | [diff] [blame] | 60 | The binary archives contain: vim.exe, ctags.exe, xxd.exe files. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 61 | |
Bram Moolenaar | c9b4b05 | 2006-04-30 18:54:39 +0000 | [diff] [blame] | 62 | For GTK executables you will need GTKLIB that is available for |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 63 | Alpha and IA64 platforms. |
Bram Moolenaar | b475fb9 | 2006-03-02 22:40:52 +0000 | [diff] [blame] | 64 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 65 | ============================================================================== |
| 66 | |
| 67 | 3. Compiling *vms-compiling* |
| 68 | |
| 69 | See the file [.SRC]INSTALLVMS.TXT. |
| 70 | |
| 71 | ============================================================================== |
| 72 | |
| 73 | 4. Problems *vms-problems* |
| 74 | |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 75 | The code has been tested under Open VMS 6.2 - 9.2 on Alpha, VAX, IA64 and |
| 76 | X86_64 platforms with the DEC C compiler. It should work without major problems. |
| 77 | If your system does not have some include libraries you can tune in the |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 78 | OS_VMS_CONF.H file. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 79 | |
| 80 | If you decided to build Vim with +perl, +python, etc. options, first you need |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 81 | to download OpenVMS distributions of Perl and Python. Build and deploy the |
| 82 | libraries and change adequate lines in MAKE_VMS.MMS file. There should not be |
| 83 | a problem from Vim side. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 84 | |
Bram Moolenaar | 5eba4c2 | 2005-07-12 22:40:29 +0000 | [diff] [blame] | 85 | Also GTK, XPM library paths should be configured in MAKE_VMS.MMS |
| 86 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 87 | Note: Under VAX it should work with the DEC C compiler without problems. The |
| 88 | VAX C compiler is not fully ANSI C compatible in pre-processor directives |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 89 | semantics, therefore you have to use a converter program that will do the lion |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 90 | part of the job. For detailed instructions read file INSTALLvms.txt |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 91 | |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 92 | To build XXD.EXE, you should change to the subdirectory and build it separately. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 93 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 94 | CTAGS is not part of the Vim source distribution anymore, however the OpenVMS |
| 95 | specific source might contain CTAGS source files as described above. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 96 | You can find more information about CTAGS on VMS at |
| 97 | http://www.polarhome.com/ctags/ |
| 98 | |
Bram Moolenaar | 06b5d51 | 2010-05-22 15:37:44 +0200 | [diff] [blame] | 99 | Advanced users may try some acrobatics in FEATURE.H file as well. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 100 | |
| 101 | It is possible to compile with +xfontset +xim options too, but then you have |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 102 | to set up GUI fonts etc. correctly. See :help xim from Vim command prompt. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 103 | |
| 104 | You may want to use GUI with GTK icons, then you have to download and install |
| 105 | GTK for OpenVMS or at least runtime shareable images - LIBGTK from |
| 106 | polarhome.com |
Bram Moolenaar | 2a953fc | 2019-01-26 17:41:47 +0100 | [diff] [blame] | 107 | Post 7.2 Vim uses GTK2+ while the last GTK on OpenVMS is 1.2.10, therefore |
Bram Moolenaar | 314dd79 | 2019-02-03 15:27:20 +0100 | [diff] [blame] | 108 | the GTK build is no longer available. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 109 | |
| 110 | For more advanced questions, please send your problem to Vim on VMS mailing |
| 111 | list <vim-vms@polarhome.com> |
| 112 | More about the vim-vms list can be found at: |
| 113 | http://www.polarhome.com/mailman/listinfo/vim-vms |
| 114 | |
| 115 | ============================================================================== |
| 116 | |
| 117 | 5. Deploy *vms-deploy* |
| 118 | |
| 119 | Vim 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 Moolenaar | b475fb9 | 2006-03-02 22:40:52 +0000 | [diff] [blame] | 126 | |- vim62 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 127 | |----- doc |
| 128 | |----- syntax |
Bram Moolenaar | b475fb9 | 2006-03-02 22:40:52 +0000 | [diff] [blame] | 129 | |- vim64 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 130 | |----- doc |
| 131 | |----- syntax |
| 132 | vimrc (system rc files) |
| 133 | gvimrc |
| 134 | |
| 135 | Use: > |
| 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 Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 141 | To get vim.exe to find its document, filetype, and syntax files, and to |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 142 | specify a directory where temporary files will be located. Copy the "runtime" |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 143 | subdirectory of the Vim distribution to vimruntime. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 144 | |
| 145 | Logicals $VIMRUNTIME and $TMP are optional. |
| 146 | |
| 147 | If $VIMRUNTIME is not set, Vim will guess and try to set up automatically. |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 148 | Read more about it at :help runtime |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 149 | |
| 150 | If $TMP is not set, you will not be able to use some functions as CTAGS, |
| 151 | XXD, printing etc. that use temporary directory for normal operation. |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 152 | The $TMP directory should be readable and writable by the user(s). |
| 153 | The easiest way to set up $TMP is to define a logical: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 154 | |
| 155 | define/nolog TMP SYS$SCRATCH |
| 156 | or as: > |
| 157 | define/nolog TMP SYS$LOGIN |
| 158 | |
| 159 | ============================================================================== |
| 160 | |
| 161 | 6. Practical usage *vms-usage* |
| 162 | |
| 163 | Usually, you want to run just one version of Vim on your system, therefore |
| 164 | it is enough to dedicate one directory for Vim. |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 165 | Copy the whole Vim runtime directory structure to the deployment position. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 166 | Add the following lines to your LOGIN.COM (in SYS$LOGIN directory). |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 167 | Set up the logical $VIM as: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 168 | |
| 169 | $ define VIM device:<path> |
| 170 | |
| 171 | Set 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 | |
| 179 | Please, check the notes for customization and configuration of symbols. |
| 180 | |
| 181 | You may want to create .vimrc and .gvimrc files in your home directory |
| 182 | (SYS$LOGIN) to overwrite default settings. |
| 183 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 184 | The 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 Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 186 | be the default setup for all users, and for users it is enough to just have |
| 187 | their own additions or resetting in their home directory in files .vimrc and |
| 188 | .gvimrc. It should work without problems. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 189 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 190 | Note: Remember, system rc files (default for all users) don't have a leading |
| 191 | ".". So, system rc files are: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 192 | |
| 193 | $VIM:vimrc |
| 194 | $VIM:gvimrc |
| 195 | $VIM:menu.vim |
| 196 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 197 | and user customized rc files are: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 198 | |
| 199 | sys$login:.vimrc |
| 200 | sys$login:.gvimrc |
| 201 | |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 202 | You can check that everything is at the right place with the :version command. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 203 | |
| 204 | Example LOGIN.COM: > |
| 205 | |
Bram Moolenaar | 938ae28 | 2023-02-20 20:44:55 +0000 | [diff] [blame] | 206 | $ define/nolog VIM DKA0:[UTIL.VIM81] |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 207 | $ vi*m :== mcr VIM:VIM.EXE |
| 208 | $ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40 |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 209 | $ set term/inq/ins ! inquire the terminal capabilities |
Bram Moolenaar | 05a2907 | 2019-01-18 22:59:53 +0100 | [diff] [blame] | 210 | $ set disp/create/node=192.168.10.202/trans=tcpip |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 211 | |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 212 | Note: This set-up should be enough, if you are working on a standalone server or |
| 213 | clustered environment, but if you want to use Vim as an internode editor in |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 214 | DECNET environment, it will satisfy as well. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 215 | You 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 Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 220 | For example: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 221 | |
| 222 | $ define VIM "PLUTO::RF10:[UTIL.VIM]" |
| 223 | $ define VIM "PLUTO""ZAY mypass""::RF10:[UTIL.VIM]" ! if passwd required |
| 224 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 225 | You can also use the $VIMRUNTIME logical to point to the proper version of Vim |
| 226 | if you have installed more versions at the same time. If $VIMRUNTIME is not |
| 227 | defined Vim will borrow its value from the $VIM logical. You can find more |
| 228 | information about the $VIMRUNTIME logical by typing :help runtime as a Vim |
| 229 | command. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 230 | |
| 231 | System administrators might want to set up a system wide Vim installation, |
| 232 | then add to the SYS$STARTUP:SYLOGICALS.COM > |
| 233 | |
| 234 | $ define/nolog/sys VIM device:<path> |
| 235 | $ define/nolog/sys TMP SYS$SCRATCH |
| 236 | |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 237 | And to the SYS$STARTUP:SYLOGIN.COM > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 238 | |
| 239 | $ vi*m :== mcr VIM:VIM.EXE |
| 240 | $ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40 |
| 241 | |
| 242 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 243 | It will set up a normal Vim work environment for every user on the system. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 244 | |
Bram Moolenaar | b475fb9 | 2006-03-02 22:40:52 +0000 | [diff] [blame] | 245 | IMPORTANT: Vim on OpenVMS (and on other case insensitive system) command line |
Bram Moolenaar | d5ab34b | 2007-05-05 17:15:44 +0000 | [diff] [blame] | 246 | parameters are assumed to be lowercase. In order to indicate that a command |
Bram Moolenaar | b475fb9 | 2006-03-02 22:40:52 +0000 | [diff] [blame] | 247 | line parameter is uppercase "/" sign must be used. |
| 248 | |
| 249 | Examples: |
| 250 | > |
| 251 | vim -R filename ! means: -r List swap files and exit |
Bram Moolenaar | c9b4b05 | 2006-04-30 18:54:39 +0000 | [diff] [blame] | 252 | 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 Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 256 | ============================================================================== |
| 257 | |
| 258 | 7. GUI mode questions *vms-gui* |
| 259 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 260 | OpenVMS is a real mainframe OS, therefore even if it has a GUI console, most |
| 261 | of the users do not use a native X/Window environment during normal operation. |
| 262 | It is not possible to start Vim in GUI mode "just like that". But anyhow it |
| 263 | is not too complicated either. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 264 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 265 | First of all: you will need an executable that is built with the GUI enabled. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 266 | |
| 267 | Second: you need to have installed DECW/Motif on your VMS server, otherwise |
| 268 | you will get errors that some shareable libraries are missing. |
| 269 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 270 | Third: If you choose to run Vim with extra features such as GUI/GTK then you |
| 271 | need a GTK installation too or at least a GTK runtime environment (LIBGTK |
Bram Moolenaar | 5eba4c2 | 2005-07-12 22:40:29 +0000 | [diff] [blame] | 272 | can be downloaded from http://www.polarhome.com/vim/). |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 273 | |
| 274 | 1) 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 Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 279 | or type :gui as a command to the Vim command prompt. For more info :help |
| 280 | gui |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 281 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 282 | 2) 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 Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 284 | |
| 285 | $ set disp/create/node=<your IP address>/trans=<transport-name> |
| 286 | < |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 287 | and start Vim as in point 1. You can find more help in VMS documentation or |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 288 | 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 | |
| 295 | Note: you should define just one of these. |
| 296 | For more information type $help set disp in VMS prompt. |
| 297 | |
| 298 | 3) 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 Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 301 | 4) 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 Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 303 | For MS-Windows there are available free X servers as MIX, Omni X etc., |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 304 | as well as excellent commercial products as eXcursion or ReflectionX with |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 305 | built-in DEC support. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 306 | |
| 307 | Please note, that executables without GUI are slightly faster during startup |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 308 | than with enabled GUI in character mode. Therefore, if you do not use GUI |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 309 | features, it is worth to choose non GUI executables. |
| 310 | |
| 311 | ============================================================================== |
| 312 | |
| 313 | 8. Useful notes *vms-notes* |
| 314 | |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 315 | 8.1 Backspace/delete |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 316 | 8.2 Filters |
| 317 | 8.3 VMS file version numbers |
| 318 | 8.4 Directory conversion |
| 319 | 8.5 Remote host invocation |
| 320 | 8.6 Terminal problems |
| 321 | 8.7 Hex-editing and other external tools |
| 322 | 8.8 Sourcing vimrc and gvimrc |
| 323 | 8.9 Printing from Vim |
| 324 | 8.10 Setting up the symbols |
| 325 | 8.11 diff and other GNU programs |
| 326 | 8.12 diff-mode |
| 327 | 8.13 Allow '$' in C keywords |
| 328 | 8.14 VIMTUTOR for beginners |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 329 | 8.15 Slow start in console mode issue |
| 330 | 8.16 Common VIM directory - different architectures |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 331 | |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 332 | 8.1 Backspace/delete |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 333 | |
| 334 | There are backspace/delete key inconsistencies with VMS. |
Bram Moolenaar | f269eab | 2022-10-03 18:04:35 +0100 | [diff] [blame] | 335 | :fixdel doesn't do the trick, but the solution is (without "<" in 'cpo'): > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 336 | |
Bram Moolenaar | f269eab | 2022-10-03 18:04:35 +0100 | [diff] [blame] | 337 | :inoremap <C-?> <C-H> " for terminal mode |
| 338 | :inoremap <Del> <C-H> " for gui mode |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 339 | |
| 340 | Read more in ch: 8.6 (Terminal problems). |
| 341 | (Bruce Hunsaker <BNHunsaker@chq.byu.edu> Vim 5.3) |
| 342 | |
| 343 | |
| 344 | 8.2 Filters |
| 345 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 346 | Vim supports filters, i.e., if you have a sort program that can handle |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 347 | input/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 | |
| 354 | 8.3 VMS file version numbers |
| 355 | |
| 356 | Vim is saving files into a new file with the next higher file version |
| 357 | number, try these settings. > |
| 358 | |
| 359 | :set nobackup " does not create *.*_ backup files |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 360 | :set nowritebackup " does not have any purpose on VMS. It's the |
Bram Moolenaar | c9b4b05 | 2006-04-30 18:54:39 +0000 | [diff] [blame] | 361 | " default. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 362 | |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 363 | Recovery is working perfectly as well from the default swap file. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 364 | Read more with :help swapfile |
| 365 | |
| 366 | (Claude Marinier <ClaudeMarinier@xwavesolutions.com> Vim 5.5, Zoltan Arpadffy |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 367 | Vim 5.6) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 368 | |
| 369 | |
| 370 | 8.4 Directory conversion |
| 371 | |
| 372 | Vim will internally convert any unix-style paths and even mixed unix/VMS |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 373 | paths into VMS style paths. Some typical conversions resemble: |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 374 | |
| 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 | |
| 385 | Note: You may use <,> brackets as well (device:<path>file.ext;version) as |
| 386 | rf10:<user.zay.work>test.c;1 |
| 387 | |
| 388 | (David Elins <delins@foliage.com>, Jerome Lauret |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 389 | <JLAURET@mail.chem.sunysb.edu> Vim 5.6) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 390 | |
| 391 | |
| 392 | 8.5 Remote host invocation |
| 393 | |
| 394 | It is possible to use Vim as an internode editor. |
| 395 | 1. Edit some file from remote node: > |
| 396 | |
| 397 | vi "<server>""username passwd""::<device>:<path><filename>;<version>" |
| 398 | |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 399 | Example: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 400 | vi "pluto""zay passwd""::RF10:<USER.ZAY.WORK>TEST.C;1" |
| 401 | |
| 402 | Note: syntax is very important, otherwise VMS will recognize more parameters |
| 403 | instead of one (resulting with: file not found) |
| 404 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 405 | 2. Set up Vim as your internode editor. If Vim is not installed on your |
| 406 | host, just set up your IP address, the full Vim path including the server name |
| 407 | and run the command procedure below: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 408 | |
| 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 Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 420 | Note: Never use it in a clustered environment (you do not need it), loading |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 421 | could be very-very slow, but even faster than a local Emacs. :-) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 422 | |
| 423 | (Zoltan Arpadffy, Vim 5.6) |
| 424 | |
| 425 | |
| 426 | 8.6 Terminal problems |
| 427 | |
| 428 | If your terminal name is not known to Vim and it is trying to find the default |
| 429 | one you will get the following message during start-up: |
| 430 | --- |
| 431 | Terminal entry not found in termcap |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 432 | 'unknown-terminal' not known. Available built-in terminals are: |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 433 | builtin_gui |
| 434 | builtin_riscos |
| 435 | builtin_amiga |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 436 | 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 |
| 445 | defaulting to 'vt320' |
| 446 | --- |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 447 | |
| 448 | Try to force to inquire the terminal capabilities with: > |
| 449 | |
| 450 | $ set term/inquire |
| 451 | |
| 452 | If the inquire did not help, the solutions is to define the default terminal name: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 453 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 454 | $ ! unknown terminal name. Let us use vt320 or ansi instead. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 455 | $ ! Note: it's case sensitive |
| 456 | $ define term "vt320" |
| 457 | |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 458 | Terminals from VT100 to VT320 (as V300, VT220, VT200) do not need any extra |
| 459 | keyboard mappings. They should work perfectly as they are, including arrows, |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 460 | Ins, Del buttons etc., except Backspace in GUI mode. To solve it, add to |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 461 | .gvimrc: > |
| 462 | |
| 463 | inoremap <Del> <BS> |
| 464 | |
| 465 | Vim will also recognize that they are fast terminals. |
| 466 | |
Bram Moolenaar | c1cf4c9 | 2022-11-25 15:09:35 +0000 | [diff] [blame] | 467 | If you're using Vim on remote host or through a very slow connection, you |
| 468 | might want to reset fast terminal option with: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 469 | |
| 470 | set nottyfast " set terminal to slow mode |
| 471 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 472 | |
| 473 | 8.7 Hex-editing and other external tools |
| 474 | |
| 475 | A very important difference between OpenVMS and other systems is that VMS uses |
| 476 | special commands to execute executables: > |
| 477 | |
| 478 | RUN <path>filename |
| 479 | MCR <path>filename <parameters> |
| 480 | |
| 481 | OpenVMS users always have to be aware that the Vim command :! "just" drop them |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 482 | to DCL prompt. This feature is possible to use without any problem with all |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 483 | DCL commands, but if we want to execute some programs such as XXD, CTAGS, JTAGS, |
| 484 | etc. we're running into trouble if we follow the Vim documentation (see: help |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 485 | xxd). |
| 486 | |
| 487 | Solution: Execute with the MC command and add the full path to the executable. |
| 488 | Example: Instead of :%!xxd command use: > |
| 489 | |
| 490 | :%!mc vim:xxd |
| 491 | |
| 492 | ... or in general: > |
| 493 | :!mc <path>filename <parameters> |
| 494 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 495 | Note: You can use XXD and CTAGS from GUI menu. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 496 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 497 | To customize ctags it is possible to define the logical $CTAGS with standard |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 498 | parameters as: > |
| 499 | |
| 500 | define/nolog CTAGS "--totals -o sys$login:tags" |
| 501 | |
| 502 | For additional information, please read :help tagsearch and CTAGS |
| 503 | documentation at http://ctags.sourceforge.net/ctags.html. |
| 504 | |
| 505 | (Zoltan Arpadffy, Vim 5.6-70) |
| 506 | |
| 507 | |
| 508 | 8.8 Sourcing vimrc and gvimrc |
| 509 | |
| 510 | If you want to use your .vimrc and .gvimrc from other platforms (e.g. Windows) |
| 511 | you can get in trouble if you ftp that file(s): VMS has different end-of-line |
| 512 | indication. |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 513 | The symptom is that Vim is not sourcing your .vimrc/.gvimrc, even if you say: |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 514 | > |
| 515 | :so sys$login:.vimrc |
| 516 | |
| 517 | One trick is to compress (e.g. zip) the files on the other platform and |
| 518 | uncompress it on VMS; if you have the same symptom, try to create the files |
| 519 | with copy-paste (for this you need both op. systems reachable from one |
| 520 | machine, 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 | |
| 525 | 8.9 Printing from Vim |
| 526 | |
| 527 | To be able to print from Vim (running in GUI mode) under VMS you have to set |
| 528 | up $TMP logical which should point to some temporary directory and logical |
| 529 | SYS$PRINT to your default print queue. |
| 530 | Example: > |
| 531 | |
| 532 | $define SYS$PRINT HP5ANSI |
| 533 | |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 534 | You can print out the whole buffer or just the marked area. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 535 | More info under :help hardcopy |
| 536 | |
| 537 | (Zoltan Arpadffy, Vim 6.0c) |
| 538 | |
| 539 | |
| 540 | 8.10 Setting up the symbols |
| 541 | |
Bram Moolenaar | 6aa8cea | 2017-06-05 14:44:35 +0200 | [diff] [blame] | 542 | When I use gvim this way and press CTRL-Y in the parent terminal, gvim exits. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 543 | I now use a different symbol that seems to work OK and fixes the problem. |
| 544 | I suggest this instead: > |
| 545 | |
| 546 | $ GV*IM:==SPAWN/NOWAIT/INPUT=NLA0: MCR VIM:VIM.EXE -G -GEOMETRY 80X40 |
| 547 | |
| 548 | The /INPUT=NLA0: separates the standard input of the gvim process from the |
| 549 | parent terminal, to block signals from the parent window. |
Bram Moolenaar | 6aa8cea | 2017-06-05 14:44:35 +0200 | [diff] [blame] | 550 | Without the -GEOMETRY, the gvim window size will be minimal and the menu |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 551 | will be confused after a window-resize. |
| 552 | |
| 553 | (Carlo Mekenkamp, Coen Engelbarts, Vim 6.0ac) |
| 554 | |
| 555 | |
| 556 | 8.11 diff and other GNU programs |
| 557 | |
| 558 | From 6.0 diff functionality has been implemented, but OpenVMS does not use |
| 559 | GNU/Unix like diff therefore built in diff does not work. |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 560 | There is a simple solution to solve this anomaly. Install a Unix like diff |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 561 | and Vim will work perfectly in diff mode too. You just have to redefine your |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 562 | diff program as: > |
| 563 | |
| 564 | define /nolog diff <GNU_PATH>diff.exe |
| 565 | |
| 566 | Another, more sophisticated solution is described below (8.12 diff-mode) |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 567 | There are other programs such as patch, make etc that may cause the same |
| 568 | problems. At www.polarhome.com is possible to download an GNU package for |
| 569 | Alpha and VAX boxes that is meant to solve GNU problems on OpenVMS. |
| 570 | (Zoltan Arpadffy, Vim 6.1) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 571 | |
| 572 | |
| 573 | 8.12 diff-mode |
| 574 | |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 575 | Vim 6.0 and higher supports Vim diff-mode (See |new-diff-mode|, |diff-mode| |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 576 | and |08.7|). This uses the external program 'diff' and expects a Unix-like |
| 577 | output format from diff. The standard VMS diff has a different output |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 578 | format. To use Vim on VMS in diff-mode, you need to: |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 579 | 1 Install a Unix-like diff program, e.g. GNU diff |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 580 | 2 Tell Vim to use the Unix-like diff for diff-mode. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 581 | |
| 582 | You can download GNU diff from the VIM-VMS website, it is one of the GNU |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 583 | tools in http://www.polarhome.com/vim/files/gnu_tools.zip. I suggest to |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 584 | unpack it in a separate directory "GNU" and create a logical GNU: that |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 585 | points to that directory, e.g: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 586 | |
| 587 | DEFINE GNU <DISK>:[<DIRECTORY>.BIN.GNU] |
| 588 | |
| 589 | You may also want to define a symbol GDIFF, to use the GNU diff from the DCL |
| 590 | prompt: > |
| 591 | |
| 592 | GDIFF :== $GNU:DIFF.EXE |
| 593 | |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 594 | Now you need to tell Vim to use the new diff program. Take the example |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 595 | settings from |diff-diffexpr| and change the call to the external diff |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 596 | program to the new diff on VMS. Add this to your .vimrc file: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 597 | |
| 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 Moolenaar | c51cf03 | 2022-02-26 12:25:45 +0000 | [diff] [blame] | 605 | let opt = opt .. "-i " |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 606 | endif |
| 607 | if &diffopt =~ "iwhite" |
Bram Moolenaar | c51cf03 | 2022-02-26 12:25:45 +0000 | [diff] [blame] | 608 | let opt = opt .. "-b " |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 609 | endif |
Bram Moolenaar | c51cf03 | 2022-02-26 12:25:45 +0000 | [diff] [blame] | 610 | silent execute "!mc GNU:diff.exe -a " .. opt .. v:fname_in .. " " .. v:fname_new .. |
| 611 | \ " > " .. v:fname_out |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 612 | endfunction |
| 613 | endif |
| 614 | |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 615 | You can now use Vim in diff-mode, e.g. to compare two files in read-only |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 616 | mode: > |
| 617 | |
| 618 | $ VIM -D/R <FILE1> <FILE2> |
| 619 | |
| 620 | You can also define new symbols for vimdiff, e.g.: > |
| 621 | |
| 622 | $ VIMDIFF :== 'VIM' -D/R |
| 623 | $ GVIMDIFF :== 'GVIM' -D/R |
| 624 | |
| 625 | You 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 Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 632 | (Coen Engelbarts, Vim 6.1) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 633 | |
| 634 | |
| 635 | 8.13 Allow '$' in C keywords |
| 636 | |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 637 | DEC C uses many identifiers with '$' in them. This is not allowed in ANSI C, |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 638 | and Vim recognises the '$' as the end of the identifier. You can change this |
Bram Moolenaar | f91787c | 2010-07-17 12:47:16 +0200 | [diff] [blame] | 639 | with the 'iskeyword' option. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 640 | Add this command to your .vimrc file: > |
| 641 | |
| 642 | autocmd FileType c,cpp,cs set iskeyword+=$ |
| 643 | |
| 644 | You can also create the file(s) $VIM/FTPLUGIN/C.VIM (and/or CPP.VIM and |
| 645 | CS.VIM) and add this command: > |
| 646 | |
| 647 | set iskeyword+=$ |
| 648 | |
| 649 | Now word-based commands, e.g. the '*'-search-command and the CTRL-] |
Bram Moolenaar | 402d2fe | 2005-04-15 21:00:38 +0000 | [diff] [blame] | 650 | tag-lookup, work on the whole identifier. (Ctags on VMS also supports '$' in |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 651 | C keywords since ctags version 5.1.) |
| 652 | |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 653 | (Coen Engelbarts, Vim 6.1) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 654 | |
| 655 | 8.14 VIMTUTOR for beginners |
| 656 | |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 657 | The VIMTUTOR.COM DCL script can help Vim beginners to learn/make their first |
| 658 | steps with Vim on OpenVMS. Depending of binary distribution you may start it |
| 659 | with: > |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 660 | |
| 661 | @vim:vimtutor |
| 662 | |
| 663 | (Thomas.R.Wyant III, Vim 6.1) |
| 664 | |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 665 | 8.16 Slow start in console mode issue |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 666 | |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 667 | As GUI/GTK Vim works equally well in console mode, many administrators |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 668 | deploy those executables system wide. |
| 669 | Unfortunately, on a remote slow connections GUI/GTK executables behave rather |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 670 | slow when user wants to run Vim just in the console mode - because of X |
| 671 | environment detection timeout. |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 672 | |
| 673 | Luckily, there is a simple solution for that. Administrators need to deploy |
| 674 | both GUI/GTK build and just console build executables, like below: > |
| 675 | |
Bram Moolenaar | 24ea3ba | 2010-09-19 19:01:21 +0200 | [diff] [blame] | 676 | |- vim73 |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 677 | |----- doc |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 678 | |----- syntax |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 679 | vimrc (system rc files) |
| 680 | gvimrc |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 681 | gvim.exe (the renamed GUI or GTK built vim.exe) |
| 682 | vim.exe (the console only executable) |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 683 | |
| 684 | Define system symbols like below in for ex in LOGIN.COM or SYLOGIN.COM: > |
| 685 | |
Bram Moolenaar | 24ea3ba | 2010-09-19 19:01:21 +0200 | [diff] [blame] | 686 | $ define/nolog VIM RF10:[UTIL.VIM73] ! where you VIM directory is |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 687 | $ 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 Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 693 | Like this, users that do not have X environment and want to use Vim just in |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 694 | console mode can avoid performance problems. |
| 695 | |
| 696 | (Zoltan Arpadffy, Vim 7.2) |
| 697 | |
| 698 | 8.15 Common VIM directory - different architectures |
| 699 | |
| 700 | In a cluster that contains nodes with different architectures like below: |
| 701 | |
| 702 | $show cluster |
| 703 | View of Cluster from system ID 11655 node: TOR 18-AUG-2008 11:58:31 |
| 704 | +---------------------------------+ |
Bram Moolenaar | 85eee13 | 2018-05-06 17:57:30 +0200 | [diff] [blame] | 705 | | 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 Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 712 | +---------------------------------+ |
| 713 | |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 714 | It is convenient to have a common VIM directory but execute different |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 715 | executables. |
| 716 | There are several solutions for this problem: |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 717 | |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 718 | Solution 1. All executables in the same directory with different names |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 719 | This is easily done with the following script that can be added |
| 720 | to 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 Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 738 | Solution 2. Different directories: > |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 739 | |
| 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 |
zeertzjq | d086b8f | 2024-02-25 15:42:52 +0800 | [diff] [blame] | 755 | $! VIMRUNTIME must be defined in order to find runtime files |
Bram Moolenaar | 24ea3ba | 2010-09-19 19:01:21 +0200 | [diff] [blame] | 756 | $ define/nolog VIMRUNTIME RF10:[UTIL.VIM73] |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 757 | |
Bram Moolenaar | 8f3f58f | 2010-01-06 20:52:26 +0100 | [diff] [blame] | 758 | A good example for this approach is the [GNU]gnu_tools.com script from |
| 759 | GNU_TOOLS.ZIP package downloadable from http://www.polarhome.com/vim/ |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 760 | |
| 761 | (Zoltan Arpadffy, Vim 7.2) |
| 762 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 763 | ============================================================================== |
| 764 | |
| 765 | 9. VMS related changes *vms-changes* |
| 766 | |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 767 | Version 9.0 (2023 Nov 27) |
| 768 | - Vim is ported to the X86_64 architecture |
zeertzjq | 61e984e | 2023-12-09 15:18:33 +0800 | [diff] [blame] | 769 | - IMPORTANT: because of the getline function name used in structs like in ex_cmds.h |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 770 | 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é | 17dca3c | 2023-12-14 20:36:32 +0100 | [diff] [blame] | 773 | impact on all other operating systems. (added to the VMS TODO list) |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 774 | 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 | |
| 778 | Version 8.2 (2020 Feb 6) |
Bram Moolenaar | 7e6a515 | 2021-01-02 16:39:53 +0100 | [diff] [blame] | 779 | - make all changes needed for clean compile build of v8.2 on VMS on all platforms |
Bram Moolenaar | 2346a63 | 2021-06-13 19:02:49 +0200 | [diff] [blame] | 780 | - fix the call mkdir bug (vicente_polo@yahoo.es) |
Bram Moolenaar | 82be484 | 2021-01-11 19:40:15 +0100 | [diff] [blame] | 781 | - test on VSI OpenVMS Alpha and Itanium platforms |
| 782 | - added LUA support |
| 783 | - added XPM support - Motif GUI with toolbar on all platforms |
Bram Moolenaar | 2346a63 | 2021-06-13 19:02:49 +0200 | [diff] [blame] | 784 | - XPM v3.4.11 libraries for IA64, AXP and VAX are added |
| 785 | - start integrating the new test scripts |
Bram Moolenaar | 7e6a515 | 2021-01-02 16:39:53 +0100 | [diff] [blame] | 786 | |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 787 | Version 8.1 (2019 Jan 9) |
Bram Moolenaar | 05a2907 | 2019-01-18 22:59:53 +0100 | [diff] [blame] | 788 | - make necessary changes to build v8.1 on VMS |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 789 | - GTK1.2.10 on VAX |
Bram Moolenaar | 05a2907 | 2019-01-18 22:59:53 +0100 | [diff] [blame] | 790 | |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 791 | Version 8.0 (2016 Nov 21) |
Bram Moolenaar | 05a2907 | 2019-01-18 22:59:53 +0100 | [diff] [blame] | 792 | - 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 Moolenaar | 314dd79 | 2019-02-03 15:27:20 +0100 | [diff] [blame] | 794 | - 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 Moolenaar | 05a2907 | 2019-01-18 22:59:53 +0100 | [diff] [blame] | 797 | |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 798 | Version 7.4 (2013 Aug 10) |
Bram Moolenaar | 6aa8cea | 2017-06-05 14:44:35 +0200 | [diff] [blame] | 799 | - Undo: VMS can not handle more than one dot in the filenames use "dir/name" -> "dir/_un_name" |
Bram Moolenaar | 206f011 | 2014-03-12 16:51:55 +0100 | [diff] [blame] | 800 | 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 Moolenaar | 6aa8cea | 2017-06-05 14:44:35 +0200 | [diff] [blame] | 805 | - correct RealWaitForChar |
Bram Moolenaar | 206f011 | 2014-03-12 16:51:55 +0100 | [diff] [blame] | 806 | - 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 Moolenaar | 34401cc | 2014-08-29 15:12:19 +0200 | [diff] [blame] | 808 | - guard against crashes that are caused by mixed filenames |
Bram Moolenaar | 206f011 | 2014-03-12 16:51:55 +0100 | [diff] [blame] | 809 | - [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 Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 814 | Version 7.3 (2010 Aug 15) |
Bram Moolenaar | 8e46927 | 2010-07-28 19:38:16 +0200 | [diff] [blame] | 815 | - CTAGS 5.8 included |
| 816 | - VMS compile warnings fixed - floating-point overflow warning corrected on VAX |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 817 | - filepath completion corrected - too many chars were escaped in filename |
Bram Moolenaar | 8e46927 | 2010-07-28 19:38:16 +0200 | [diff] [blame] | 818 | 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 Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 823 | - 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 Moolenaar | 8e46927 | 2010-07-28 19:38:16 +0200 | [diff] [blame] | 827 | - os_vms.txt updated |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 828 | |
| 829 | Version 7.2 (2008 Aug 9) |
| 830 | - VCF files write corrected |
| 831 | - CTAGS 5.7 included |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 832 | - corrected make_vms.mms (on VAX gave syntax error) |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 833 | |
| 834 | Version 7.1 (2007 Jun 15) |
Bram Moolenaar | 5302d9e | 2011-09-14 17:55:08 +0200 | [diff] [blame] | 835 | - create TAGS file from menu |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 836 | |
| 837 | Version 7 (2006 May 8) |
Bram Moolenaar | b475fb9 | 2006-03-02 22:40:52 +0000 | [diff] [blame] | 838 | - Improved low level char input (affects just console mode) |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 839 | - Fixed plugin bug |
| 840 | - CTAGS 5.6 included |
Bram Moolenaar | b475fb9 | 2006-03-02 22:40:52 +0000 | [diff] [blame] | 841 | |
| 842 | Version 6.4 (2005 Oct 15) |
Bram Moolenaar | 5eba4c2 | 2005-07-12 22:40:29 +0000 | [diff] [blame] | 843 | - 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 Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 853 | Version 6.3 (2004 May 10) |
| 854 | - Improved vms_read function |
| 855 | - CTAGS v5.5.4 included |
| 856 | - Documentation corrected and updated |
| 857 | |
| 858 | Version 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 | |
| 871 | Version 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 | |
| 881 | Version 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 | |
| 904 | Version 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 | |
| 911 | Version 5.7 (2000 Jun 24) |
| 912 | - New CTAGS v5.0 in distribution |
| 913 | - Documentation updated |
| 914 | |
| 915 | Version 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 | |
| 946 | Version 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 | |
| 956 | Version 5.4 (1999 Sep 9) |
| 957 | - Cut and paste mismatch corrected. |
| 958 | - Motif directories during open and save are corrected. |
| 959 | |
| 960 | Version 5.3 (1998 Oct 12) |
| 961 | - Minor changes in the code |
| 962 | - Standard distribution with +GUI option |
| 963 | |
| 964 | Version 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 | |
| 969 | Version 4.5 (1996 Dec 16) |
| 970 | - First VMS port by Henk Elbers <henk@xs4all.nl> |
| 971 | |
| 972 | ============================================================================== |
| 973 | |
| 974 | 10. Authors *vms-authors* |
| 975 | |
| 976 | OpenVMS documentation and executables are maintained by: |
Zoltan Arpadffy | 1c8e233 | 2023-12-05 16:04:23 +0100 | [diff] [blame] | 977 | Zoltan Arpadffy <zoltan.arpadffy@gmail.com> |
Bram Moolenaar | ac98e5d | 2008-09-01 14:51:37 +0000 | [diff] [blame] | 978 | OpenVMS Vim page: http://www.polarhome.com/vim/ |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 979 | |
| 980 | This document uses parts and remarks from earlier authors and contributors |
| 981 | of 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 Moolenaar | 91f84f6 | 2018-07-29 15:07:52 +0200 | [diff] [blame] | 986 | vim:tw=78:ts=8:noet:ft=help:norl: |