Hail friends,
I'm a new player at (m)Angband and I came from Nethack. For my laptop doesn't have a numpad (well it does, but behind the FN key and the button layout is bad), I've always used the rogue-like movement keys (HJKL YU BN).
So I turned it on in options and everything except one thing works fine. Ctrl+D has turned into destroy, so I can't describe items in chat. So my questions is, what key has it turned into, (or) how can I find which key it has turned into, or how can I re-macro(/map) it?
Thank you for your time!
[SOLVED] rogue-like commands
[SOLVED] rogue-like commands
Last edited by Agor on Sun 05.04.2009, 00:49, edited 2 times in total.
Re: rogue-like commands
Remapping keys is easy. The only thing you need is to edit the "pref.prf" file in the /lib/user subdirectory.
In that file, you can see:
# Allow use of the "destroy" command
A:k
C:1:^D
Change the line where ^D appears to some unused command, like for example CTRL+F:
# Allow use of the "destroy" command
A:k
C:1:^F
Now you can destroy items with CTRL+F and describe items in chat like before with CTRL+D.
In that file, you can see:
# Allow use of the "destroy" command
A:k
C:1:^D
Change the line where ^D appears to some unused command, like for example CTRL+F:
# Allow use of the "destroy" command
A:k
C:1:^F
Now you can destroy items with CTRL+F and describe items in chat like before with CTRL+D.
Re: rogue-like commands
Just FYI... the "pref.prf" file works as follows:
A : the command that is mapped (k = destroy for example)
C : 0 = original keyset, 1 = roguelike keyset : the key that is mapped in the defined keyset (^D = CTRL + D for example)
A : the command that is mapped (k = destroy for example)
C : 0 = original keyset, 1 = roguelike keyset : the key that is mapped in the defined keyset (^D = CTRL + D for example)
Re: rogue-like commands
I play with roguelike commands and whenever I need to use something found in the standard keyset, I prefix it with a \.
\ ctrl-d works for me.
\ ctrl-d works for me.
Re: rogue-like commands
Thank you for all the answers!