Commits
- Commit:
d26225c34cb655d299657c72381383fc8cf15e1f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: fix checks between differently sized integers
- Commit:
12bfa80e246ba9d8f580cd2d8fca7e6230a38e86
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
58b141cfaab7898107a6c4bc674ddfacf46ce267
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- 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.
- Commit:
f99c17f9596718e1ec4df58727f81bec72339110
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: implement ‘rm’ command
- Commit:
55e8c065589748eb51bc37751156a74c96051ed6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: implement shell-like word splitting
way more useful than a dumb strsep(" ")
- Commit:
9c9e60d1c17cfe7ba0561ee4c2561b67bf9d455e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: ls: accept an optional a path
- Commit:
dd647997d47ec5a9521faa59bf7628c9cab5334d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
__dead before the type
- Commit:
9f134f934141bdf659dd5ee010687eb66d6bdc0b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: accept an optional 9p:// prefix in the connstring
- Commit:
514e8d4318a37182f68029dbe82d2580ac2e4451
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: add note to drop argv[1] handling after 0.3
- Commit:
ca14d066819c8d3633e5f831f5807af2a9a5e427
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: for bell mode print \a to stderr
- Commit:
ab9f44f71e75a41986e8afce610cd446c5aaabac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: deprecate -c
it's useless as -C already implies it and -C must be use when connecting
with TLS. To be definitely removed after 0.3.
- Commit:
df9bb54d629f5085f152e8d6d5f4d098a2adfba2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: add -o to chose the path where to save the named file
- Commit:
5d0dedb3fb1363a2f04e15ddc46ea427e40db91c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: print diognistic messages to stderr
excluding the one from cmd_*
- Commit:
14ae3944ec7b3c26fedacdad6a3bea52cd1eb69e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kamiftp: automatic cd or fetch on the given path
before the given path was used for Tattach. Turns out at least u9fs
doesn't seem to use that field for the initial directory (not sure if it
should). kamiftp now always issues a Tattach with aname="/" and then
does a Twalk on the path: if it names a directory, it becomes the remote
working directory like a `cd' was issued, if it names a file it is
fetched and kamiftp quits.