Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!mcnc!duke!egr.duke.edu!jpe From: jpe@egr.duke.edu (John P. Eisenmenger) Newsgroups: comp.unix.aix Subject: Re: Mapping of key in vi Message-ID: <1445@cameron.egr.duke.edu> Date: 22 May 91 15:03:36 GMT References: <1444@cameron.egr.duke.edu> Sender: news@egr.duke.edu Lines: 17 From article <1444@cameron.egr.duke.edu>, by jpe@egr.duke.edu (John P. Eisenmenger): | For some reason "vi" on our RS/6000 (all versions so far) decides to map | functions to the 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