NetHack 2.2a/pager.c