Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90565 - Extra lines added in Konsole and/or Vim
Summary: Extra lines added in Konsole and/or Vim
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 19:02 UTC by Jeff Mitchell
Modified: 2005-04-27 08:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Mitchell 2005-04-26 19:02:09 UTC
If I copy some text that contains a tab or tabs at the beginning of some of the lines, these tabs get added onto every line as they are pasted. The total number of tabs that exist at the beginning of all previous lines (all put together) are put at the beginning of the each line.  Read the results section to get a clearer picture.

Reproducible: Always
Steps to Reproduce:
1. Write some text in Kate such as the following:
(tab)blah
(tab)(tab)(tab)blah blah
(tab)(tab)blah blah blah

2. Open up Konsole, then vim
3. Hit i to get into Insert mode, and then Shift+Insert to paste

Actual Results:  
(tab)blah
(tab)(tab)(tab)(tab)blah
(tab)(tab)(tab)(tab)(tab)(tab)blah

As you can see, the second line has the the three tabs plus a tab from the first
line. The third line has 6 tabs -- its own two plus three from the second line
plus one from the third line.

Expected Results:  
I should have seen the following;

(tab)blah
(tab)(tab)(tab)blah blah
(tab)(tab)blah blah blah

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-ck4 i686)
=================================================================
System uname: 2.6.11-ck4 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.11
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 19 2005, 19:32:14)]
ccache version 2.3 [enabled]
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-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 4kstacks X X509 a52 aac aalib acpi aim alsa amarok apache2 arts asm
audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzlib calendar cdda
cddb cdparanoia cdr cdrom codecs cpudetection crypt css cups curl curlwrappers
custom-cflags dio divx4linux dnd dv dvd dvdr dvdread emboss encode exif expat
fam fastcgi fb ffmpeg fftw flac font-server foomaticdb fortran ftp gd gdbm gg
gif gnome gphoto2 gpm graphviz gsm gstreamer gtk gtk2 h323 hal icq ieee1394
imagemagick imap imlib jabber java javascript jikes jit joystick jpeg kde
kdeenablefinal libg++ libwww lm_sensors logitech-mouse lzw mad maildir mbox
mikmod mime mmap mmx mmxext monkey motif mozilla mozsvg mp3 mpeg mplayer msn
mysql mysqli ncurses nls nptl ntlm nvidia offensive ogg oggvorbis openexr opengl
oscar oss pam pdflib perl php png pnp posix povray ppds python qt quicktime rar
rdesktop readline real recode rrdtool rss samba scanner screenshot sdl server
sharedext sharedmem shorten slang slp sndfile sockets speedo spell sse ssl
stream subversion svg svga sysfs tcltk tcpd tetex threads tiff tokenizer toolbar
transcode truetype truetype-fonts type1 type1-fonts unicode usb utf8 v4l v4l2
vcd vidix vim vim-pager vim-with-x visualization vnc vorbis wifi win32codecs wmf
wxwindows xanim xchatnogtk xchattext xemacs xface xine xinerama xml2 xosd xpm
xprint xscreensaver xv xvid xvmc yahoo zeroconf zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Ciaran McCreesh 2005-04-27 08:02:43 UTC
Swiping this, since it's not KDE or Konsole specific.
Comment 2 Ciaran McCreesh 2005-04-27 08:03:29 UTC
Read :h 'paste in vim.
Comment 3 Jeff Mitchell 2005-04-27 08:29:27 UTC
Thanks for the info. I thought it was a Konsole issue as some other things appear to have some odd tab behaviors in a Konsole as opposed to the actual console (such as running an emerge).