Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!mstar!mstar.morningstar.com!bob From: bob@MorningStar.Com (Bob Sutterfield) Newsgroups: comp.windows.x Subject: Re: X11R4 xterm font trick Message-ID: Date: 13 Jul 90 14:01:08 GMT References: <1990Jul9.183820.9023@smsc.sony.com> <18030@ultima.cs.uts.oz> Sender: usenet@MorningStar.COM (USENET Administrator) Reply-To: bob@MorningStar.Com (Bob Sutterfield) Organization: Morning Star Technologies Lines: 41 In-Reply-To: keane@ultima.cs.uts.oz's message of 12 Jul 90 22:58:04 GMT In article <18030@ultima.cs.uts.oz> keane@ultima.cs.uts.oz (Chris Keane) writes: Ah, but how to I change these default fonts to what *I* want? I tried setting (what I think) are the appropriate resources, but no go :-( I'm sure it could be specified in a prettier way, but this works fine for me: XTerm*fontMenu.Label: VT Fonts XTerm*fontMenu*fontdefault*Label: Default Xterm*fontMenu*fontdefault: 9x15 XTerm*fontMenu*font1*Label: Tiny XTerm*VT100*font1: nil2 XTerm*fontMenu*font2*Label: 12 Point XTerm*VT100*font2: -*-lucidatypewriter-medium-*-*-*-*-120-*-*-*-*-*-* XTerm*fontMenu*font3*Label: 14 Point XTerm*VT100*font3: -*-lucidatypewriter-medium-*-*-*-*-140-*-*-*-*-*-* XTerm*fontMenu*font4*Label: 18 Point XTerm*VT100*font4: -*-lucidatypewriter-medium-*-*-*-*-180-*-*-*-*-*-* XTerm*fontMenu*fontescape*Label: Escape Sequence XTerm*fontMenu*fontsel*Label: Selection XTerm*font: -*-lucidatypewriter-medium-*-*-*-*-120-*-*-*-*-*-* (and now for the odd part:) XTerm*allowSendEvents: true XTerm*VT100.Translations: #override \n\ F1: set-vt-font(1) set-scrollbar(toggle) \n\ F2: set-vt-font(2) set-scrollbar(toggle) \n\ F3: set-vt-font(3) set-scrollbar(toggle) \n\ F4: set-vt-font(4) set-scrollbar(toggle) \n\ F5: set-scrollbar(toggle) \n\ L7: set-vt-font(1) set-scrollbar(toggle) keymap(unicon) XTerm*VT100.uniconKeymap.Translations: #override \n\ L7: set-scrollbar(toggle) set-vt-font(2) keymap(None) My window manager (gwm) can send key events upon request, so when I hit a box in left end of the title stripe, the xterm window uses the tiny font and loses its scrollbar. It looks and feels just like the "active icons" of yore.