10/01/96, "vi" Delete Key Doesn't Act Like Backspace Key in 3.2 SPECIAL NOTICES Information in this document is correct to the best of our knowledge at the time of this writing. Please send feedback by fax to "AIXServ Information" at (512) 823-4009. Please use this information with care. IBM will not be responsible for damages of any kind resulting from its use. The use of this information is the sole responsibility of the customer and depends on the customer's ability to eval- uate and integrate this information into the customer's operational environment. +----------------------------------------------------------+ | | | NOTE: The information in this document has NOT been | | verified for AIX 4.1. | | | +----------------------------------------------------------+ ABOUT THIS DOCUMENT The information in the document contains instructions on restoring the the delete key definition on a vt-100 ter- minal. 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. "vi" Delete Key Doesn't Act Like Backspace Key in 3.2 1 10/01/96, 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 2 10/01/96, READER'S COMMENTS Please fax this form to (512) 823-4009, attention "AIXServ Informa- tion". You may also e-mail comments to: elizabet@austin.ibm.com. These comments should include the same customer information requested below. Use this form to tell us what you think about this document. If you have found errors in it, or if you want to express your opinion about it (such as organization, subject matter, appearance) or make sug- gestions for improvement, this is the form to use. If you need technical assistance, contact your local branch office, point of sale, or 1-800-CALL-AIX (for information about support offer- ings). These services may be billable. Faxes on a variety of sub- jects may be ordered free of charge from 1-800-IBM-4FAX. Outside the U.S. call 415-855-4329 using a fax machine phone. When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any way it believes appropriate without incurring any obligation to you. NOTE: If you have a problem report or item number, supplying that number may help us determine why a procedure did or did not work in your specific situation. Problem Report or Item #: Branch Office or Customer #: Be sure to print your name and fax number below if you would like a reply: Name: Fax Number: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ END OF DOCUMENT (vi.delete.key.vt100.cmd) "vi" Delete Key Doesn't Act Like Backspace Key in 3.2 3