Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!milano!cadillac!harp From: harp@cadillac.Berkeley.EDU (Christopher North-Keys) Newsgroups: comp.windows.x Subject: X11R4 xterm twists: PageUp/PageDown, Sun4 Numeric/Keypad, etc. Message-ID: <9915@cadillac.CAD.MCC.COM> Date: 21 Jul 90 22:58:55 GMT References: <1990Jul9.183820.9023@smsc.sony.com> <18030@ultima.cs.uts.oz> <1990Jul13.144439.24066@smsc.sony.com> Sender: news@cadillac.CAD.MCC.COM Reply-To: harp@cadillac.Berkeley.EDU (Christopher North-Keys) Lines: 52 The KP_0/Insert lines are the trick to using the Keypad with a Sun type-4 keyboard --- without this trick, hitting the Insert/KP0 key will always do an insert, regardless of shift being down. The other translations allow the use of the PageUp/PageDown/Home/End keys. Question: Xterm has several obnoxious bugs(?) in the selection mechanism. Firstly, it maps long wrapped lines incorrectly, so that using cut/paste will include a spurious newline where the wrap was. Secondly, it maps tabs into spaces erroneously. Thirdly, is stupidly maps a literal control-E into the characters "^" and "E". All of these serious interfere with cut and paste. Any solutions? I want to paste what I *entered*, you see, not what the damn think takes it in mind to *display*. ("Much appreciated!" and all that :-) ! ! generic xterm characteristics ! XTerm*name: xterm XTerm*menuFont: *charter-medium-*-15-* XTerm*reverseVideo: true XTerm*reverseWrap: true 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*bold* 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 KP_0: string("0") \n\ ~Shift Insert: insert-selection(PRIMARY, CUT_BUFFER0) \n ! ______________________________________________________________________________ Christopher North-Keys Assoc. Systems Analyst Group Talisman Harp[@Mcc.Com] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~