home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21654 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.7 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!asuvax!ncar!noao!arizona!naucse!.cse.nau.edu
  2. From: jdc@.cse.nau.edu (John Campbell)
  3. Newsgroups: comp.windows.x
  4. Subject: xterm key mapping
  5. Message-ID: <6365@naucse.cse.nau.edu>
  6. Date: 27 Jan 93 23:37:14 GMT
  7. Sender: news@naucse.cse.nau.edu
  8. Organization: Northern Arizona University, Flagstaff AZ
  9. Lines: 28
  10. Nntp-Posting-Host: kendrick.cse.nau.edu
  11. Originator: jdc@kendrick.cse.nau.edu
  12.  
  13. I'm frustrated.  I've read and reread the xterm man page on my Sun 4.1.3
  14. system (we run OpenWindows 3) trying to figure out what to do about the
  15. key mappings.  I'm looking for VT100 keys PF1, PF2, PF3 and especially
  16. PF4 (to use with the VMS EVE editor).  I'm pretty sure the default
  17. key mapping doesn't have these defined.
  18.  
  19. So, I thought I'd define them.  But I've run into a confusion because
  20. I don't know what, excatly, a "resource" is or how to set the X toolkit
  21. keymap() resource.  Probably, for this group, this is a trivial question,
  22. but could someone, offline, send me mail and tell me how to do this
  23. with xterm on a Sun?  I played with .Xdefaults and the example in
  24. the xterm man page to no avail.  Is this where I start?  
  25.  
  26. Here's the example from the man page, by the way:
  27.  
  28. VT100.Translations: #override <Key>F13: keymap(dbx)
  29.          *VT100.dbxKeymap.translations: \
  30.               <Key>F14: keymap(None) \n\
  31.               <Key>F17: string("next") string(0x0d) \n\
  32.               <Key>F18: string("step") string(0x0d) \n\
  33.               <Key>F19: string("continue") string(0x0d) \n\
  34.               <Key>F20: string("print ") insert-selection(PRIMARY, CUT_BUFFER0)
  35.  
  36. Thanks!
  37.  
  38. -- 
  39.     John Campbell               John.Campbell@nau.edu
  40.         jdc@sunset.cse.nau.edu      JDC@NAUVAX.UCC.NAU.EDU
  41.