#!/bin/sh
#
# 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.
#
# Rewritten by Wichert Akkerman <wakkerma@debian.org> for sh

oldterm=$TERM
echo "[?3h"
export TERM=vt100-w
vim $@
export TERM=$oldterm
echo "[?3l"
