Bug 889745 - KSH - autocomplete stops numeric input
Summary: KSH - autocomplete stops numeric input
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ksh
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-23 07:15 UTC by Arnon Weinberg
Modified: 2020-09-22 03:46 UTC (History)
2 users (show)

Fixed In Version: ksh-20120801-8.fc17
Clone Of:
Environment:
Last Closed: 2013-04-23 00:25:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Arnon Weinberg 2012-12-23 07:15:19 UTC
Description of problem:
Immediately after using autocomplete ([tab] or [esc][esc]) in ksh (emacs mode), the terminal does not accept additional character input if the next character pressed is a number - ie, if a file or directory starts with a number, then it is not possible to type it out immediately after using autocomplete.  Non-numeric characters work fine.

Version-Release number of selected component (if applicable):
>rpm -q ksh
ksh-20120801-3.fc17.i686

How reproducible:
Always

Steps to Reproduce:
1. mkdir -p test/123abc
2. cd test[tab]123abc
  
Actual results:
cd test/abc

Expected results:
cd test/123abc

Additional info:
This was working on a previous version of ksh: ksh-20100309-5.fc11.i586

Workarounds are to press a non-numeric key followed by backspace, or hit [tab] again to get a list of options.

Comment 1 Michal Hlavinka 2013-01-04 15:12:48 UTC
Thanks for reporting.
Reproducible

Comment 2 Fedora Update System 2013-01-28 17:14:17 UTC
ksh-20120801-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ksh-20120801-5.fc17

Comment 3 Fedora Update System 2013-01-28 17:14:34 UTC
ksh-20120801-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ksh-20120801-5.fc18

Comment 4 Fedora Update System 2013-01-30 00:50:45 UTC
Package ksh-20120801-5.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ksh-20120801-5.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1620/ksh-20120801-5.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-02-04 10:39:27 UTC
ksh-20120801-6.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ksh-20120801-6.fc17

Comment 6 Fedora Update System 2013-02-04 10:39:45 UTC
ksh-20120801-6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ksh-20120801-6.fc18

Comment 7 Fedora Update System 2013-02-14 02:44:32 UTC
ksh-20120801-6.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-02-14 02:46:08 UTC
ksh-20120801-6.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Arnon Weinberg 2013-02-17 20:33:16 UTC
Tested.  This is an improvement over previous behaviour in that now it is possible to autocomplete directories starting with a number.

However, there is still a difference in the way directories starting with a number are handled compared with directories that do not start with a number (and compared with the way previous versions of KSH worked).

Steps to Reproduce:
1. mkdir -p test/123abc
2. cd test[tab]123[tab]
  
Actual results:
1) 123abc/
cd test/123

Expected results:
cd test/123abc

Note that the following test cases work fine:
1. mkdir -p test/123abc test/abc123
2. cd test/123[tab]
or
2. cd test[tab]abc[tab]

Comment 10 Fedora Update System 2013-03-08 14:29:38 UTC
ksh-20120801-8.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ksh-20120801-8.fc17

Comment 11 Fedora Update System 2013-03-08 14:29:52 UTC
ksh-20120801-8.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ksh-20120801-8.fc18

Comment 12 Fedora Update System 2013-03-08 23:55:52 UTC
Package ksh-20120801-8.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ksh-20120801-8.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3589/ksh-20120801-8.fc17
then log in and leave karma (feedback).

Comment 13 Arnon Weinberg 2013-03-27 00:14:14 UTC
Confirmed this is working now - thanks!

Comment 14 Fedora Update System 2013-04-23 00:25:33 UTC
ksh-20120801-8.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2013-04-23 00:25:45 UTC
ksh-20120801-8.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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