Commit Briefs

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: propagate AM_CFLAGS


Omar Polo

configure.ac: kill unused variables



Omar Polo

9p.7: tweak sentence


Omar Polo

kamiftp: don't walk dot

Since d3e1ab0 kamiftp started to issue Twalks over ".". walk(9p) (from plan9ports) says that The name ``.'' (dot), meaning the current directory, is not used in the protocol. hinting that it shouldn't be used, and thus kamid rejects it. It's also redundant since it's always possible to do a walk to duplicate the directory fid instead of walkig "." which is what kamiftp now does.


Omar Polo

kamiftp: backout 8f7253b29f275cfc3fd6111a54ce1cdd6622d1ee

don't use funopen(3) as it's not portable, found the hard way by cage. libbsd provides a funopen(3) on top of GNU libc' fopencookie, but I'd like to avoid dependencies on functions that are hard to port to other platforms.


Omar Polo

tweak the README


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.


Omar Polo

kamiftp: implement ‘rm’ command


Omar Polo

kamiftp: implement shell-like word splitting

way more useful than a dumb strsep(" ")