Path: utzoo!censor!geac!jtsv16!uunet!cs.utexas.edu!rutgers!apple!bloom-beacon!SUN.COM!swoodhead From: swoodhead@SUN.COM (Simon Woodhead) Newsgroups: comp.windows.x Subject: can xmodmap assign escape sequences to keys? Message-ID: <8905310627.AA00818@sunaus.sun.oz> Date: 31 May 89 21:26:26 GMT Organization: The Internet Lines: 33 Please reply direct to George Michaelson at the address below, or to the comp.windows.x newsgroup / xpert mailing list. ----- Begin Included Message ----- Newsgroups: comp.windows.x Subject: can xmodmap assign escape sequences to keys? Organization: University of Queensland, Brisbane, Australia how do you use xmodmap or any other utility to assign arbitrary char-sequences per keystroke? I'm trying to make an RT keyboards numeric keypad function as a vt100 would so that I can (yecch!) use EDT on VMS systems. This requires num-lock as well as all the "sane" num-keys to be re-defined as DEC ESC sequences. The AOS4.3bsd utility pf (1) doesn't work within X because a different keyboard driving mechanism is used. the xmodmap documentation discusses single code replacement and overloading under different contexts, but doesn't seem to show assigning a code sequence to a keypress. Pointers to documentation etc received with thanks.. -George -- ACSnet: ggm@brolga.cc.uq.oz Phone: +61 7 377 4079 Postal: George Michaelson, Prentice Computer Centre Queensland University, St Lucia, QLD 4067 ----- End Included Message -----