lkcd
[Top] [All Lists]

lcrash sub-commands line completion

To: lkcd@xxxxxxxxxxx
Subject: lcrash sub-commands line completion
From: naomi@xxxxxxxxxxxxxxx
Date: Tue, 04 Sep 2001 16:27:53 +0900
Sender: owner-lkcd@xxxxxxxxxxx
Hello.
Recently, I think that lcrash should have "sub-commands line completion".

Lcrash has many sub-commands. And almost sub-commands have parameters such as 
filename or symbol name which should be specified.
The present lcrash cannot complete on sub-commands line.
For this reason, we have to memorize sub-commands names and parameters exactly.
It is very inconvenient.
So I'll add completion capability to librl.

I'm considering as follows.
While editing sub-commands line, if TAB key is pressed, lcrash completes the 
line (or do something as bash does).
Lcrash will complete on sub-commands names with behavior almost equivalent to 
bash.
And I consider that parameters of sub-commands have different characteristic 
each other, I'll add the mechanism let you be able to make your own completion 
function. Using this mechanism, you can call the function that behaves as you
want when TAB key is pressed.

As the first phase, I will show the completion on sub-commands names by the 
middle of the month in September.
And as the next phase, I will show the mechanism of sub-commands parameters
completion with some sample source using it.

Is anybody considering sub-commands line completion?
Any comments and suggestions are welcomed.

Naomi Haseo






<Prev in Thread] Current Thread [Next in Thread>