Red Hat Bugzilla – Bug 63403
Delete key not working in vi/less under xterm
Last modified: 2007-04-18 12:41:58 EDT
Description of Problem:
I have added following lines to ~/.Xresources to enable the Delete and other
keys to work as I prefer in xterm (Delete removes a char before the cursor
The keys defined above as work expected in every application but Delete
misbehaves in vi and less. In vi, pressing Delete does nothing, and in less
pressing delete when writing (e.g., search parameters) prints ^D. Removing
Delete definition from ~/.Xresources is not an options since it break other
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add lines from above to ~/.Xresources
2. start X
3. start xterm
4. run vi or less, type something and try to use Delete
Same problem is with RH7.2+errata, there is also Backspace broken in vi/less
(produces ^?) but Backspace is working with skipjack. All other apps (emacs,
pico, etc) are ok.
What applications does removing nonstandard redefinitions of standard keys
break? Those applications need fixing, vim/less are working correctly.
Hmm, after testing everything I can imagine: no apps broke! I added the
redefinitions during RH6.x era, so I guess they are no obsolete.
Please close this bug, and sorry for wasting everybody's time!