Commit Briefs

Omar Polo

kamiftp: improve readline completions

Now `ls pref<TAB>' will complete all the paths starting with `pref' in the current directory; before it was only working for sub-directories.


Omar Polo

kamiftp: refactor ftp_remote_files

no functional changes



Omar Polo

kamiftp: remove unused variables


Omar Polo

kamiftp: ensure compl_add_entry leaves a NULL terminator

while here also rearrange a bit the compl_state_reset/compl_add_entry dance and do the allocations only in the latter.


Omar Polo

kamiftp: add completions

This adds completions when building with readline. kamiftp now completes command name, special arguments (on/off), local paths (default readline behaviour) and remote paths. This also tells readline how to handle quotes and escape characters.