backspace in vim started from xterm gives ^?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PLD Linux |
New
|
Undecided
|
Unassigned |
Bug Description
The immortal problem with fault backspace in vim is back with a new twist.
When vim is started from xterm the backspace produces ^? in the INSERT mode instead of deleting a preceeding character.
The only way to fix that is to manually
:set t_kb=^?
in vim every time the program is started.
When the t_kb variable is set in $HOME/.vimrc it is ignored.
I mean, no matter what I put in .vimrc the :set t_kb in vim returns ^H.
This is why the standard fixes (like fixdel) don't work here.
stty in xterm returns
erase = ^?
A oto pakiety, które mam zainstalowane z titanium:
xterm-243-1.i686
vim-rt-
vim-heavy-
vim-7.2.239-1.i686
vim-syntax-
vim-plugin-
vim-tutor-
vim-doc-
vim-rt-
vim-static-
vim-syntax-
vim-syntax-
vim-spell-
Workaround from my friend:
Add
t_RV=
in your .vimrc file. Notice that there is nothing after the "=" character. This will prevent vim from sending special quaries to xterm.