Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU Newsgroups: comp.windows.x Subject: Re: VT220 keymap for Xterm on HP/Apollo 9000-400 Message-ID: <9102081506.AA00520@lightning.McRCIM.McGill.EDU> Date: 8 Feb 91 15:06:40 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 27 > I'm trying to map the Xterm keys on an HP/Apollo 9000-400 to be > usable on a DEC vt220. I used 'xmodmap' with a keymap file > containing the following: > keysym KP_Multiply = KP_F1 > keysym KP_Divide = KP_F2 [...etc...] > this seemed to work just fine, until I created another HPterm or > Xterm and it still had the vt220 keymappings. Why do the vt220 > keymaps remain? Why would they go away? You told the server that the key that used to correspond to KP_Multiply was to correspond to KP_F1; naturally, when you press it, you get a KP_F1 event, regardless of which client is listening to the keystroke. > How do I set the vt220 keymaps ONLY for one instance of Xterm? I'm not sure. You can probably do something with the -name and -class options and the Translations resource, but I'll let someone better versed in toolkit magic handle that side of it. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu