NetHack 3.0.0/unixtty.c