emerged nethack-3.4.3-r1
with option : OPTIONS=windowtype:tty
don't show list of game commands, long description of commands, history of Nethack
Reproducible: Always
Steps to Reproduce:
1.set OPTIONS=windowtype:tty in nethack config file
2.start the game
3.Press "?" then "a"
Actual Results:
Cannot open help
Expected Results:
show help
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.2
6)
=================================================================
System uname: 2.4.26 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla
/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/lin
ux/Gentoo ftp://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apache2 apm arts avi berkdb cdr crypt cups dvd encode foomaticdb gdbm gif
gpm gtk gtk2 imlib java jpeg kde libg++ libwww linguas_ru lirc mad mikmod mmx m
mx2 mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nvidia oggvor
bis opengl oss pam pda pdflib perl png python qt quicktime readline samba sdl sp
ell sse ssl svga tcltk tcpd threads truetype v4l v4l2 x86 xinerama xml2 xmms xv
zlib"
The problem is that since we use an external pager programm (cf bug #52122),
the help file shouldn't be in the DLB (which can only be read with the internal
pager).
the simplest solution is doing a
sed -i -e "s/DATNODLB =/DATNODLB = \$(DATHELP)/" Makefile
if we use an external pager.