[6744] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: vax 7.2P: xset fp default

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sat Dec 29 22:17:12 1990

To: Bruce R Lewis <brlewis@ATHENA.MIT.EDU>
Cc: bugs@ATHENA.MIT.EDU
In-Reply-To: [6728] in Athena Bugs
Reply-To: marc@MIT.EDU
Date: Sat, 29 Dec 90 22:16:59 EST
From: Marc Horowitz <marc@ATHENA.MIT.EDU>

>> 	I should get more useful fonts.  There is some very
>> 	considerate courseware out there that is nice enough to reset
>> 	the font path to default after it is done messing with it.  In

xset fp default is not the right way to do this.  I set a custom font
path, and I would be unhappy if this "considerate courseware" blew it
away for me.  The right thing to do is for the courseware to do an
XGetFontPath before it sets its own font path (by appending, I hope)
and an XSetFontPath to restore it when the program exits.  It
shouldn't be difficult to write a small X program to store the font
path in a shell variable while the program is running and to restore
it when the program exits.  You could even do it with clever use of
xset and awk, I think.

		Marc

home help back first fref pref prev next nref lref last post