Bug 154930

Summary: Bash auto-completion behavior has changed
Product: Red Hat Enterprise Linux 4 Reporter: Patrice Guay <froggy>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=116135
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-25 08:51:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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):
bash-3.0-19.2

How reproducible:
Sometimes

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
Okay.

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 ***