[CentOS] clicking backspace in centos3 makes ^?
Sam Drinkard
sam at wa4phy.net
Wed Nov 30 21:04:08 UTC 2005
On Wed, 2005-11-30 at 12:54 -0800, Bryan J. Smith wrote:
> Robin Mordasiewicz <robin at bullseye.tv> wrote:
> > I connect with Putty, and then I execute "screen -D -R"
> > from my screen session I ssh to my boxes.
>
> You only see it when in ViM, but not on the command line?
> Or you see it in both?
>
> If you're only seeing it in ViM, I'm curious why ViM is not
> handling the termcaps the same as the command line.
>
> Unless you're running GViM (GUI).
> Then your termcap isn't provided by the same terminal as your
> command line, but your your X-Server.
>
> -- Bryan
>
> P.S. The "quick fix" to deal with backspace mapping issues
> on just about any modern UN*X platform is to type:
> $ stty erase (then hit the backspace key)
>
>
Another quick fix and more permanent would be:
PATH=$PATH:/usr/X11R6/bin
# Display information about what was just done.
#
echo Terminal type = $TERM on line `tty`
if [ ${DISPLAY:=""} != "" ]
then
echo "X11 DISPLAY set to $DISPLAY"
fi
#
# Now set up the terminal modes
#
#stty erase \^h kill \^x intr \^c
if stty susp \^z >>/dev/null 2>&1
then
echo Job control enabled
else
echo Job control not available
fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20051130/c477a4e8/attachment.html>
More information about the CentOS
mailing list