NetHack 2.2a/read.c