Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu From: chudnall@ccwf.cc.utexas.edu (Christopher Hudnall) Newsgroups: comp.windows.x Subject: Re: Problems using xterm "translations": Shifted and unshifted equal Keywords: xterm translations shift Message-ID: <46380@ut-emx.uucp> Date: 29 Mar 91 08:48:47 GMT References: <1991Mar27.214211*Steinar.Haug@delab.sintef.no> Sender: root@ut-emx.uucp Reply-To: chudnall@ccwf.cc.utexas.edu (Christopher Hudnall) Organization: University of Texas at Austin Computation Center Lines: 51 Notice the use of Shift versus ~Shift (*without* Shift) below to disambiguate the use of KP_0 versus Insert, which are both on the same key on the Sun SPARC keyboard. ! xterm characteristics - C. A. North-Keys, 1991 ! XTerm*name: xterm XTerm*reverseVideo: true XTerm*reverseWrap: true XTerm*StringConversionWarnings:on XTerm*title: Xterm XTerm*mouse: red XTerm*cursorColor: green XTerm*border: black XTerm*scrollKey: true XTerm*scrollBar: false XTerm*c132: true XTerm*fontMenu*font1*Label: Illegible XTerm*fontMenu*font2*Label: Small XTerm*fontMenu*font3*Label: Smooth XTerm*fontMenu*font4*Label: Huge XTerm*VT100*font1: nil2 XTerm*VT100*font2: 6x10 XTerm*VT100*font3: *smooth* XTerm*VT100*font4: *sony*24* XTerm*VT100.Translations: #override \n\ ~Shift F23: set-scrollbar(toggle) \n\ ~Shift F27: scroll-back(100,page) \n\ ~Shift R13: scroll-forw(100,page) \n\ ~Shift Meta F29: scroll-back(1,page) \n\ ~Shift Meta F35: scroll-forw(1,page) \n\ ~Shift F29: scroll-back(1,line) \n\ ~Shift F35: scroll-forw(1,line) \n\ ~Shift Insert: insert-selection(PRIMARY, CUT_BUFFER0) \n Shift KP_0: string("0") \n\ The SPARC keycaps are: F23:Scroll/Lock F27:Home (also 7) R13:End (also 1) F29:PgUp (also 9) F35:PgDn (also 3) The result of all this is that with Shift on, the right keypad inserts digits into the xterm, and with Shift off, the keypad controls scrolling. We like it. -Christopher Alex. ______________________________________________________________________________ Christopher North-Keys Unix Systems Analyst erlkonig@gnu.ai.mit.edu Group Talisman ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~