[syslinux] [RFC][PATCH] ui: label completion on tab key

H. Peter Anvin hpa at zytor.com
Tue Sep 9 21:36:54 PDT 2008


H. Peter Anvin wrote:
> Sebastian Herbszt wrote:
>> This implements the label completion on tab key idea. It does introduce
>> "labelcompl" as new config keyword. The default value is 0 so it does not
>> change current behaviour.
>> If you press tab with an empty command line it will display all labels. If the
>> command line contains any characters it will display the matching labels.
>>
>> This patch is only intended for testing since i didn't check if it doesn't
>> clobber required registers. Works for me with syslinux. Feedback welcome.
> 
> I think it should be the default for completion to work.  What isn't 
> clear to me is if we need an option (nocomplete?) to disable it, and if 
> there should be a way to hide individual labels from view.
> 
> I would appreciate user comments on the above.  Otherwise I'm probably 
> going to accept the patch with the sense reversed (a nocomplete option.)
> 

I have implemented this modification (with a few other changes), and 
released it as Syslinux 3.72-pre6.

I would actually like to make real completion, as opposed to just 
display, but that can come later.

	-hpa




More information about the Syslinux mailing list