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:
@@ -5,7 +5,7 @@
|
||||
.ds vr "NetHack 3.4
|
||||
.ds f0 "\*(vr
|
||||
.ds f1
|
||||
.ds f2 "May 11, 2003
|
||||
.ds f2 "June 5, 2003
|
||||
.mt
|
||||
A Guide to the Mazes of Menace
|
||||
(Guidebook for NetHack)
|
||||
@@ -1943,7 +1943,9 @@ in setting this with the `O' command.
|
||||
.lp "null "
|
||||
Send padding nulls to the terminal (default off).
|
||||
.lp number_pad
|
||||
Use the number keys to move instead of [yuhjklbn] (default off).
|
||||
Use the number keys to move instead of [yuhjklbn] (default 0 or off).
|
||||
(number_pad:2 invokes the old DOS behaviour where `5' means `g', meta-`5'
|
||||
means `G', and meta-`0' means `I'.)
|
||||
.lp objects
|
||||
Set the characters used to display object classes
|
||||
(default ``])[="(%!?+/$*`0_.'').
|
||||
|
||||
Reference in New Issue
Block a user