2 Subject: Patch 7.2.007 (extra)
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Minor issues for VMS.
12 Solution: Minor fixes for VMS. Add float support. (Zoltan Arpadffy)
13 Files: runtime/doc/os_vms.txt, src/os_vms_conf.h, src/Make_vms.mms,
14 src/testdir/Make_vms.mms, src/testdir/test30.in,
18 *** ../vim-7.2.006/runtime/doc/os_vms.txt Sat Aug 9 19:36:50 2008
19 --- runtime/doc/os_vms.txt Tue Aug 19 06:29:31 2008
22 ! *os_vms.txt* For Vim version 7.2. Last change: 2006 Nov 18
27 ! *os_vms.txt* For Vim version 7.2. Last change: 2008 Aug 19
34 8. Useful notes *vms-notes*
36 ! 8.1 backspace/delete
38 8.3 VMS file version numbers
39 8.4 Directory conversion
42 8. Useful notes *vms-notes*
44 ! 8.1 Backspace/delete
46 8.3 VMS file version numbers
47 8.4 Directory conversion
51 8.13 Allow '$' in C keywords
52 8.14 VIMTUTOR for beginners
54 ! 8.1 backspace/delete
56 There are backspace/delete key inconsistencies with VMS.
57 :fixdel doesn't do the trick, but the solution is: >
60 8.13 Allow '$' in C keywords
61 8.14 VIMTUTOR for beginners
62 + 8.15 Slow start in console mode issue
63 + 8.16 Common VIM directory - different architectures
65 ! 8.1 Backspace/delete
67 There are backspace/delete key inconsistencies with VMS.
68 :fixdel doesn't do the trick, but the solution is: >
72 (Thomas.R.Wyant III, Vim 6.1)
74 ==============================================================================
76 9. VMS related changes *vms-changes*
79 - Improved low level char input (affects just console mode)
81 Version 6.4 (2005 Oct 15)
82 - GTKLIB and Vim build on IA64
85 (Thomas.R.Wyant III, Vim 6.1)
87 + 8.14 Slow start in console mode issue
89 + As GUI/GTK Vim works equally well in console mode, many administartors
90 + deploy those executables system wide.
91 + Unfortunately, on a remote slow connections GUI/GTK executables behave rather
92 + slow when user wants to run Vim just in the console mode - because of X environment detection timeout.
94 + Luckily, there is a simple solution for that. Administrators need to deploy
95 + both GUI/GTK build and just console build executables, like below: >
100 + vimrc (system rc files)
102 + gvim.exe (the remaned GUI or GTK built vim.exe)
103 + vim.exe (the console only executable)
105 + Define system symbols like below in for ex in LOGIN.COM or SYLOGIN.COM: >
107 + $ define/nolog VIM RF10:[UTIL.VIM72] ! where you VIM directory is
108 + $ vi*m :== mcr VIM:VIM.EXE
109 + $ gvi*m :== mcr VIM:GVIM.EXE
110 + $ ! or you can try to spawn with
111 + $ gv*im :== spawn/nowait/input=NLA0 mcr VIM:GVIM.EXE -g -GEOMETRY 80x40
114 + Like this, users that do not have X environment and want to use Vim just in
115 + console mode can avoid performance problems.
117 + (Zoltan Arpadffy, Vim 7.2)
119 + 8.15 Common VIM directory - different architectures
121 + In a cluster that contains nodes with different architectures like below:
124 + View of Cluster from system ID 11655 node: TOR 18-AUG-2008 11:58:31
125 + +---------------------------------+
126 + ¦ SYSTEMS ¦ MEMBERS ¦
127 + +-----------------------+---------¦
128 + ¦ NODE ¦ SOFTWARE ¦ STATUS ¦
129 + +--------+--------------+---------¦
130 + ¦ TOR ¦ VMS V7.3-2 ¦ MEMBER ¦
131 + ¦ TITAN2 ¦ VMS V8.3 ¦ MEMBER ¦
132 + ¦ ODIN ¦ VMS V7.3-2 ¦ MEMBER ¦
133 + +---------------------------------+
135 + It is convinient to have a common VIM directory but execute different
137 + There are more solutions for this problem:
139 + solution 1. all executables in the same directory with different names
140 + This is easily done with the following script that can be added
141 + to the login.com or sylogin.com: >
143 + $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
145 + $ say "VAX platform"
146 + $ vi*m:== mcr vim:VIM.EXE_VAX
148 + $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
150 + $ say "ALPHA platform"
151 + $ vi*m :== mcr vim:VIM.EXE_AXP
153 + $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
155 + $ say "IA64 platform"
156 + $ vi*m :== mcr vim:VIM.EXE_IA64
159 + solution 2. different directories: >
161 + $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
163 + $ say "VAX platform"
164 + $ define/nolog VIM RF10:[UTIL.VAX_EXE] ! VAX executables
166 + $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
168 + $ say "ALPHA platform"
169 + $ define/nolog VIM RF10:[UTIL.AXP_EXE] ! AXP executables
171 + $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
173 + $ say "IA64 platform"
174 + $ define/nolog VIM RF10:[UTIL.IA64_EXE] ! IA64 executables
176 + $! VIMRUNTIME must be defined in order to find runtime files
177 + $ define/nolog VIMRUNTIME RF10:[UTIL.VIM72]
179 + A good examle for this approach is the [GNU]gnu_tools.com script from GNU_TOOLS.ZIP
180 + package downloadable from http://www.polarhome.com/vim/
182 + (Zoltan Arpadffy, Vim 7.2)
184 ==============================================================================
186 9. VMS related changes *vms-changes*
189 ! - The following plugins are included into VMS runtime:
190 ! genutils 2.4, multiselect 2.2, multvals 3.1, selectbuf 4.3,
191 ! bufexplorer 7.1.7, taglist 4.5
192 ! - minor changes in vimrc (just in VMS runtime)
193 ! - make_vms.mms - HUGE model is the default
194 ! - [TESTDIR]make_vms.mms include as many tests possible
195 ! - modify test30 and test54 for VMS
196 ! - enable FLOAT feature in VMS port
197 ! - os_vms.txt updated
199 ! Version 7.2 (2008 Aug 9)
200 ! - VCF files write corrected
201 ! - CTAGS 5.7 included
202 ! - corrected make_vms.mms (on VAX gave syntax error)
204 ! Version 7.1 (2007 Jun 15)
205 ! - create TAGS file from menu
207 ! Version 7 (2006 May 8)
208 - Improved low level char input (affects just console mode)
210 + - CTAGS 5.6 included
212 Version 6.4 (2005 Oct 15)
213 - GTKLIB and Vim build on IA64
218 OpenVMS documentation and executables are maintained by:
219 Zoltan Arpadffy <arpadffy@polarhome.com>
220 + OpenVMS Vim page: http://www.polarhome.com/vim/
222 This document uses parts and remarks from earlier authors and contributors
224 *** ../vim-7.2.006/src/os_vms_conf.h Thu May 10 19:26:17 2007
225 --- src/os_vms_conf.h Sat Aug 16 05:09:17 2008
231 #define HAVE_SETJMP_H
232 + #define HAVE_MATH_H
233 + #define HAVE_FLOAT_FUNCS
236 #undef HAVE_SYS_NDIR_H
237 *** ../vim-7.2.006/src/Make_vms.mms Mon Oct 29 22:38:54 2007
238 --- src/Make_vms.mms Sat Aug 16 05:17:41 2008
241 # Makefile for Vim on OpenVMS
243 # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
244 ! # Last change: 2007 Oct 22
246 # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
249 # Makefile for Vim on OpenVMS
251 # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
252 ! # Last change: 2008 Aug 16
254 # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
258 # BIG - Many features enabled, as rich as possible. (default)
259 # HUGE - All possible featues enabled.
260 # Please select one of these alternatives above.
263 # GUI or terminal mode executable.
264 # Comment out if you want just the character terminal mode only.
266 # BIG - Many features enabled, as rich as possible. (default)
267 # HUGE - All possible featues enabled.
268 # Please select one of these alternatives above.
271 # GUI or terminal mode executable.
272 # Comment out if you want just the character terminal mode only.
273 *** ../vim-7.2.006/src/testdir/Make_vms.mms Wed Jun 25 00:34:23 2008
274 --- src/testdir/Make_vms.mms Tue Aug 19 06:28:07 2008
277 # Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
278 # Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
280 ! # Last change: 2008 Jun 19
282 ! # This has been tested on VMS 6.2 to 7.2 on DEC Alpha and VAX.
283 # Edit the lines in the Configuration section below to select.
287 # Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
288 # Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
290 ! # Last change: 2008 Aug 19
292 ! # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
293 # Edit the lines in the Configuration section below to select.
299 # and directory handling.
302 + # Comment out if you want to run Win32 specific tests as well, but please
303 + # be aware, that on OpenVMS will fail, because of cat, rm, etc commands
304 + # and directory handling.
307 + # Comment out if you want to run spell checker tests.
308 + # They fail because VMS does not support file names.
311 # Comment out if you have gzip on your system
316 test13.out test14.out test15.out test17.out \
317 test18.out test19.out test20.out test21.out test22.out \
318 test23.out test24.out test26.out \
319 ! test28.out test29.out test31.out test32.out \
320 test33.out test34.out test35.out test36.out test37.out \
321 test38.out test39.out test40.out test41.out test42.out \
322 test43.out test44.out test45.out test46.out \
323 test48.out test51.out test53.out test54.out test55.out \
324 ! test56.out test57.out test58.out test59.out test60.out \
325 test61.out test62.out test63.out test64.out test65.out
329 test13.out test14.out test15.out test17.out \
330 test18.out test19.out test20.out test21.out test22.out \
331 test23.out test24.out test26.out \
332 ! test28.out test29.out test30.out test31.out test32.out \
333 test33.out test34.out test35.out test36.out test37.out \
334 test38.out test39.out test40.out test41.out test42.out \
335 test43.out test44.out test45.out test46.out \
336 test48.out test51.out test53.out test54.out test55.out \
337 ! test56.out test57.out test60.out \
338 test61.out test62.out test63.out test64.out test65.out
346 ! SCRIPT_UNIX = test10.out test12.out test25.out test27.out test30.out test49.out
354 ! SCRIPT_UNIX = test10.out test12.out test25.out test27.out test49.out
358 ! SCRIPT_WIN = test50.out test52.out
362 ! SCRIPT_SPELL = test58.out test59.out
368 -@ write sys$output " "$*" "
369 -@ write sys$output "-----------------------------------------------"
370 -@ create/term/wait mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in
371 ! -@ if "''F$SEARCH("test.out.*")'" .NES. "" then differences test.out $*.ok;
372 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename test.out $*.out
373 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.*
375 ! all : clean nolog $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_GZIP) $(SCRIPT_GDIFF)
376 -@ write sys$output " "
377 -@ write sys$output "-----------------------------------------------"
378 -@ write sys$output " All done"
380 -@ write sys$output " "$*" "
381 -@ write sys$output "-----------------------------------------------"
382 -@ create/term/wait mcr $(VIMPROG) $(GUI_OPTION) -u vms.vim --noplugin -s dotest.in $*.in
383 ! -@ if "''F$SEARCH("test.out.*")'" .NES. "" then differences /par test.out $*.ok;
384 -@ if "''F$SEARCH("test.out.*")'" .NES. "" then rename test.out $*.out
385 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.*
387 ! all : clean nolog $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_GZIP) $(SCRIPT_GDIFF)
388 -@ write sys$output " "
389 -@ write sys$output "-----------------------------------------------"
390 -@ write sys$output " All done"
394 -@ write sys$output "MAKE_VMS.MMS options:"
395 -@ write sys$output " WANT_GUI = ""$(WANT_GUI)"" "
396 -@ write sys$output " WANT_UNIX = ""$(WANT_UNIX)"" "
397 + -@ write sys$output " WANT_WIN = ""$(WANT_WIN)"" "
398 + -@ write sys$output " WANT_SPELL= ""$(WANT_SPELL)"" "
399 -@ write sys$output " HAVE_GZIP = ""$(HAVE_GZIP)"" "
400 -@ write sys$output " HAVE_GDIFF= ""$(HAVE_GDIFF)"" "
401 -@ write sys$output "Default vimrc file is VMS.VIM:
406 -@ if "''F$SEARCH("*.out")'" .NES. "" then delete/noconfirm/nolog *.out.*
407 -@ if "''F$SEARCH("test.log")'" .NES. "" then delete/noconfirm/nolog test.log.*
408 + -@ if "''F$SEARCH("test.ok")'" .NES. "" then delete/noconfirm/nolog test.ok.*
409 -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.*
410 -@ if "''F$SEARCH("*.*_sw*")'" .NES. "" then delete/noconfirm/nolog *.*_sw*.*
411 + -@ if "''F$SEARCH("*.failed")'" .NES. "" then delete/noconfirm/nolog *.failed.*
412 + -@ if "''F$SEARCH("*.rej")'" .NES. "" then delete/noconfirm/nolog *.rej.*
413 + -@ if "''F$SEARCH("tiny.vim")'" .NES. "" then delete/noconfirm/nolog tiny.vim.*
414 + -@ if "''F$SEARCH("small.vim")'" .NES. "" then delete/noconfirm/nolog small.vim.*
415 + -@ if "''F$SEARCH("mbyte.vim")'" .NES. "" then delete/noconfirm/nolog mbyte.vim.*
416 + -@ if "''F$SEARCH("viminfo.*")'" .NES. "" then delete/noconfirm/nolog viminfo.*.*
418 *** ../vim-7.2.006/src/testdir/test30.in Sun Jul 13 19:17:14 2008
419 --- src/testdir/test30.in Sat Aug 16 04:59:37 2008
423 :bwipe XXUnix XXDos XXMac
424 :" create mixed format files
425 ! :!cat XXUnix XXDos >XXUxDs
426 ! :!cat XXUnix XXMac >XXUxMac
427 ! :!cat XXDos XXMac >XXDosMac
428 ! :!cat XXUnix XXDos XXMac >XXUxDsMc
430 :" try reading and writing with 'fileformats' empty
434 :bwipe XXUnix XXDos XXMac
435 :" create mixed format files
437 ! : !copy XXUnix,XXDos XXUxDs.
438 ! : !copy XXUnix,XXMac XXUxMac.
439 ! : !copy XXDos,XXMac XXDosMac.
440 ! : !copy XXUnix,XXDos,XXMac XXUxDsMc.
442 ! : !cat XXUnix XXDos >XXUxDs
443 ! : !cat XXUnix XXMac >XXUxMac
444 ! : !cat XXDos XXMac >XXDosMac
445 ! : !cat XXUnix XXDos XXMac >XXUxDsMc
448 :" try reading and writing with 'fileformats' empty
450 *** ../vim-7.2.006/src/testdir/test54.in Sun Jan 2 12:43:19 2005
451 --- src/testdir/test54.in Tue Aug 19 06:26:55 2008
458 ! :au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
459 :e somefile " here, autocommand for xx shall write test.out
460 : " but autocommand shall not apply to buffer named <buffer>
461 :bwipe xx " here, autocommand shall be auto-deleted
468 ! : au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.out
471 ! : au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
473 :e somefile " here, autocommand for xx shall write test.out
474 : " but autocommand shall not apply to buffer named <buffer>
475 :bwipe xx " here, autocommand shall be auto-deleted
476 *** ../vim-7.2.006/src/version.c Mon Aug 25 05:03:29 2008
477 --- src/version.c Mon Sep 1 16:46:50 2008
481 { /* Add new patch number below this line */
487 How To Keep A Healthy Level Of Insanity:
488 8. Don't use any punctuation marks.
490 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
491 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
492 \\\ download, build and distribute -- http://www.A-A-P.org ///
493 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///