[Bug 525300] Re: backspace in vim started from xterm gives ^?

fotonowy zbyszek at fotonowy.pl
Tue Mar 2 01:32:50 CET 2010


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.

-- 
backspace in vim started from xterm gives ^? 
https://bugs.launchpad.net/bugs/525300
You received this bug notification because you are subscribed to PLD
Linux.

Status in PLD Linux Distribution: New

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-extras-7.2.239-1.i686
vim-heavy-7.2.239-1.i686
vim-7.2.239-1.i686
vim-syntax-gitcommit-1.6.4.4-1.i686
vim-plugin-securemodelines-20080424-1.noarch
vim-tutor-7.2.239-1.i686
vim-doc-7.2.239-1.i686
vim-rt-7.2.239-1.i686
vim-static-7.2.239-1.i686
vim-syntax-lilypond-2.10.33-3.i686
vim-syntax-spec-1.96-1.noarch
vim-spell-en-7.2.239-1.i686




More information about the pld-bugs mailing list