NetHack 1.4f/write.c