NetHack 1.4f/unixtty.c