[CentOS] clicking backspace in centos3 makes ^?

BRUCE STANLEY bruce.stanley at prodigy.net
Wed Nov 30 17:52:20 UTC 2005



--- Tony Schreiner <schreian at bc.edu> wrote:

> 
> On Nov 30, 2005, at 11:53 AM, Robin Mordasiewicz wrote:
> 
> > On Wed, 30 Nov 2005, Jim Perrin wrote:
> >
> >> On 11/30/05, Robin Mordasiewicz <robin at bullseye.tv> wrote:
> >>> While in centos3, using vim and clicking the backspace I see the ^?
> >>> character instead of it actually deleteing the previous character.
> >>>
> >>> In centos4 this was not a problem.
> >>>
> >>> I have rad about remapping keys and such, but can someone tell me  
> >>> what
> >>> the difference between centos4 and centos3 is so I can make the  
> >>> change
> >>> to make it work on centos3.
> >>>
> >>
> >> This isn't a problem with centos3, but rather with your terminal
> >> emulator. How are you accessing the system?
> >>
> >
> > I connect with Putty, and then I execute "screen -D -R"
> > from my screen session I ssh to my boxes.
> >
> > from the box I run vim on...
> >
> > [root at smtcorav02 SPECS]# echo $TERM
> > screen
> >
> >
> >
> > Should I be adding a termcap for screen or something ?
> > _______________________________________________
> 
> 
> If you type
> stty -a
> at your remote login, it will tell you what character is being  
> interpreted as erase. I'm guessing, that it is set to ^H, but putty  
> has set your erase character to ^?. So there is a mismatch.
> 
> I don't have putty, but I bet you can set it in the terminal  
> emulation preferences. Or alternatively you can set it at your remote  
> session with the command
> stty erase YOURCHOICE
> 
> where YOURCHOICE is probably ^H  (literally ^ and H)
> 
> Tony
>


For others who may have this problem for other reasons,
you can also try:

      stty erase '?' 

place this in you  ~/.profile  file or the bash equivalent (we use ksh).








More information about the CentOS mailing list