Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2020 13:39:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246483] games/nethack36: Fuller curses interface is not enabled
Message-ID:  <bug-246483-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246483

            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@FreeBSD.org
          Reporter: eric@erichanneken.com
             Flags: maintainer-feedback?(glewis@FreeBSD.org)
          Assignee: glewis@FreeBSD.org

Created attachment 214521
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214521&action=
=3Dedit
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=3Dwindowtype:curses

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

     $ nethack

     OPTIONS=3Dwindowtype: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 abse=
nt
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246483-7788>