This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

#include "hack.h"

#include "lev.h"

#include "func_tab.h"

#ifdef ALTMETA

STATIC_VAR boolean alt_esc = FALSE;

#endif

struct cmd Cmd ={0};/* flag.h */

externconstchar*hu_stat[];/* hunger status from eat.c */

externconstchar*enc_stat[];/* encumbrance status from botl.c */

#ifdef UNIX

/*

* Some systems may have getchar() return EOF for various reasons, and

* we should not quit before seeing at least NR_OF_EOFS consecutive EOFs.