view runtime/tools/vim132 @ 10676:b8c04c007d39 v8.0.0228

patch 8.0.0228: pasting in xterm on the command line has PasteStart commit https://github.com/vim/vim/commit/abbc448bc09a292ec1263ffe69b4cb3d1c57f020 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 24 15:57:55 2017 +0100 patch 8.0.0228: pasting in xterm on the command line has PasteStart Problem: When pasting test in an xterm on the command line it is surrounded by <PasteStart> and <PasteEnd>. (Johannes Kaltenbach) Solution: Add missing changes.
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Jan 2017 16:00:05 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

#!/bin/csh
#
# Shell script for use with UNIX
# Starts up Vim with the terminal in 132 column mode
# Only works on VT-100 terminals and lookalikes
# You need to have a termcap entry "vt100-w". Same as vt100 but 132 columns.
#
set oldterm=$term
echo "[?3h"
setenv TERM vt100-w
vim $*
set term=$oldterm
echo "[?3l"