Subject: Re: xfs?
To: None <rhawkins@iastate.edu>
From: Scott Ellis <scotte@warped.com>
List: port-mac68k
Date: 04/17/1997 17:22:32
In "Re: xfs?", rhawkins@iastate.edu (Rick Hawkins) wrote: 
> 
> 
> > A good solution to this is to run xfs (X Font Server), and point the
> > X server at xfs for teh fonts.  This allows xfs to handle the rendering
> > of fonts, etc, and all the server does is request a specific font, and
> > then wait for it to be delivered.  If you can run xfs on a different
> > machine, this helps a LOT..but even on the same system, it can
> > aid in the responsiveness quite a bit.
> 
> can you give us another hint here? :) 
> 
> how do we "point," and how do we automatically launch xfs?


I almost replied with 'rtfm', but thought better of it. ;-)

Anyhow..just run xfm before xdm (or startx).  I run xfs, and then xdm in
rc.local.

You'll need to configure xfs..so create a file /usr/X11/lib/X11/fs/config,
whose contents are along the lines of:

client-limit = 10
clone-self = on
catalogue = /usr/X11R6/lib/X11/fonts/100dpi,
/usr/X11R6/lib/X11/fonts/75dpi, /usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1, /usr/X11R6/lib/X11/fonts/Speedo
default-point-size = 120
default-resolutions = 100,100,75,75
use-syslog = off
port = 7100

Now, instead of passing a normal path to the X server for fonts, tell it to
use the xfs.  Something like:

/usr/X11/bin/X -fp tcp/localhost:7100

That should be enough to get you on the right track.


-- 
   //////////////////////////////////////////////////////////////////////
  //    Scott Ellis     //   scotte@warped.com   //   sellis@gi.com   //
 //////////////////////////////////////////////////////////////////////
// WARNING: This signature warps  time and space in its vicinity    //