adopt some orphan commands

'? i' shows three keyless commands in the General section.  This
makes M-X the key for #exploremode.  #herecmdmenu and #therecmdmenu
are still keyless but now autocomplete.

A ridiculous amount of documentation for a three line code change.
This commit is contained in:
PatR
2020-12-16 19:22:04 -08:00
parent 48d39b2ffd
commit d27b8cb043
5 changed files with 91 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
.\" $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.407 $ $NHDT-Date: 1607936398 2020/12/14 08:59:58 $
.\" $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.408 $ $NHDT-Date: 1608175317 2020/12/17 03:21:57 $
.\"
.\" This is an excerpt from the 'roff' man page from the 'groff' package.
.\" Guidebook.mn currently does *not* fully adhere to these guidelines.
@@ -35,7 +35,7 @@
.ds vr "NetHack 3.7
.ds f0 "\*(vr
.ds f1
.ds f2 "December 13, 2020
.ds f2 "December 16, 2020
.
.\" A note on some special characters:
.\" \(lq = left double quote
@@ -969,9 +969,9 @@ the exchange still takes place.
Toggle two-weapon combat, if your character can do it. Also available
via the \(lq#twoweapon\(rq extended command.
.lp ""
(In versions prior to 3.6 this was the command to switch from normal
(In versions prior to 3.6 this keystroke ran the command to switch from normal
play to \(lqexplore mode\(rq, also known as \(lqdiscovery mode\(rq,
which has now been moved to \(lq#exploremode\(rq.)
which has now been moved to \(lq#exploremode\(rq and M-X.)
.lp \(haX
Display basic information about your character.
.lp ""
@@ -1199,7 +1199,8 @@ Advance or check weapon and spell skills.
Autocompletes.
Default key is \(oqM-e\(cq.
.lp #exploremode
Enter the explore mode.
Switch from normal play to non-scoring explore mode.
Default key is \(oqM-X\(cq.
.lp ""
Requires confirmation; default response is \f(CRn\fP (no).
To really switch to explore mode, respond with \f(CRy\fP.
@@ -1222,7 +1223,15 @@ Default key is \(oq?\(cq, and also \(oqh\(cq if
.op number_pad
is on.
.lp #herecmdmenu
Show a menu of possible actions in your current location.
Show a menu of possible actions directed at your current location.
The menu is limited to a subset of the likeliest actions, not an
exhaustive set of all possibilities.
Autocompletes.
.lp ""
If mouse support is enabled and the
.op herecmd_menu
option is On, clicking on the hero (or steed when mounted) will
execute this command.
.lp "#history "
Show long version and game history.
Default key is \(oqV\(cq.
@@ -1473,7 +1482,15 @@ In debug mode there are additional choices.
Autocompletes.
Default key is \(oq<del>\(cq or \(oq<delete>\(cq (see \fIDel\fP above).
.lp #therecmdmenu
Show a menu of possible actions in a location next to you.
Show a menu of possible actions directed at a location next to you.
The menu is limited to a subset of the likeliest actions, not an
exhaustive set of all possibilities.
Autocompletes.
.\"--invoking it by mouse seems to be broken
.\" .lp ""
.\" If mouse support is enabled and the
.\" .op herecmd_menu
.\" option is On, clicking on an adjacent location will execute this command.
.lp "#throw "
Throw something.
Default key is \(oqt\(cq.
@@ -1642,16 +1659,27 @@ with another key, modifies it by setting the \(lqmeta\(rq [8th,
or \(lqhigh\(rq] bit), you can invoke many extended commands by meta-ing
the first letter of the command.
.pg
In \fIWindows\fP, \fIOS/2\fP, \fIPC\fP and \fIST\fP \fINetHack\fP,
the \(lqAlt\(rq key can be used in this fashion;
on the \fIAmiga\fP, set the
.op altmeta
option to get this behavior.
On \fIWindows\fP and \fIMS-DOS\fP,
the \(lqAlt\(rq key can be used in this fashion.
.\" On the \fIAmiga\fP, set the
.\" .op altmeta
.\" option to get this behavior.
On other systems, if typing \(lqAlt\(rq plus another key transmits a
two character sequence consisting of an \fBEscape\fP
followed by the other key, you may set the
.op altmeta
option to have NetHack combine them into meta+key.
(This combining action only takes place when NetHack is expecting a
command to execute, not when accepting input to name something or to
make a wish.)
.pg
Unlike control characters, where \(hax and \(haX denote the same thing,
meta characters are case-sensitive: M-x and M-X represent different things.
Some commands which can be run via a meta character require that the
letter be capitalized because the lower-case equivalent is used for
another command, so the three key combination meta+shift+letter is needed.
.BR 1
.
.lp M-?
#? (not supported by all platforms)
.lp M-2
@@ -1706,6 +1734,8 @@ option is enabled)
#version
.lp M-w
#wipe
.lp M-X
#exploremode
.lp ""
.pg
If the