NetHack 2.2a/cmd.c