M-u Untrap something (trap, door, or chest)
M-v Print compile time options for this version of NetHack
M-w Wipe off your face
+M-X Switch from normal play to explore mode
-.\" $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.
.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
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 ""
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.
.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.
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.
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
#version
.lp M-w
#wipe
+.lp M-X
+#exploremode
.lp ""
.pg
If the
%.au
\author{Original version - Eric S. Raymond\\
(Edited and expanded for 3.7 by Mike Stephenson and others)}
-\date{December 13, 2020}
+\date{December 16, 2020}
\maketitle
Toggle two-weapon combat, if your character can do it. Also available
via the ``{\tt \#twoweapon}'' 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 ``explore mode'', also known as ``discovery mode'', which has now
-been moved to ``{\tt \#exploremode}''.)
+been moved to ``{\tt \#exploremode}'' and M-X.)
%.lp
\item[\tb{\^{}X}]
Display basic information about your character.\\
Default key is `{\tt M-e}'.
%.lp
\item[\tb{\#exploremode}]
-Enter the explore mode.\\
+Switch from normal play to non-scoring explore mode.
+Default key is `{\tt M-X}'.\\
%.lp ""
Requires confirmation; default response is `{\tt n}' (no).
To really switch to explore mode, respond with `{\tt y}'.
and also `{\tt h}' if {\it number\verb+_+pad\/} is on.
%.lp
\item[\tb{\#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 {\it herecmd\verb+_+menu\/}
+option is On, clicking on the hero (or steed when mounted) will
+execute this command.
%.lp
\item[\tb{\#history}]
Show long version and game history. Default key is `{\tt V}'.
Default key is `<del>' or `<delete>' (see {\it Del\/} above).
%.lp
\item[\tb{\#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 {\it herecmd\verb+_+menu\/}
+%% option is On, clicking on an adjacent location will execute this command.
%.lp
\item[\tb{\#throw}]
Throw something. Default key is `{\tt t}'.
with another key, modifies it by setting the `meta' [8th, or `high']
bit), you can invoke many extended commands by meta-ing the first
letter of the command.
-In {\it Windows, OS/2, PC\/ {\rm and} ST NetHack},
-the `Alt' key can be used in this fashion;
-on the {\it Amiga}, set the {\it altmeta\/} option to get this behavior.
+
+On {\it Windows\/} and {\it MS-DOS\/},
+the `Alt' key can be used in this fashion.
+%% On the {\it Amiga}, set the {\it altmeta\/} option to get this behavior.
On other systems, if typing `Alt' plus another key transmits a
two character sequence consisting of an {\tt Escape}
followed by the other key, you may set the {\it altmeta\/}
option to have {\it 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 ^{}x and ^{}X 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
\blist{}
%.lp
\item[\tb{M-?}]
%.lp
\item[\tb{M-w}]
{\tt\#wipe}
+%.lp
+\item[\tb{M-X}]
+{\tt\#exploremode}
\elist
%.pg
-NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.392 $ $NHDT-Date: 1607936398 2020/12/14 08:59:58 $
+NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.393 $ $NHDT-Date: 1608175317 2020/12/17 03:21:57 $
General Fixes and Modified Features
-----------------------------------
commands without any key (so useable via '#', or possibly menu, only;
the majority are debugging commands)
assign default key binding for <del> or <delete> to execute #terrain
+assign M-X to #exploremode
+make #herecmdmenu and #therecmdmenu autocomplete
Platform- and/or Interface-Specific New Features
-/* NetHack 3.7 cmd.c $NHDT-Date: 1608116853 2020/12/16 11:07:33 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.435 $ */
+/* NetHack 3.7 cmd.c $NHDT-Date: 1608175318 2020/12/17 03:21:58 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.436 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Robert Patrick Rankin, 2013. */
/* NetHack may be freely redistributed. See license for details. */
{ 'E', "engrave", "engrave writing on the floor", doengrave },
{ M('e'), "enhance", "advance or check weapon and spell skills",
enhance_weapon_skill, IFBURIED | AUTOCOMPLETE },
- { '\0', "exploremode", "enter explore (discovery) mode",
+ { M('X'), "exploremode", "enter explore (discovery) mode",
enter_explore_mode, IFBURIED | GENERALCMD },
{ 'f', "fire", "fire ammunition from quiver", dofire },
{ M('f'), "force", "force a lock", doforce, AUTOCOMPLETE },
doquickwhatis, IFBURIED | GENERALCMD },
{ '?', "help", "give a help message", dohelp, IFBURIED | GENERALCMD },
{ '\0', "herecmdmenu", "show menu of commands you can do here",
- doherecmdmenu, IFBURIED | GENERALCMD },
+ doherecmdmenu, IFBURIED | AUTOCOMPLETE | GENERALCMD },
{ 'V', "history", "show long version and game history",
dohistory, IFBURIED | GENERALCMD },
{ 'i', "inventory", "show your inventory", ddoinv, IFBURIED },
doterrain, IFBURIED | AUTOCOMPLETE },
{ '\0', "therecmdmenu",
"menu of commands you can do from here to adjacent spot",
- dotherecmdmenu, GENERALCMD },
+ dotherecmdmenu, AUTOCOMPLETE | GENERALCMD },
{ 't', "throw", "throw something", dothrow },
{ '\0', "timeout", "look at timeout queue and hero's timed intrinsics",
wiz_timeout_queue, IFBURIED | AUTOCOMPLETE | WIZMODECMD },