[comp.windows.x] Stupid xmodmap question

casey@lll-crg.llnl.gov (Casey Leedom) (12/14/88)

  I'd like to be able to specify that CNTR/` (Control/quoteleft) should
generate the character code 036(8) (the same as is already generated by
Control/circumflex).  I note that one can specify both the unshifed and
shifted codes for various keys with xmodmap.  It would seem natural to be
able to specify the control translation also.  Now granted, this is a
stupid request, but is it possible to do this with xmodmap???

Casey

dshr@SUN.COM (David Rosenthal) (12/14/88)

> 
>   I'd like to be able to specify that CNTR/` (Control/quoteleft) should
> generate the character code 036(8) (the same as is already generated by
> Control/circumflex).  I note that one can specify both the unshifed and
> shifted codes for various keys with xmodmap.  It would seem natural to be
> able to specify the control translation also.  Now granted, this is a
> stupid request, but is it possible to do this with xmodmap???
> 

xmodmap affects the keys that generate the modifier bits,
not how keys bearing those modifier bits are interpreted.

In X11,  how keys are interpreted is a client,  not a server function.
You need to mess with xterm (or whatever client is seeing the keys).

	David.

jim@EXPO.LCS.MIT.EDU (Jim Fulton) (12/16/88)

You might want to try adding a translation resource for xterm (actually, for
the class XTerm) that does what you want.  

Jim