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

@@ -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