z Posted February 1, 2003 Share Posted February 1, 2003 when I use vim the backspace key doesn't work all it does is insert ^? into the text who do I fix this I have tried things like :fixdel and set backspace=2 but to no avail, anyone have any ideas Thanks in advance -zoot Link to comment Share on other sites More sharing options...
kjordan2001 Posted February 1, 2003 Share Posted February 1, 2003 Not sure how to fix it permanently, but his ctrl + backspace and it'll do a normal backspace. Link to comment Share on other sites More sharing options...
z Posted February 1, 2003 Author Share Posted February 1, 2003 yeah thanks, CTRL-BACKSPACE works, but I'd still prefer a permant fix, any one have any ideas? Link to comment Share on other sites More sharing options...
z Posted February 2, 2003 Author Share Posted February 2, 2003 Thanks for the help guys, I finally fixed it. So just in case someone else has the same problem here's what you have to do : First fire up Xterm, Eterm, or Aterm, Cygwin, Rxvt or whatever you use and type stty -a and you should get something like this : speed 38400 baud; rows 55; columns 166; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -tostop echoctl echoke Ok, see where it says erase=^H you have change this, and to do this you need to insert the following into you .bashrc stty erase ^? Once you have done that, restart your *term and input stty -a and you should see that erase=^H is now erase=^?. And thats it backspace problem solved. :) -zoot Link to comment Share on other sites More sharing options...
Recommended Posts