~ft/9pro

Plan9-related tools for Unix-like operating systems
c5c3a280 — Sigrid Solveig Haflínudóttir 5 months ago
9gc: ignore empty lines (thanks grobe0ba)
d31d35b2 — Sigrid Solveig Haflínudóttir 5 months ago
build.sh: remove -fms-extensions, which is not needed anymore (thanks grobe0ba)
e5a07825 — Sigrid Solveig Haflínudóttir 7 months ago
9gc: check calloc result

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~ft/9pro
read/write
git@git.sr.ht:~ft/9pro

You can also use your local clone with git send-email.

#9pro

Plan9-related tools for Unix-like operating systems.

  • 9pex - share a directory over stdin/stdout, can be used with socat/inetd
  • 9gc - a very simple stdin/stdout 9gridchan client

This is all WIP still. 9pex is working in read-only mode so far but lacks proper auth, async IO, some more error control etc.

To build static binaries with musl:

CC=musl-gcc CFLAGS="-Os -s -g0 -static" ./build.sh

#Why

We can do better.

#Notes/todo

  • 9pex: to allow "escaping the root" by following symlinks you have to pass -e option
  • 9pex: chrooting with musl makes realpath not work as it requires /proc to be mounted, get rid of realpath?
  • 9gc: you can run it in termux on Android like so: rlwrap -a'XXXXXXwth' -s 0 -t dumb 9gc -e NICKNAME