home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 16006 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!gatech!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: mahan@TGV.COM (Patrick L. Mahan)
  4. Subject: RE: want generic resource to override specific application resource
  5. Message-ID: <920901114203.254000cc@TGV.COM>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Organization: The Internet
  8. Date: Tue, 1 Sep 1992 18:42:03 GMT
  9. Lines: 31
  10.  
  11. #
  12. #  i have the following in my .Xresource (that i load with xrdb):
  13. #
  14. #    *vt100.translations:#override Meta<KeyPress>: string(0x1b) insert()
  15. #
  16. #  however, while this works on the dec, it doesn't work on the hp
  17. #  unless i place a leading "xterm" on the line.  on the hp,
  18. #  /usr/lib/X11/app-defaults/XTerm has:
  19. #
  20. #    XTerm*VT100.Translations:#override Meta<KeyPress>: insert-seven-bit()
  21. #
  22. #  what do i need to do to get the translations listed initially to work on
  23. #  the hp?  i appreciate your taking a moment to answer.
  24. #
  25.  
  26. Bill, let me correct my last reply to you.  The above works correctly since
  27. it fullfills the first matching rull on resources.  XTerm*VT100... is more
  28. specific than *vt100.  To override it you will need to change your resource
  29. to xterm*vt100.translations:... so that the second rule will then take effect
  30. which means that instances overrides class resources.
  31.  
  32. This was pointed out to me by Donnna Converse.  Thanks to her for the 
  33. correction.
  34.  
  35. Patrick L. Mahan
  36.  
  37. --- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
  38.  
  39. Waking a person unnecessarily should not be considered  - Lazarus Long
  40. a capital crime.  For a first offense, that is            From the Notebooks of
  41.                               Lazarus Long
  42.