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

Bug 87833

Summary: vim-6.3.068: Backspace doesn't work after changing line or saving file
Product: Gentoo Linux Reporter: Alexey Dobriyan <adobriyan>
Component: Current packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexey Dobriyan 2005-04-03 13:19:16 UTC
Something _really_ strange here...

Backspace stops working under following conditions:

1. Type something, press Left, press Right. Oops, typed characters are immutable wrt Backspace. Delete, "dd" ,"x" work.
        OR
2. Type something, press Up, Down. Same story.
        OR
3. Press Esc in insert mode. Cursor moves, I lose.

3.5 As a consequence, ":w" also breaks Backspace.

Once character became immutable, it stays immutable (wrt Backspace).

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.12-rc1-bk5 i686)
=================================================================
System uname: 2.6.12-rc1-bk5 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr  1 2005, 19:45:56)]
dev-lang/python:     2.3.4-r1
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.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.aiya.ru/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X aac acpi apache2 arts audiofile avi bash-competion bitmap-fonts bzlib
caps cdr cscope ctype curl curlwrappers dga directfb divx4linux dv encode
exifexpat fam ffmpeg flac ftp gif glut gpm iconv icq imagemagick imlib jikes
jpeg junit kde lesstif libwww lm_sensors maildir mbox mime mmap mp3 mpeg ncurses
nptl openal opengl pam pcre pdflib perl png posix python qt quicktime readline
samba sdl sharedmem sndfile sock5 sockets spell sse ssl sysfs sysvipc tcltk test
tetexthreads tiff truetype truetype-fonts type1-fonts unicode usb win32codecs
xine xml2 xmms xpm xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Ciaran McCreesh 2005-04-03 16:50:05 UTC
what does ":set bs?" (no quotes) in vim give you? Does ":set bs=2" fix it?
Comment 2 Alexey Dobriyan 2005-04-03 19:58:59 UTC
backspace=

It does. Thanks!