Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!shasta.lia.com!nieh From: nieh@shasta.lia.com (Ko-haw Nieh) Newsgroups: comp.windows.x.motif Subject: translation for F4 [Popup problems] Message-ID: <9011081722.AA11775@shasta.> Date: 8 Nov 90 17:22:59 GMT References: <901107112358.10759@alphalpha> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: (Ko-Haw Nieh) Distribution: inet Organization: The Internet Lines: 30 >>>> I am trying to set a translation for the F4 key on a Sun Sparc >>>> 1+, running motif 1.1. For some reasons, the action associated with >>>> the F4 key never get called. I have reduced the application to a >>> >>>Thank you, you just showed me a nasty bug, although I'm still not >>>sure who is at fault. >>> >>>It would appear that F4 is the keyboard equivalent of M3 - it pops up >>>popups. The problem is that our program has context sensitive >>> (I am also on Sun Sparc running motif 1.1.) It seems to me that not only the F4 has problem, both F1 and F10 have similar problem. Since my application has special requirements I have to associate different actions to each function key. My temporary solution was to use the xmodmap to redefine keysym in the server. It did what I wanted however other client programs use the same server suffered. Is it possible to redefine the keycode and keysym mapping at client level ? What is the best way to work around ? My other problem is that F11 = L1 and F12 = L2 (defined in How do I make these 4 keys looks different ? Ko-Haw Nieh, Litton/Industrial Automation 1301 Harbor Bay Parkway, P.O. Box 4004, Alameda, CA 94501-0404 uunet!fernwood!lia!nieh nieh@lia.com FAX : 415-521-5499 Tele : 415-769-5640