[comp.sys.mac.programmer] Getting option-keystrokes w/out dead-key translation

dwright@sif.claremont.edu (Dan "(" Wright)) (10/13/90)

I'm currently working on a program in which I'm letting the user define
option-key equivalents to various menu operations and as pseudo-macros.
My program translates events into the ASCII equivalent (ie, opt-a -> a) using
the system KCHR and KeyTrans.  This works fine, except for one thing: the dead
keys!  Option-e, for example, does nothing, because the system is waiting for
another key to be pressed, and when one is, it gets posted twice.

The only way I can see around this problem would be to mess around with the
KCHR resource, but this doesn't seems like a particularly healthy solution. 
Any ideas?  If I have to mess with the KCHR, how would I do it? Is the KCHR
format documented anywhere?

Thanks in advance..
-Dan Wright 

-------------------------------------------------------------------------------
Dan Wright          DWRIGHT@SIF	         Macintosh Systems Manager
Internet: dwright@hmcvax.claremont.edu   
Harvey Mudd College, Claremont, CA       Consider it disclaimed!
-------------------------------------------------------------------------------