]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.007
- updated to 7.2.102
[packages/vim.git] / 7.2.007
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.007 (extra)
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.2.007 (extra)
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,
15             src/testdir/test54.in
16
17
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
20 ***************
21 *** 1,4 ****
22 ! *os_vms.txt*    For Vim version 7.2.  Last change: 2006 Nov 18
23   
24   
25                   VIM REFERENCE MANUAL
26 --- 1,4 ----
27 ! *os_vms.txt*    For Vim version 7.2.  Last change: 2008 Aug 19
28   
29   
30                   VIM REFERENCE MANUAL
31 ***************
32 *** 312,318 ****
33   
34   8. Useful notes                                               *vms-notes*
35   
36 ! 8.1 backspace/delete
37   8.2 Filters
38   8.3 VMS file version numbers
39   8.4 Directory conversion
40 --- 312,318 ----
41   
42   8. Useful notes                                               *vms-notes*
43   
44 ! 8.1 Backspace/delete
45   8.2 Filters
46   8.3 VMS file version numbers
47   8.4 Directory conversion
48 ***************
49 *** 326,333 ****
50   8.12 diff-mode
51   8.13 Allow '$' in C keywords
52   8.14 VIMTUTOR for beginners
53   
54 ! 8.1 backspace/delete
55   
56   There are backspace/delete key inconsistencies with VMS.
57   :fixdel doesn't do the trick, but the solution is: >
58 --- 326,335 ----
59   8.12 diff-mode
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 
64   
65 ! 8.1 Backspace/delete
66   
67   There are backspace/delete key inconsistencies with VMS.
68   :fixdel doesn't do the trick, but the solution is: >
69 ***************
70 *** 663,674 ****
71   
72   (Thomas.R.Wyant III, Vim 6.1)
73   
74   ==============================================================================
75   
76   9. VMS related changes                                        *vms-changes*
77   
78 ! Version 7
79   - Improved low level char input (affects just console mode)
80   
81   Version 6.4 (2005 Oct 15)
82   - GTKLIB and Vim build on IA64
83 --- 665,794 ----
84   
85   (Thomas.R.Wyant III, Vim 6.1)
86   
87 + 8.14 Slow start in console mode issue
88
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.
93
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: >
96
97 +     |- vim72
98 +     |----- doc
99 +     |----- syntax        
100 +        vimrc    (system rc files)
101 +        gvimrc
102 +        gvim.exe (the remaned GUI or GTK built vim.exe)      
103 +        vim.exe  (the console only executable) 
104
105 + Define system symbols like below in for ex in LOGIN.COM or SYLOGIN.COM: >
106
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
112
113
114 + Like this, users that do not have X environment and want to use Vim just in 
115 + console mode can avoid performance problems.
116
117 + (Zoltan Arpadffy, Vim 7.2)
118
119 + 8.15 Common VIM directory - different architectures
120
121 + In a cluster that contains nodes with different architectures like below:
122
123 + $show cluster
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 + +---------------------------------+
134
135 + It is convinient to have a common VIM directory but execute different
136 + executables. 
137 + There are more solutions for this problem:
138
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: >
142
143 +       $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
144 +       $ then
145 +       $       say "VAX platform"
146 +       $       vi*m:== mcr vim:VIM.EXE_VAX
147 +       $ endif
148 +       $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
149 +       $ then
150 +       $       say "ALPHA platform"
151 +       $       vi*m :== mcr vim:VIM.EXE_AXP
152 +       $ endif
153 +       $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
154 +       $ then
155 +       $      say "IA64 platform"
156 +       $      vi*m :== mcr vim:VIM.EXE_IA64
157 +       $ endif
158
159 + solution 2. different directories: >
160
161 +       $ if f$getsyi("NODE_HWTYPE") .eqs. "VAX"
162 +       $ then
163 +       $       say "VAX platform"
164 +       $       define/nolog VIM RF10:[UTIL.VAX_EXE] ! VAX executables
165 +       $ endif
166 +       $ if f$getsyi("NODE_HWTYPE") .eqs. "ALPH"
167 +       $ then
168 +       $       say "ALPHA platform"
169 +       $       define/nolog VIM RF10:[UTIL.AXP_EXE] ! AXP executables
170 +       $ endif
171 +       $ if f$getsyi("ARCH_NAME") .eqs. "IA64"
172 +       $ then
173 +       $      say "IA64 platform"
174 +       $      define/nolog VIM RF10:[UTIL.IA64_EXE] ! IA64 executables
175 +       $ endif
176 +         $! VIMRUNTIME must be defined in order to find runtime files
177 +       $ define/nolog VIMRUNTIME RF10:[UTIL.VIM72]
178
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/
181
182 + (Zoltan Arpadffy, Vim 7.2)
183
184   ==============================================================================
185   
186   9. VMS related changes                                        *vms-changes*
187   
188 ! Recent 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  
198
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) 
203
204 ! Version 7.1 (2007 Jun 15)
205 ! - create TAGS file from menu 
206
207 ! Version 7 (2006 May 8)
208   - Improved low level char input (affects just console mode)
209 + - Fixed plugin bug
210 + - CTAGS 5.6 included
211   
212   Version 6.4 (2005 Oct 15)
213   - GTKLIB and Vim build on IA64
214 ***************
215 *** 806,811 ****
216 --- 926,932 ----
217   
218   OpenVMS documentation and executables are maintained by:
219   Zoltan Arpadffy <arpadffy@polarhome.com>
220 + OpenVMS Vim page: http://www.polarhome.com/vim/
221   
222   This document uses parts and remarks from earlier authors and contributors
223   of OS_VMS.TXT:
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
226 ***************
227 *** 114,119 ****
228 --- 114,121 ----
229   #define HAVE_PUTENV
230   #define HAVE_SETENV
231   #define HAVE_SETJMP_H
232 + #define HAVE_MATH_H
233 + #define HAVE_FLOAT_FUNCS
234   
235   #undef        HAVE_DIRENT_H
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
239 ***************
240 *** 2,8 ****
241   # Makefile for Vim on OpenVMS
242   #
243   # Maintainer:   Zoltan Arpadffy <arpadffy@polarhome.com>
244 ! # Last change:  2007 Oct 22
245   #
246   # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
247   # with MMS and MMK
248 --- 2,8 ----
249   # Makefile for Vim on OpenVMS
250   #
251   # Maintainer:   Zoltan Arpadffy <arpadffy@polarhome.com>
252 ! # Last change:  2008 Aug 16
253   #
254   # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
255   # with MMS and MMK
256 ***************
257 *** 36,42 ****
258   # BIG    - Many features enabled, as rich as possible. (default)
259   # HUGE   - All possible featues enabled.
260   # Please select one of these alternatives above.
261 ! MODEL = BIG
262   
263   # GUI or terminal mode executable.
264   # Comment out if you want just the character terminal mode only.
265 --- 36,42 ----
266   # BIG    - Many features enabled, as rich as possible. (default)
267   # HUGE   - All possible featues enabled.
268   # Please select one of these alternatives above.
269 ! MODEL = HUGE
270   
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
275 ***************
276 *** 4,12 ****
277   # Authors:    Zoltan Arpadffy, <arpadffy@polarhome.com>
278   #             Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
279   #
280 ! # Last change:  2008 Jun 19
281   #
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.
284   #
285   # Execute with:
286 --- 4,12 ----
287   # Authors:    Zoltan Arpadffy, <arpadffy@polarhome.com>
288   #             Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
289   #
290 ! # Last change:  2008 Aug 19
291   #
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.
294   #
295   # Execute with:
296 ***************
297 *** 32,37 ****
298 --- 32,46 ----
299   # and directory handling.
300   # WANT_UNIX = YES
301   
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.
305 + # WANT_WIN = YES
306
307 + # Comment out if you want to run spell checker tests. 
308 + # They fail because VMS does not support file names.
309 + # WANT_SPELL = YES
310
311   # Comment out if you have gzip on your system
312   # HAVE_GZIP = YES
313   
314 ***************
315 *** 53,64 ****
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
326   
327   .IFDEF WANT_GUI
328 --- 62,73 ----
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
339   
340   .IFDEF WANT_GUI
341 ***************
342 *** 67,73 ****
343   .ENDIF
344   
345   .IFDEF WANT_UNIX
346 ! SCRIPT_UNIX = test10.out test12.out test25.out test27.out test30.out test49.out
347   .ENDIF
348   
349   .IFDEF HAVE_GZIP
350 --- 76,90 ----
351   .ENDIF
352   
353   .IFDEF WANT_UNIX
354 ! SCRIPT_UNIX = test10.out test12.out test25.out test27.out test49.out
355 ! .ENDIF
356
357 ! .IFDEF WANT_WIN
358 ! SCRIPT_WIN = test50.out test52.out
359 ! .ENDIF
360
361 ! .IFDEF WANT_SPELL
362 ! SCRIPT_SPELL = test58.out test59.out 
363   .ENDIF
364   
365   .IFDEF HAVE_GZIP
366 ***************
367 *** 84,94 ****
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.*.*
374   
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"
379 --- 101,111 ----
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.*.*
386   
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"
391 ***************
392 *** 113,118 ****
393 --- 130,137 ----
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:
402 ***************
403 *** 122,126 ****
404 --- 141,153 ----
405   clean :
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.*.*
417
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
420 ***************
421 *** 24,33 ****
422   :set nobin eol
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
429   :"
430   :" try reading and writing with 'fileformats' empty
431   :set fileformat=unix
432 --- 24,40 ----
433   :set nobin eol
434   :bwipe XXUnix XXDos XXMac
435   :" create mixed format files
436 ! :if has("vms")
437 ! : !copy XXUnix,XXDos XXUxDs.
438 ! : !copy XXUnix,XXMac XXUxMac.
439 ! : !copy XXDos,XXMac  XXDosMac.
440 ! : !copy XXUnix,XXDos,XXMac XXUxDsMc.
441 ! :else
442 ! : !cat XXUnix XXDos >XXUxDs
443 ! : !cat XXUnix XXMac >XXUxMac
444 ! : !cat XXDos XXMac >XXDosMac
445 ! : !cat XXUnix XXDos XXMac >XXUxDsMc
446 ! :endif
447   :"
448   :" try reading and writing with 'fileformats' empty
449   :set fileformat=unix
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
452 ***************
453 *** 3,10 ****
454   STARTTEST
455   :so small.vim
456   :e xx
457 ! :!rm -f test.out
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
462 --- 3,15 ----
463   STARTTEST
464   :so small.vim
465   :e xx
466 ! :if has("vms")
467 ! : !del test.out.*
468 ! : au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.out
469 ! :else
470 ! : !rm -f test.out
471 ! : au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
472 ! :endif
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
478 ***************
479 *** 678,679 ****
480 --- 678,681 ----
481   {   /* Add new patch number below this line */
482 + /**/
483 +     7,
484   /**/
485
486 -- 
487 How To Keep A Healthy Level Of Insanity:
488 8. Don't use any punctuation marks.
489
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    ///
This page took 0.054054 seconds and 3 git commands to generate.