Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70458 - TAB completion in konsole changes after first use
Summary: TAB completion in konsole changes after first use
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 06:40 UTC by Richard Gration
Modified: 2004-12-02 04:01 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 Richard Gration 2004-11-08 06:40:53 UTC
The usual behaviour for TAB completion in bash/readline is that the first TAB will complete any text which is common to all possible completions, the second TAB rings the bell, the third TAB shows possible completions. This is what happens in xterm, so it's not my bash/readlin/inputrc configuration.

In konsole, the very first time I use TAB to complete, this is what happens. But for every attempted completion after this, the first TAB rings the bell, *even where there is common text to be inserted*, the second TAB does the completion of this common text, the third shows the possible completions.

Reproducible: Always
Steps to Reproduce:
1. Open konsole
2. Type 'ls <text which begins 2 or more filenames in cwd>'
3. Hit TAB (will complete common text)
4. Hit <return>
5. Type the same text as in 2, and hit TAB

Actual Results:  
The first TAB (in step 3) will complete up to the point where the filenames 
differ, the second TAB (in step 5) will ring the terminal bell. Another TAB 
after that will complete the common text.

Expected Results:  
TAB completion should stay consistent, ideally the first TAB should complete any 
common text.

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r2, 2.6.
8-gentoo-r7)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77 
foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif 
mozilla mpeg ncurses nls offensive oggvorbis opengl oss pam pdflib perl png 
python qt quicktime readline scanner sdl slang spell ssl svga tcltk tcpd 
truetype video_cards_radeon x86 xml2 xmms xv zlib"


/etc/inputrc (I have no ~/.inputrc)
----------------------------------------------
# /etc/inputrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/inputrc,v 1.8 2004/02/19 19:
29:18 azarah Exp $

# do not bell on tab-completion
#set bell-style none

set meta-flag on
set input-meta on
set convert-meta off
set output-meta on

# Completed names which are symbolic links to
# directories have a slash appended.
set mark-symlinked-directories on

$if mode=emacs

# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line
"\e[4~": end-of-line
#"\e[5~": beginning-of-history
#"\e[6~": end-of-history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word

# for rxvt
"\e[8~": end-of-line

# for non RH/Debian xterm, can't hurt for RH/Debian xterm
"\eOH": beginning-of-line
"\eOF": end-of-line

# for freebsd console
"\e[H": beginning-of-line
"\e[F": end-of-line
$endif

# fix Home and End for German users
"\e[7~": beginning-of-line
"\e[8~": end-of-line
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-11-08 07:22:07 UTC
Damn, how could this bug come back to life?
take a look here:
http://bugs.kde.org/show_bug.cgi?id=73205
http://bugs.kde.org/show_bug.cgi?id=69638
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-12-02 04:01:46 UTC
Sounds like the upstream bugs have come back to life.  Your best bet is to reopen one of the ones at bugs.kde.org or file a new one linking to them.