🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36857

Re: key bindings in xterm

#36857
From: Donna Converse
Date: Thu, 15 Feb 1990 00:57
22 lines
1319 bytes
> 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 <Key>F1:    string("Shift-Ctrl ")\n\
        !Shift Meta <Key>F1:    string("Shift-Meta ")\n\
        !Ctrl<Key>F1:   string("Ctrl ")\n\
        !Shift<Key>F1:  string("Shift ")\n\
        !Meta<Key>F1:   string("Meta ")\n\
        None<Key>F1:    string("no modifiers ")\n\
        <Key>F1:        string("don't care about modifiers ")\n


Donna Converse
converse@expo.lcs.mit.edu
Technical Details
Message-ID: <9002150057.AA05629@expo.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!think!mintaka!bloom-beacon!EXPO.LCS.MIT.EDU!converse
References: <514@draci.cs.uow.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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