Closer to working plan9 code.