Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!gvlf3.gvl.unisys.com!gvlv2!tredysvr!paul From: paul@tredysvr.Tredydev.Unisys.COM (Paul Siu) Newsgroups: comp.windows.x Subject: Re: Can't Override Translation Summary: Explanation of problem with keys Keywords: Action Procedure, Translation, Override Message-ID: <1126@tredysvr.Tredydev.Unisys.COM> Date: 7 Jan 91 15:20:22 GMT References: <1113@tredysvr.Tredydev.Unisys.COM> <1991Jan4.160401.21666@smsc.sony.com> Organization: /usr/lib/news/organization Lines: 31 In article <1991Jan4.160401.21666@smsc.sony.com> dce@smsc.sony.com (David Elliott) writes: >I'm a little confused. > >Are you saying that if you change the above to > >*btn.translations: #override\n\ > Delete: ArmAndActivate()\n\ > >it doesn't arm and activate the button, or are you saying that after >adding the above translations that the exsiting translations for F1, >Delete, and BackSpace no longer work? > >Also, is this a customization via your .Xdefaults, or via the >application's app-defaults file? If .Xdefaults, does the application >already have "*btn" translations? I am saying that when certain keys, notably F1, F4, F10, Escape, the arrow keys, the delete, and the backspace key does not response to entries in the translation no matter what you do. Other keys such as F2, F3, etc works fine as long as I enter the translation correctly. I put the translation in the resource file, namely the application resource file in /usr/lib/X11/app-defaults/. I also try putting the translation in the .Xdefaults, and in program code, and it still does not work. I am investigating keymapping, perhaps it is not mapped correctly. I am still open to suggestions. Thanks. Paul Siu paul@tredysvr.tredydev.unisys.com