diff options
Diffstat (limited to 'runtime/tools')
-rwxr-xr-x | runtime/tools/vimm | 4 | ||||
-rwxr-xr-x | runtime/tools/vimspell.sh | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/runtime/tools/vimm b/runtime/tools/vimm index 042c4a0223..7b84cb255e 100755 --- a/runtime/tools/vimm +++ b/runtime/tools/vimm @@ -1,6 +1,6 @@ #!/bin/sh # enable DEC locator input model on remote terminal -echo "\033[1;2'z\033[1;3'{\c" +printf "\033[1;2'z\033[1;3'{\c" vim "$@" # disable DEC locator input model on remote terminal -echo "\033[2;4'{\033[0'z\c" +printf "\033[2;4'{\033[0'z\c" diff --git a/runtime/tools/vimspell.sh b/runtime/tools/vimspell.sh index b405b7ad59..d336fe6c31 100755 --- a/runtime/tools/vimspell.sh +++ b/runtime/tools/vimspell.sh @@ -11,6 +11,7 @@ # # Neil Schemenauer <nascheme@ucalgary.ca> # March 1999 +# updated 2008 Jul 17 by Bram # # Safe method for the temp file by Javier Fernández-Sanguino_Peña @@ -22,7 +23,7 @@ OUTFILE=`mktemp -t vimspellXXXXXX || tempfile -p vimspell || echo none` # create a file in the safest way possible. if test "$OUTFILE" = none; then OUTFILE=$tmp/vimspell$$ - [ -e $OUTFILE ] && { echo "Cannot use temporary file $OUTFILE, it already exists!; exit 1 ; } + [ -e $OUTFILE ] && { echo "Cannot use temporary file $OUTFILE, it already exists!"; exit 1 ; } (umask 077; touch $OUTFILE) fi # Note the copy of vimspell cannot be deleted on exit since it is |