[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Vi backspace key problem



Tim Edwards wrote:

Whenever I press backspace while editing a file in vi it inserts the ^? character instead. Does anyone know the magic way to stop this happening, its getting really annoying having to use delete every time I make a little mistake in vi. This doesn't happen on our RHEL3 boxes.

What does "stty -all" say what the erase character is? Mine says it's "^?" (aka DEL, \127) and that's what konsole and gnome-terminal map the backspace key on to. xterm, on the other hand, maps it on to ^H (aka BS, \010). I'd guess that someone "helpful" has done a "stty erase ^H" for you so that the backspace key works in xterm.


jch


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]