Page 1 of 1

Character dump on Mac OSX

PostPosted: Friday, 22nd April 2011, 14:27
by Jeremiah
So, the key for a character dump is # - which is normally shift-3 - but my Apple keyboard does not have this key.

The standard way to get # on a Mac is alt-3, which works in this post as you can see - but if I try this in Crawl I get the message "key_to_command():CMD_NO_CMD (965:114) wrong for desired context".

So what is the method for getting a character dump on a Mac?

Edit never mind: if I open the same game with tiles, I can do it with the button. :roll: :oops:

Re: Character dump on Mac OSX

PostPosted: Monday, 25th April 2011, 21:25
by Regnix
I've had this problem before too, using a Mac keyboard in Linux. It would be handy if we could bind this command to a key of our choosing.

Re: Character dump on Mac OSX

PostPosted: Monday, 25th April 2011, 23:24
by sxoz
You can rebind it by putting something like this in your .crawlrc:

  Code:
bindkey = [C] CMD_CHARACTER_DUMP

where C is the key you want. You can specify ctrl with ^ as well, (so [^C] for ctrl-C). I think the key is case-sensitive but I'm not sure.

Re: Character dump on Mac OSX

PostPosted: Friday, 27th May 2011, 21:28
by t0d
I had the same issue with the [{]. No inscription for me :(

On my Mac keyboard, it's supposed to be Alt + 8, same error message.
Seems like a whole bunch of keys is affected by the different layout.

Re: Character dump on Mac OSX

PostPosted: Saturday, 28th May 2011, 15:05
by Jeremiah
I think it's something in Mac OSX rather than a problem with the keyboard - connecting a standard USB keyboard with the normal Windows layout to my Mac produced the same problems as the Apple keyboard.

Re: Character dump on Mac OSX

PostPosted: Saturday, 28th May 2011, 16:42
by sxoz
Well, just to avoid over-generalizations in this thread, I've been playing on a Mac (two different Macs, actually, both with OSX) for months and my keys work fine. # is Shift-3 for me, { is Shift-[. No idea what kind of mac has alt-3 for # and alt-8 for {.

I know that doesn't help anyone here, but I didn't want the devs to look at this and think all macs had this problem.

Re: Character dump on Mac OSX

PostPosted: Sunday, 29th May 2011, 10:27
by Jeremiah
sxoz wrote:Well, just to avoid over-generalizations in this thread, I've been playing on a Mac (two different Macs, actually, both with OSX) for months and my keys work fine. # is Shift-3 for me, { is Shift-[. No idea what kind of mac has alt-3 for # and alt-8 for {.

I know that doesn't help anyone here, but I didn't want the devs to look at this and think all macs had this problem.


:oops: :oops: :oops:

Of course. It's because I have a UK keyboard where shift-3 is £. Changing the keyboard option to US gives me # on shift-3.

:oops: :oops: :oops: