view runtime/tools/vim132 @ 22854:eea4e7b67f24 v8.2.1974

patch 8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL Commit: https://github.com/vim/vim/commit/29b281ba8ddf176ae34b22e6a9b8e0ddcbcce665 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 10 20:58:00 2020 +0100 patch 8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL Problem: Vim9: test for has('gui_running') fails with VIMDLL. Solution: Adjust the #ifdef. (Ken Takata, closes https://github.com/vim/vim/issues/7276)
author Bram Moolenaar <Bram@vim.org>
date Tue, 10 Nov 2020 21: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"