detach.cgi/detachall.cgi
- There's some tricky file and pipe related stuff in here, that I'm not confident I haven't broken, and don't know how to test.
- Particularly the $buf in while loop thing
export.cgi
- %done is in the right scope, and doesn't need to be our?