number_pad (modified from <Someone>'s patch)
The number_pad option can now optionally hold a value
{0,1, 2 } for {off, on, DOS-mode} but plain number_pad and
!number_pad in config files still work as before.
When number_pad:2 is set, iflags.num_pad_mode is set to 1
which triggers the following behaviour:
> '5', M('5') and M('0') are mapped in rhack()
>in cmd.c, only when they are entered as a command. When used as a
>number, like in the 'n' command, no mapping takes place. '0' is
>already mapped to 'i' by the core. The
>only difference [<Someone>] left in (deliberately) is when you press Ctrl-0;
>this used to map to C('i'), which is an invalid command; now
>keep it '0' (which is interpreted as 'i' by the core.)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
\begin{document}
|
||||
%
|
||||
% input file: guidebook.mn
|
||||
% $Revision: 1.64 $ $Date: 2003/04/05 02:14:51 $
|
||||
% $Revision: 1.65 $ $Date: 2003/05/12 03:05:00 $
|
||||
%
|
||||
%.ds h0 "
|
||||
%.ds h1 %.ds h2 \%
|
||||
@@ -40,7 +40,7 @@
|
||||
%.au
|
||||
\author{Eric S. Raymond\\
|
||||
(Extensively edited and expanded for 3.4)}
|
||||
\date{May 11, 2003}
|
||||
\date{June 5, 2003}
|
||||
|
||||
\maketitle
|
||||
|
||||
@@ -2387,7 +2387,9 @@ in setting this with the `{\tt O}' command.
|
||||
Send padding nulls to the terminal (default off).
|
||||
%.lp
|
||||
\item[\ib{number\_pad}]
|
||||
Use the number keys to move instead of {\tt [yuhjklbn]} (default off).
|
||||
Use the number keys to move instead of {\tt [yuhjklbn]} (default 0 or off).
|
||||
(number\_pad:2 invokes the old DOS behaviour where `{\tt 5}' means `{\tt g}',
|
||||
meta-`{\tt 5}' means `{\tt G}', and meta-`{\tt 0}' means `{\tt I}'.)
|
||||
%.lp
|
||||
\item[\ib{objects}]
|
||||
Set the characters used to display object classes (default
|
||||
|
||||
Reference in New Issue
Block a user