Notice! This document is currently in
Archived
status.
The content of this document may be incorrect or outdated.
The content of this document may be incorrect or outdated.
Print this article Edit this article
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:
Aug 1, 2023 4:07 pm GMT-4
Created:
Nov 6, 2007 2:28 pm US/Eastern
by
admin
JumpURL: https://eng.purdue.edu/jump/95cd6