darcs patch: XPrompt: added ^A and ^E and more (and 1 more)

hi,
some stuff I had floating around for a while, and a step towards the
i18n support (but I'm going to send separately something more).
After some experiments with readline, bash, getDirectoryContents I
think that the best way to get command completion is to use
getDirectoryContents over the path. This is the most efficient on my
laptop, at least. Sure we also get non executable files, but that's a
very small price to pay.
Bash instead is used to get directory/file completions. Moreover, now
we escape special characters and spaces, which should lead to a better
completion handling and shell interaction.
The code is a bit longer but I think it is worth. And moreover we
don't need readline anymore.
Finally, thanks to Eric who started the commands implementation. I
added ^A and ^E.
Andrea
Fri Oct 5 13:21:22 CEST 2007 Andrea Rossato
participants (2)
-
Andrea Rossato
-
Don Stewart