Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 93371

Summary: backspace key does not work when using vim 6.3.68 in xterm 200
Product: Gentoo Linux Reporter: Bill Roberts <billbalt>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bill Roberts 2005-05-20 14:03:15 UTC
The backspace key writes a ^? instead of doing an erase when using vim 6.3.68 in
xterm 200. The backspace key works normally at the command line in xterm,
mlterm, and console. The backspace key works normally using vim in mlterm and at
the console. Doing a ctrl-v <backspace> give a ^H at the command line in mlterm
and at  the console. Doing the same thing in xterm gives a ^?. Research seems to
indicate I should be getting a ^H, so I think the problem is related to xterm,
not vim.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  2 2005, 12:20:28)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://antec.eyeofthequark.com/gentoo-portage"
USE="x86 alsa apm arts avi bash-completion berkdb bitmap-fonts crypt cups emboss
encode foomaticdb gdbm gif gnome gpm gtk2 imlib ipv6 jpeg kde libg++ libwww mad
mikmod motif mp3 mpeg ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline sdl spell ssl svga tcpd truetype
truetype-fonts type1-fonts unicode userlocales xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

I am using xfce4 as windows manager.
Comment 1 Bill Roberts 2005-05-20 14:32:48 UTC
I hit the send button too soon. I solved the problem seconds later, looking at
my new .Xdefaults file, I found:

xterm*backarrowKey:    false

Commenting this out solved the problem. 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-20 16:47:23 UTC
...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-20 16:47:45 UTC
Resolving properly...