[comp.sys.mac.programmer] Redefining modifying keys on a Mac...

jdr93@campus.swarthmore.edu (09/06/90)

-Message-Text-Follows-


First, I'd like to apologize if this is the wrong forum for this question.

What I'd like to know is if it is possible to redefine the modifying keys
(those that make the accents, for example) on the mac keyboard.  I don't want
to simply change the _look_; this is easy to do using ResEdit.  What I want to
do is to redefine them from `,e,u,i,etc. to 1, 2, 3, 4, etc.  Is this
something changeable, or is this information locked into ROM?

Thanks for your patience and indulgence with my question.  Please reply by mail
as I don't read this newsgroup often.

*******************************************************************************
Joshua Rosenzweig, Swarthmore College, Swarthmore, PA  19081
jdr93@swat.swarthmore.edu, jdr93@swarthmr.bitnet
*******************************************************************************

ollef@sics.se (Olle Furberg) (09/07/90)

>>>>> In article <6L1PHG6@cs.swarthmore.edu>, jdr93@campus.swarthmore.edu writes:

> First, I'd like to apologize if this is the wrong forum for this question.

Maybe comp.sys.mac.system?

> What I'd like to know is if it is possible to redefine the modifying keys
> (those that make the accents, for example) on the mac keyboard.  I don't want

The right terminology here is "dead keys": they are dead because nothing
seems to happen when you press them. 


> do is to redefine them from `,e,u,i,etc. to 1, 2, 3, 4, etc.  Is this
> something changeable, or is this information locked into ROM?

This information is in a resource called KCHR (KeyboardCHaRacter) which you
will find in the System file. Changing the KCHR used to be a very hard job
because there were no TMPL for it. But with the release of ResEdit 1.2 
it all was changed: It gives you a very userfriendly interface to change 
the keymapping. When your KCHR is open: just type the dead-key, a character 
chart window for this key will get up, and then choose "Remove dead key"
from the KCHR-menu.

   /Olle