NetHack 1.3d/cmd.c