NetHack 1.4f/termcap.c