"vi" Delete Key Doesn't Act Like Backspace Key in 3.2


Contents

About This Document
Symptoms:
Problem:
Solution:

About This Document

The information in the document contains instructions on restoring the the delete key definition on a vt-100 terminal. This document is applicable to AIX 3.2


Symptoms:

In "vi" insert mode and ":" command mode, the Delete key does not act like the Backspace key on a vt-100 terminal.


Problem:

The reason is that, for AIX 3.2, the "kdch1" definition was removed from the /usr/lib/terminfo/dec.ti file. (The "kdch1" parameter defines the Delete key on the vt-100.) The definition was removed at the request of customers for whom the "kdch1" definition was causing problems.


Solution:

To restore the Delete key definition, do the following:

  1. Log in as "root".
  2. Enter cd /usr/lib/terminfo.
  3. Enter cp dec.ti dec.ti.orig (to save the original version.)
  4. Enter vi dec.ti.

    In the appropriate stanza for your terminal type, add "kdch1=\177," to one of the lines BEFORE the "use=" entry.

    Note: "kdch1=\177," is the DEFAULT for REAL vt-100s. If you are using a vt-100 emulator program, you may need to use some other keyboard code for the Delete key in place of "\177".

    Now, save the file and exit the editor.

  5. Run tic -v dec.ti.
  6. Log off the vt-100 and log in again. The Delete key should now work in the same way as the Backspace key.

(Tested on a 3.2 system with a REAL vt-100 terminal.)


"vi" Delete Key Doesn't Act Like Backspace Key in 3.2: vi.del.key.vt100.32.cmd ITEM: FAX
Dated: 98/09/01~00:00 Category: cmd
This HTML file was generated 99/06/24~12:42:04
Comments or suggestions?
Contact us