> Actually it could be done better... attached is a 2nd patch
> ("ksh93_tab_tab_gmacs_completion_try2.diff.txt") which also implements
> TAB-TAB completion like in bash3.
> Single TAB now completes the filename either completely - or if that
> isn't possible it's completed to the point where the filenames start to
> differ. TAB-TAB then displays a list of choices. Additionally in "gmacs"
> mode typing TAB on an empty string will try to do the filename
> completion for the whole directory (and TAB-TAB displays all choices
> then). "emacs" mode still behaves as usual, incl. the ability to enter
> the TAB character.
Roland,
I'm very interested in this patch, but because of the maintenance
headache, I'm a bit leery of modifying the C source. Do you have any
idea if this one could be packaged as a loadable builtin and bound to
the TAB key using the usual KEYBD trap?
Norman