Commits
- Commit:
65b37bc83873fb4e01907ecfa43c0a16deeb8f75
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
847e80dc98553be652f597e6ea8b910a1dc68208
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: refactor ftp_remote_files
no functional changes
- Commit:
4c9b5bd42a49733fa228b2f478c242d3c45d780a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: add a space only when completing command names
- Commit:
3cf47875ce561b7c72ed68934d8fd735d78af608
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: remove unused variables
- Commit:
e3644194d3747c9566be600b58e5cc6790d0bc6c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
d3e1ab0c5f6f6f37e4897419ae6c3591762d2f59
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.