add CRASHREPORT directly to browser
add CRASHREPORT for Windows
add ^P info to report (via DUMPLOG)
new options: crash_email, crash_name, crash_urlmax
new game command: #bugreport
new config option: CRASHREPORT_EXEC_NOSTDERR
new command line option: --bidshow
deleted helper scripts:
NetHackCrashReport.Javascript
nhcrashreport.lua
misc:
update CRASHREPORTURL (will need to be updated before release)
update bitrot in winchain
winchain for Windows
add missing synch_wait for NetHackW --showpaths
add PANICTRACE (and CRASHREPORT) in mdlib.c:build_opts
missing:
packaging (Windows needs the pdb file)
no testing with MSVC command line build
port status:
linux: working, but glibc's backtrace doesn't show static functions
Windows VS: working. pdb file is large - looking into options
MacOS: working
msdos: not supported
VMS: not supported
MSVC: planned, but not attempted
MSYS2: working, but libbacktrace not showing symbols (yet?)
This commit is contained in:
@@ -1222,6 +1222,10 @@ Toggle the
|
||||
.op autopickup
|
||||
option on/off.
|
||||
Default key is \(oq@\(cq.
|
||||
.lp "#bugreport"
|
||||
Bring up a browser window to submit a report to the NetHack Development Team.
|
||||
Can be disabled at the time the program is built; when enabled,
|
||||
CRASHREPORTURL must be set in the system configuration file.
|
||||
.lp "#call "
|
||||
Call (name) a monster, or an object in inventory, on the floor,
|
||||
or in the discoveries list, or add an annotation for the
|
||||
@@ -4910,6 +4914,22 @@ window, windowframe, windowtext).
|
||||
If NetHack can, it should wrap long lines of text if they don't fit in
|
||||
the visible area of the window.
|
||||
.hn 2
|
||||
Crash Report Options
|
||||
.pg
|
||||
Please note that NetHack does not send \fBany\fP information off your
|
||||
computer unless you manually click submit on a form.
|
||||
.si
|
||||
.lp "OPTION=crash_email:\fIemail_address\fP
|
||||
.lp "OPTION=crash_name:\fIyour_name\fP
|
||||
.ei
|
||||
These options are used only to save you some typing on the crash
|
||||
report and #bugreport forms.
|
||||
.si
|
||||
.lp "OPTION=crash_urlmax:\fIbytes\fP
|
||||
.ei
|
||||
This option is used to limit the length of the URLs generated and is only
|
||||
needed if your browser cannot handle arbitrarily long URLs.
|
||||
.hn 2
|
||||
Platform-specific Customization options
|
||||
.pg
|
||||
Here are explanations of options that are used by specific platforms or ports
|
||||
@@ -6008,10 +6028,11 @@ large unless it is actively maintained.
|
||||
.
|
||||
.lp
|
||||
CRASHREPORTURL\ =\ If set to
|
||||
\f(CRhttps://www.nethack.org/common/contact.html\fP
|
||||
and support is compiled in, brings up a browser window populated with
|
||||
\f(CRhttps://www.nethack.org/links/cr-37BETA.html\fP
|
||||
and support is compiled in, brings up a browser window pre-populated with
|
||||
the information needed to report a problem if the game panics or ends
|
||||
up in an internally inconsistent state.
|
||||
up in an internally inconsistent state, or if the #bugreport command is
|
||||
invoked.
|
||||
.hn 1
|
||||
Scoring
|
||||
.pg
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
\newcommand{\elist}{\end{list}}
|
||||
|
||||
\hyphenation{CRASHREPORTURL}
|
||||
|
||||
% this will make \tt underscores look better, but requires that
|
||||
% math subscripts will never be used in this document
|
||||
\catcode`\_=12
|
||||
@@ -1332,6 +1334,12 @@ Show your attributes. Default key is `{\tt \^{}X}'.
|
||||
\item[\tb{\#autopickup}]
|
||||
Toggle the {\it autopickup\/} option. Default key is `{\tt @}'.
|
||||
%.lp
|
||||
\item[\tb{\#bugreport}]
|
||||
Bring up a browser window to submit a report to the {\it NetHack Development
|
||||
Team}.
|
||||
Can be disabled at the time the program is built; when enabled,
|
||||
CRASHREPORTURL must be set in the system configuration file.
|
||||
%.lp
|
||||
\item[\tb{\#call}]
|
||||
Call (name) a monster, or an object in inventory, on the floor,
|
||||
or in the discoveries list, or add an annotation for the
|
||||
@@ -5420,6 +5428,31 @@ If {\it NetHack\/} can, it should wrap long lines of text if they don't fit
|
||||
in the visible area of the window.
|
||||
\elist
|
||||
|
||||
%.hn 2
|
||||
\subsection*{Crash Report Options}
|
||||
%.pg
|
||||
|
||||
Please note that NetHack does not send {\textbf any} information off your
|
||||
computer unless you manually click submit on a form.
|
||||
%.si
|
||||
\blist{}
|
||||
%.lp
|
||||
\item[OPTION=crash_email:{\it email_address}]
|
||||
%.lp
|
||||
\item[OPTION=crash_name:{\it your_name}]
|
||||
%.ei
|
||||
\elist
|
||||
These options are used only to save you some typing on the crash
|
||||
report and \#bugreport forms.
|
||||
%.si
|
||||
\blist{}
|
||||
%.lp
|
||||
\item[OPTION=crash_urlmax:{\it bytes}]
|
||||
%.ei
|
||||
\elist
|
||||
This option is used to limit the length of the URLs generated and is only
|
||||
needed if your browser cannot handle arbitrarily long URLs.
|
||||
|
||||
%.hn 2
|
||||
\subsection*{Platform-specific Customization options}
|
||||
|
||||
@@ -6616,10 +6649,11 @@ large unless it is actively maintained.
|
||||
%.lp
|
||||
\item[\ib{CRASHREPORTURL}]
|
||||
If set to
|
||||
{\tt https://www.nethack.org/common/contact.html}
|
||||
{\tt https://www.nethack.org/links/cr-37BETA.html}
|
||||
and support is compiled in, brings up a browser window populated with
|
||||
the information needed to report a problem if the game panics or ends
|
||||
up in an internally inconsistent state.
|
||||
up in an internally inconsistent state, or if the \#bugreport command is
|
||||
invoked.
|
||||
\elist
|
||||
|
||||
%.hn 1
|
||||
|
||||
@@ -530,3 +530,12 @@
|
||||
# Use highlighting in the status lines when it changes?
|
||||
#OPTIONS=hilite_status:hitpoints/30%/bright-magenta/normal
|
||||
|
||||
### Crash reports
|
||||
# CRASHREPORTURL must be set in syscf to enable these options.
|
||||
# These identify you in crash reports
|
||||
#OPTIONS=crash_name:Your Name
|
||||
#OPTIONS=crash_email:user@example.com
|
||||
# This limits the size of the URL generated for a crash report. Only
|
||||
# use this if your browser can't handle very long URLs. It should be as
|
||||
# large as possible.
|
||||
#OPTIONS=crash_maxurl:4000.
|
||||
|
||||
Reference in New Issue
Block a user