Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 154930 - Bash auto-completion behavior has changed
Summary: Bash auto-completion behavior has changed
Status: CLOSED DUPLICATE of bug 155818
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: bash
Version: 4.0
Hardware: i386
OS: Linux
Target Milestone: ---
: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2005-04-14 21:05 UTC by Patrice Guay
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-04-25 08:51:45 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Bugzilla 116135 None None None Never

Description Patrice Guay 2005-04-14 21:05:24 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.6)
Gecko/20050318 Firefox/1.0.2

Description of problem:
The bash auto-completion mecanism has changed from RHEL3 to RHEL4. Bug #116135
describes the problem. Sometimes, hitting TAB is not enough to obtain
auto-completion. You need to press another key before completion is displayed.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. find some folder with files which do have common prefix 
2. type a shorter prefix of that prefix 
3. press tab - nothing happens 
4. press any key - word is completed 

Actual Results:  bash auto-completion doesn't work as well as the version
shipped with RHEL3.

Expected Results:  bash auto-completion should always be done at step #3.

Additional info:

Bug #116135 states that this is the expected behavior. How do I get back to the
RHEL3 behavior?

Comment 1 Tim Waugh 2005-04-15 08:14:09 UTC
The behaviour has certainly not changed intentionally between Red Hat Enterprise
Linux 3 and 4, and the "steps to reproduce" you list above are confusing to me
-- were they copied from the bug report you reference?  Incidentally, that bug
report used the base version of bash that shipped in Red Hat Enterprise Linux 3,
which also indicates that this is not a regression from that product.

I have never seen the failure mode you describe, myself.  Is is really correct
that you press a key other than tab and suddenly (without again pressing tab)
the word is completed?  That would indeed be a bug.

What I get with a clean installation of Red Hat Enterprise Linux 4, following
your "steps to reproduce", is this:

3. The full common prefix is completed
4. The key I typed (x) appears after the common prefix.

Comment 2 Patrice Guay 2005-04-21 14:08:25 UTC
My RHEL4 installation is not "clean". The system was upgraded from a RHEL3
system with yum (which is not the recommended way, I know). I will try to
reproduce this behavior with a clean install.

Comment 3 Tim Waugh 2005-04-21 14:10:01 UTC

Comment 4 Patrice Guay 2005-04-24 00:31:53 UTC
After some verifications, I found this bug is specific to the konsole program. I
was not able to reproduce it under gnome-console and xterm. Bug #155818 was
filled which describes a way to reproduce the problem.

Comment 5 Tim Waugh 2005-04-25 08:51:45 UTC

*** This bug has been marked as a duplicate of 155818 ***

Note You need to log in before you can comment on or make changes to this bug.