NetHack 2.3e/write.c