drawterm runs something similar to, but simpler than, the Nt fs interface code in Inferno, and i suppose in 9pm--they are all somewhat vaguely related. drawterm's work overall is somewhat simpler (which is why it can manage on only pthreads on Linux and FreeBSD, whereas Inferno has more work to do).