On Monday 03 of September 2012 09:31:12 Rudolf Sykora wrote:
> I too believe that unless the mechanism of autocomplete is well-enough
> resolved, rc won't work for many people. I understand the reasons why
> readline is not in the shell, but on the other hand I often get angry
> when I can't autocomplete.
> 
> Sometimes I just do not remember the exact name of a command,
> sometimes I can't use variables in a path on the command line since I
> do not exactly remember what should come next (like sam
> $directory^/something; ctrl-f doesn't help), etc. Also the problem of
> not being able to repeat last few commands so simply as can be done
> elsewhere is disappointing (if there is a lot of error output from the
> previous command, saying that one must look back, find the command,
> change it, ...). Rsc's " and "" scripts help much, but still are not
> so straightforward as an up-arrow. (Again, I understand that for the
> latter-like behaviour one needs cursor addressing.)


my use case: in acme, upon hitting ^F, before breaking up completion subject  
into directory/file part and passing it to complete(), do filter the 
completion subject through Rc to expand both variable names and wildcards.

somewhere around
/usr/local/plan9/src/cmd/acme/text.c:/^textcomplete


-- 
dexen deVries

[[[↓][→]]]

I'm sorry that this was such a long lett­er, but I didn't have time to write 
you a short one. -- Bla­ise Pasc­al

Reply via email to