4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: The "vimtutor" shell script checks for "vim6" but not for "vim7".
13 Solution: Check for more versions, but prefer using "vim".
17 *** ../vim-7.1.029/src/vimtutor Sun Jun 13 20:37:33 2004
18 --- src/vimtutor Sun Jul 8 17:16:29 2007
21 # remove the copy of the tutor on exit
22 trap "rm -rf $TODELETE" 0 1 2 3 9 11 13 15
24 ! # Vim could be called "vim" or "vi". Also check for "vim6", for people who
25 ! # have Vim 5.x installed as "vim" and Vim 6.0 as "vim6".
26 ! testvim=`which vim6 2>/dev/null`
27 ! if test -f "$testvim"; then
31 if test -f "$testvim"; then
38 # Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
40 # remove the copy of the tutor on exit
41 trap "rm -rf $TODELETE" 0 1 2 3 9 11 13 15
43 ! # Vim could be called "vim" or "vi". Also check for "vimN", for people who
44 ! # have Vim installed with its version number.
45 ! # We anticipate up to a future Vim 8 version :-).
46 ! seq="vim vim8 vim75 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi"
48 ! testvim=`which $i 2>/dev/null`
49 if test -f "$testvim"; then
55 + # When no Vim version was found fall back to "vim", you'll get an error message
57 + if test -z "$VIM"; then
61 # Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
62 *** ../vim-7.1.029/src/version.c Mon Jul 16 20:38:56 2007
63 --- src/version.c Tue Jul 17 14:30:51 2007
67 { /* Add new patch number below this line */
73 BLACK KNIGHT: I'm invincible!
74 ARTHUR: You're a looney.
75 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
77 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
78 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
79 \\\ download, build and distribute -- http://www.A-A-P.org ///
80 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///