Bug 747526 - incorrect behaviour on tab completion
Summary: incorrect behaviour on tab completion
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ksh
Version: 6.2
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-20 07:06 UTC by Lubos Kocman
Modified: 2011-12-08 08:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-08 08:50:14 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lubos Kocman 2011-10-20 07:06:25 UTC
Description of problem:

Korn shell on RHEL 6.2 in default configuration (no emacs or vi editing mode)  does not behave like it should during tab completion.

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

ksh-20100621-12.el6.x86_64

How reproducible:

Steps to Reproduce:
1. ensure that there is no configuration affecting ksh input modes set 
2. type "vim /etc<tab>" into ksh session
3. type "vim /etc/pass<tab>" into ksh session
4. type "vim /etc/passwd<tab><tab>"

Actual results:

step 2 result: /etc/t
step 3 result: /etc/passwds   # passwds file does not exist
step4 result:  (see lines below also see double d in passwdd)

$ vim /etc/passwdd
1) passwd
2) passwd-
$ vim /etc/passwdd

Expected results:


Additional info:

set -o emacs or set -o vi is a workaround

Comment 1 Michal Hlavinka 2011-12-08 08:50:14 UTC
Upstream response:
Completion is part of the emacs and vi editing. One of these need to be
set to use completion.


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