[comp.windows.x] Remapping keys in xterm

mleisher@nmsu.edu (Mark Leisher) (05/17/89)

Equipment: Sun 3/50 OS 3.5

I want to remap <Ctrl>-; and <Ctrl>-' to emit something other than a ;
or ' in a non-X program running in an xterm window. Is this
unreasonable?

Mark Leisher
New Mexico State University
mleisher@nmsu.edu

swick@ATHENA.MIT.EDU (Ralph R. Swick) (05/17/89)

     Date:  16 May 89 23:57:28 GMT
     From:  opus!mleisher@lanl.gov  (Mark Leisher)

     I want to remap <Ctrl>-; and <Ctrl>-' to emit something other than a ;
     or ' in a non-X program running in an xterm window. Is this
     unreasonable?

Nope, not at all.  Try this:

% xterm -xrm '*VT100.translations:#override Ctrl<Key>semicolon:string(" hi") \n\
Ctrl<Key>quoteright:string(" there")'