Mapping of <del> key in vi

John P. Eisenmenger jpe at egr.duke.edu
Thu May 23 01:03:36 AEST 1991


>From article <1444 at cameron.egr.duke.edu>, by jpe at egr.duke.edu (John P. Eisenmenger):
| For some reason "vi" on our RS/6000 (all versions so far) decides to map
| functions to the <del> key for vt100 and xterm terminal types.  We've
| corrected this problem by importing a terminal description from another
| machine, but this introduces tabbing errors.  Does anyone know what field
| "vi" uses to decide to do the mapping, or know a clean way of fixing this?
| 
| Thanks in advance,
|  John Eisenmenger
|  Duke University
|  Dept. of Electrical Engineering.

I found it by experimentation.  It turns out to be the "kdch1" field in the
"vt100-am" entry in /usr/lib/terminfo/dec.ti.  By removing this field and
recompiling the file with tic "vi" now works properly.

-John



More information about the Comp.unix.aix mailing list