🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #25078

xolors, X.V10R4 - minor bug about default font name

#25078
From: jmsellens
Date: Wed, 11 Mar 1987 06:10
15 lines
1171 bytes
If your .Xdefaults doesn't specify a default font, xcolors won't work
since it clobbers the DEFAULT_FONT name in fontname.  This, from about
line 82, will fix it.

  border_color = XGetDefault(argv[0],"BorderColor");
  back_color = XGetDefault(argv[0],"Background");
  fore_color = XGetDefault(argv[0],"Highlight");
  fontname = XGetDefault(argv[0],"BodyFont");
#ifdef waterloo
  /* in case no default font is specified in .Xdefaults file */
  if ( fontname == (char *)0 ) fontname = DEFAULT_FONT;
#endif

  for (i = 1; i < argc; i++) {
    if (argv[i][0] == '=') {
Technical Details
Message-ID: <8703110610.AA03301@watdragon.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!watdragon.waterloo.edu!jmsellens

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!watdragon.waterloo.edu!jmsellens
From: jmsellens@watdragon.waterloo.edu.UUCP
Newsgroups: comp.windows.x
Subject: xolors, X.V10R4 - minor bug about default font name
Message-ID: <8703110610.AA03301@watdragon.uucp>
Date: Wed, 11-Mar-87 01:10:36 EST
Article-I.D.: watdrago.8703110610.AA03301
Posted: Wed Mar 11 01:10:36 1987
Date-Received: Thu, 12-Mar-87 22:38:17 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 15