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