[comp.windows.x.motif] Accelerator specification...

narkiewi@umvlsi.ecs.umass.edu (Jan D Narkiewicz) (11/10/90)

     Motif uses certain default accelerators.  My keyboard does not have
one of these default keys so I have to map it to a key I already have
before Motif then does its mapping.  Can someone tell me how to do this?
Below I explain the problem in detail and discuss the measures I have taken
to remedy the situation.

     I have installed motif 1.1 on a Sun 3/160 running Sun 4.1.  When
I start up mwm I receive a warning stating that I have an "invalid
accelerator at line 7 of my specification."  I've traced it to the
default accelerator bindings.  The 7th default internal to mwm is:

    Maximize  Alt+F10

My keyboard has no F10, so it gives me a non-fatal warning.  Mwm takes its
default bindings and merges them you declare in your .motifbind file.
I know I can fix the problem by altering the mwm source, changing the
F10 to anther key and recompiling, but I'd like a work around so that if I
install on another odd keyboard I won't have to recompile.

     I have tried to change my F10 binding in the XKeysymDb located in
/usr/lib/X11.  i.e.:   osfF10   1004FFC1 (I map F10 to L10) but that
didn't work either or I did it wrong.  At this point I am stuck and would
appreciate a simple solution to the problem.

Thanks.






-- 
Jan D. Narkiewicz,   narkiewi@umvlsi.ecs.umass.edu