This code was written by Shevek <srs@anarres.org>.
Win32 support was contributed by Michael R. Brumm.
