[Home]

Summary:ASTERISK-06903: Asterisk CLI Tab completion no longer works as expected
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2006-05-05 08:27:48Date Closed:2006-05-19 14:36:02
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:2 issues I've found:

1a) show application Age<tab> for example will automatically fill out to the first application it can instead of listing all matching applications.

1b) if you continue to hit <tab> after the completion, it will just start returning applications from the end of the list --  this also happens if you just do show application <tab>, which should obviously return a list of applications

2) Probably related to 1b -- if you just hit <tab> on the CLI, it doesn't return anything - I'd expect it to return a list of available options

Not everything seems to do this which makes me fear there may be multiple areas that need fixing -- i.e. if I do show version<tab> it completes correctly, <tab> again I get 'show version files', <tab> again, I get a list of files. So it seems the 'show' CLI command works fine.

****** ADDITIONAL INFORMATION ******

Sorry for finding a bug and having to file it! :)
Comments:By: Tilghman Lesher (tilghman) 2006-05-05 23:35:27

A little investigation shows that the tab completion works okay for "sh", "show a", and "show app", but completes incorrectly on the last word, as reported by blitzrage.  Also, "s<tab>" appears to hang forever, as does "show application <tab>".

By: Joshua C. Colp (jcolp) 2006-05-19 14:36:02

Fixed in trunk, thanks blitz!