Just curiosity. Why did you take that way instead of trying to get a toolset for doing rc 9p servers? I mean, IMHO, rc is the preferred way of scripting. I've some times wanted to be able to plug rc scripts into a generic 9p server skeleton, and alto to write an rc script that uses other tools to speak 9p.