[asterisk-dev] Tab-completion borked in trunk

John Todd jtodd at loligo.com
Sun Oct 14 12:59:11 CDT 2007


At 11:09 AM -0400 2007/10/14, Russell Bryant wrote:
>Brian Capouch wrote:
>>  Maybe I missed a commit message somewhere?
>>
>>  Running r85537.  No tab-completion, although if I type everything out
>>  longhand things work just fine.  Also, typing '?' at the prompt doesn't
>>  do anything either, nor does, for instance "sip show ?"
>
>This was probably introduced by a bunch of patches that got merged recently to
>convert CLI commands to the new style.  However, no functionality should have
>changed.  From a look at the code for the "sip show peers" CLI 
>command, the tab
>completion is just completely missing.  Hopefully this didn't happen 
>in too many
>places ...


It seems to be broken entirely, in all areas, as Brian notes:

core show <tab>
core <tab>
iax2 <tab>
?

etc., etc. - all these examples fail with the same plaintive "bonk" 
noise that my console burps up when Asterisk is not happy. 
Additionaly, it does cause some functionality problems in an obscure 
way since I don't know of any way to get a full SIP channel name 
other than via tab completion - other methods truncate the name ("sip 
show channels" doesn't provide a full channel name, so I can't 
cut/paste to "sip show channel blah-320932" for debugging.)

JT




More information about the asterisk-dev mailing list