Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!jgm@fed.expres.cs.cmu.edu From: jgm@fed.expres.cs.cmu.edu (John G. Myers) Newsgroups: comp.sys.next Subject: Alternate as META key? Message-ID: <7953@pt.cs.cmu.edu> Date: 12 Feb 90 22:04:22 GMT Organization: Carnegie Mellon University Lines: 14 I'm writing an application (a terminal emulator for emacs) which wants to treat the "Alternate" key as a meta key. If I get a keyDown event with the NX_ALTERNATEMASK, I want to find the charCode that the event would have had if the event didn't have NX_ALTERNATEMASK. I can take the keyCode and do a lookup in a table constructed from the keyboard layout given in the online manual, but that's hardware-dependent. Anyone have a hardware-independent solution? Replies to me--I'll summarize. -- _.John G. Myers Internet: jgm@fed.expres.cs.cmu.edu (412) 268-2984 LoseNet: ...!seismo!ihnp4!wiscvm.wisc.edu!give!up