Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!think!mintaka!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU (Donna Converse) Newsgroups: comp.windows.x Subject: Re: key bindings in xterm Message-ID: <9002150057.AA05629@expo.lcs.mit.edu> Date: 15 Feb 90 00:57:48 GMT References: <514@draci.cs.uow.oz> Sender: daemon@athena.mit.edu (Mr Background) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 22 > As a relative newcomer to X I would like some help on modifying the > keyboard map for xterm. > > I am using a Sun workstation and would like to have certain keys > generate strings, but different strings for shifted, control etc. Here is a demonstration on the F1 key. See "Translation Table Syntax", Appendix B of the X Toolkit Intrinsics documentation. xterm*VT100.translations: #override\n\ !Shift Ctrl F1: string("Shift-Ctrl ")\n\ !Shift Meta F1: string("Shift-Meta ")\n\ !CtrlF1: string("Ctrl ")\n\ !ShiftF1: string("Shift ")\n\ !MetaF1: string("Meta ")\n\ NoneF1: string("no modifiers ")\n\ F1: string("don't care about modifiers ")\n Donna Converse converse@expo.lcs.mit.edu