<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>57410</bug_id>
          
          <creation_ts>2004-07-17 12:54 0000</creation_ts>
          <short_desc>nethack can&apos;t open help file, history file in tty windowtype</short_desc>
          <delta_ts>2004-09-24 03:05:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sey5020@mail.ru</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>bdonlan@gmail.com</cc>
    
    <cc>benoit.boissinot@ens-lyon.fr</cc>

      

      
          <long_desc isprivate="0">
            <who>sey5020@mail.ru</who>
            <bug_when>2004-07-17 12:54:31 0000</bug_when>
            <thetext>emerged nethack-3.4.3-r1
with option : OPTIONS=windowtype:tty
don&apos;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 &quot;?&quot; then &quot;a&quot;

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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/lin
ux/Gentoo ftp://trumpetti.atm.tut.fi/gentoo/&quot;
MAKEOPTS=&quot;-j1&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>benoit.boissinot@ens-lyon.fr</who>
            <bug_when>2004-08-21 05:02:14 0000</bug_when>
            <thetext>The problem is that since we use an external pager programm (cf bug #52122), the help file shouldn&apos;t be in the DLB (which can only be read with the internal pager).

the simplest solution is doing a

sed -i -e &quot;s/DATNODLB =/DATNODLB = \$(DATHELP)/&quot; Makefile

if we use an external pager.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-08-31 15:08:34 0000</bug_when>
            <thetext>I&apos;ll look into it</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-09-24 03:05:43 0000</bug_when>
            <thetext>Snatched.

Reproduced the issue and tried the sed patch.  Worked a lot better so I commited it.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>