Vi: Using the numeric keypad

The numeric keypad doesn't work in "vi" when the term is set to "vt100" or "xterm". However, if you set your term type to 'ansi', then it will work. The recommended solution if you want to use the numeric keypad on a regular basis is to create a shell script.

EXAMPLE:

#!/bin/sh

set TERM=ansi
export TERM

exec /usr/bin/vi $@

Last modified: 2007/11/06 14:28:54.978000 US/Eastern by
Created: 2007/11/06 14:28:54.978000 US/Eastern by brian.r.brinegar.1.

Categories

Search

Type in a few keywords describing what information you are looking for in the text box below.

Admin Options: Edit this Document