[Bug 246483] games/nethack36: Fuller curses interface is not enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 15 13:39:24 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246483

            Bug ID: 246483
           Summary: games/nethack36: Fuller curses interface is not
                    enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: glewis at FreeBSD.org
          Reporter: eric at erichanneken.com
             Flags: maintainer-feedback?(glewis at FreeBSD.org)
          Assignee: glewis at FreeBSD.org

Created attachment 214521
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=214521&action=edit
Patch to enable Curses interface in nethack36

By default, NetHack runs with a so-called "TTY" interface. (See
https://nethackwiki.com/wiki/TTY.) There is also a fuller-featured "Curses"
interface, which is somewhat fancier and supports dynamic window resizing. (See
https://nethackwiki.com/wiki/Curses_interface.) Yes, both interfaces are
curses-based, but these are the existing names.

To switch to the Curses interface, a user is supposed to add

     OPTIONS=windowtype:curses

to $HOME/.nethackrc. However, when I do this and run nethack I see

     $ nethack

     OPTIONS=windowtype:curses
     * Line 1: Window type curses not recognized.  Choices are:  tty, X11.

     1 error in /home/eric/.nethackrc.


     Hit return to continue:

If I install the -nox11 slave port, I get the same error except X11 is absent
from the list of choices. It turns out that the Curses interface isn't being
compiled by the port. I have attached a patch to let that happen.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list