Bug#1023578: nethack-common: please #define DUMPLOG

Ian Charlesworth debian at ilcharle.com
Sun Nov 6 22:21:34 GMT 2022


Package: nethack-common
Version: 3.6.6-3+b1
Severity: wishlist

Dear Maintainer,

Could you please add the compile flag DUMPLOG? This enables logs to be
dumped at the end of a game, showing information like the final screen.
The compile option DUMPLOG_FILE might also need a reasonable default; I
think in previous versions (3.4.*) there was a patch added which saved
things in /var/games/nethack/dumps by default.

I notice that the current nethack lists end-of-game disclosure files as
not supported, so (I believe!) this is not just a case of me
mis-configuring:

$ nethack --showpaths
Variable playground locations:
    [hackdir   ]="not set"
    [leveldir  ]="not set"
    [savedir   ]="not set"
    [bonesdir  ]="not set"
    [datadir   ]="not set"
    [scoredir  ]="/var/games/nethack/"
    [lockdir   ]="not set"
    [sysconfdir]="not set"
    [configdir ]="not set"
    [troubledir]="not set"
/usr/lib/games/nethack/nethack-console's system configuration file (in sysconfdir):
    "/etc/nethack/sysconf"
The loadable symbols file:
    "/usr/lib/games/nethack/symbols"
Basic data files (in datadir) are collected inside:
    "nhdat"
No end-of-game disclosure file (not supported).
Your personal configuration file (in configdir):
    "/home/********/.nethackrc"


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (550, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nethack-common depends on:
ii  debconf [debconf-2.0]  1.5.79
ii  libc6                  2.35-4

Versions of packages nethack-common recommends:
ii  nethack-console  3.6.6-3+b1

nethack-common suggests no packages.

-- Configuration Files:
/etc/nethack/sysconf changed:
WIZARDS=root games
EXPLORERS=*
GENERICUSERS=play player game games nethack nethacker
MAXPLAYERS=10
DUMPLOGFILE=/tmp/nethack.%n.%d.log
GDBPATH=/usr/bin/gdb
GREPPATH=/bin/grep
PANICTRACE_GDB=1
PANICTRACE_LIBC=2
OPTIONS=disclose:ni ya yv yg yc yo


-- debconf information:
* nethack-common/recover-setgid: true



More information about the Pkg-games-devel mailing list