meta access to several extended commands (trunk only)

Someone in the newsgroup has a keyboard where typing '#' is difficult
or impossible to do, and mentioned that he could use Alt+r to get #rub but
was playing a knight and had no way to get #ride.  Turns out that there
are several normal-mode extended commands that lacked a meta shortcut.
Since meta chars are case sensitive, I've added Alt+R for #ride, plus
M-A for #annotate, M-O for #overview, M-C for #conduct, and M-T for #tip.

     Unfortunately, I've been unable to test them.  It turns out that
nethack mode in PuTTY doesn't change the Alt key into a meta shift, it
causes the digits on the number pad to send vi-style movement letters
(with support for shift+digit and ctrl+digit to send modified letters).
That seems relatively useless to me, and I haven't figured out how to
force on high bit for arbitrary characters so can't activate nethack's
meta-key shortcuts.

     The Guidebook has been updated via copy+paste and is untested too.
This commit is contained in:
nethack.rankin
2009-10-20 22:48:38 +00:00
parent d69f078b7e
commit e8ca39ff07
5 changed files with 45 additions and 4 deletions

View File

@@ -756,8 +756,12 @@ can be used in this fashion.
#twoweapon (unless the number_pad option is enabled)
.lp M-a
#adjust
.lp M-A
#annotate (if supported)
.lp M-c
#chat
.lp M-C
#conduct
.lp M-d
#dip
.lp M-e
@@ -776,16 +780,22 @@ can be used in this fashion.
#name
.lp M-o
#offer
.lp M-O
#overview (if supported)
.lp M-p
#pray
.lp M-q
#quit
.lp M-r
#rub
.lp M-R
#ride (if supported)
.lp M-s
#sit
.lp M-t
#turn
.lp M-T
#tip
.lp M-u
#untrap
.lp M-v

View File

@@ -33,7 +33,7 @@
\begin{document}
%
% input file: guidebook.mn
% $Revision: 1.108 $ $Date: 2009/05/10 16:33:53 $
% $Revision: 1.109 $ $Date: 2009/10/18 23:52:34 $
%
%.ds h0 "
%.ds h1 %.ds h2 \%
@@ -1011,9 +1011,15 @@ the `Alt' key can be used in this fashion.
\item[\tb{M-a}]
{\tt\#adjust}
%.lp
\item[\tb{M-A}]
{\tt\#annotate} (if supported)
%.lp
\item[\tb{M-c}]
{\tt\#chat}
%.lp
\item[\tb{M-C}]
{\tt\#conduct}
%.lp
\item[\tb{M-d}]
{\tt\#dip}
%.lp
@@ -1041,6 +1047,9 @@ the `Alt' key can be used in this fashion.
\item[\tb{M-o}]
{\tt\#offer}
%.lp
\item[\tb{M-O}]
{\tt\#overview} (if supported)
%.lp
\item[\tb{M-p}]
{\tt\#pray}
%.Ip
@@ -1050,12 +1059,18 @@ the `Alt' key can be used in this fashion.
\item[\tb{M-r}]
{\tt\#rub}
%.lp
\item[\tb{M-R}]
{\tt\#ride} (if supported)
%.lp
\item[\tb{M-s}]
{\tt\#sit}
%.lp
\item[\tb{M-t}]
{\tt\#turn}
%.lp
\item[\tb{M-T}]
{\tt\#tip}
%.lp
\item[\tb{M-u}]
{\tt\#untrap}
%.lp

View File

@@ -358,7 +358,7 @@ X11: added support for hilite_pet to text map mode
General New Features
--------------------
burying a punishment ball no longer ends your punishment
#tip command--pay a modest gratuity
#tip command (with M-T shortcut) to empty a container's contents onto floor
add clicklook option to allow looking at things on the display by clicking
right mouse button when floating mouse pointer over them
Izchak's lighting store is now able to stock oil for your lamp
@@ -445,6 +445,7 @@ eating disenchanter corpses is now considered risky
make '[' command more precise when poly'd hero has embedded dragon scales/mail
fainting while wielding a cockatrice corpse will be fatal
Sunsword's light radius depends on its curse/bless state
Add M-C and M-R meta-key shortcuts for #conduct and #ride, respectively
Platform- and/or Interface-Specific New Features