Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
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.
setting it to $PAGER if it is set in the environment shouldnt be too much of a problem
nethack-3.4.3-r1 has this fix. Thanks for the bug report.