In the nethack ebuild (as of 3.4.3), DEF_PAGER is not set in unixconf.h. This
means nethack will only use its internal pager and the user cannot override the
rather primitive internal pager with something nicer, like less. There may be
security reasons why someone wouldn't want DEF_PAGER set...on the other hand,
there are certainly reasons why someone would want it set, such as using a
modern pager.
The best way to resolve this would be to make it a choice in the ebuild - set a
variable when you emerge and you get DEF_PAGER #define'd to /usr/bin/less or
whatever, which the user can then later override if they want. IF you don't
set it, you get the internal pager and no ability to override.
Right now, the only way to change the DEF_PAGER choice is to hack the
tarball/MD5 or do a local patch.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.