client-limit = 10 clone-self = on catalogue = /your/first/directory/with/russian/fonts, /your/second/directory/with/russian/fonts, /your/last/directory/with/russian/fonts
% xfs -config .fsconfig -port 7171 &
% xset fp+ tcp/your.host.name:7171
When you are working on a console, you can add new fonts just by adding the fontpaths with xset fp+ command. For an X terminal this is not possible becase it doesn't have a disk where you can put the fonts. An X terminal receives a standard set of fonts from a server ate the boot time and stores them in it's memory. You cannot add new fonts to the standard set unless you have administrative permissions on your site.
X window system provides an alternative to loading fonts from a local disk---the X font server, xfs. Xfs runs on a workstation and does a very simple job: it reads fonts from the disk and sends them to an X server running on an X terminal. The client-server terminology becomes confusing in this context: X server is a client of xfs!
It is a good option to use the fonts server(s) for all fonts except a handful of "emergency" fonts. This way you will save the memory on X terminal by not keeping unused fonts in RAM.
Now we can start explaning the magic.
% xfs -config .fsconfig -port 7171 &tells your workstation to start xfs in the background which will use the configuration file .fsconfig and listen on the port 7171. We suggest 7171 as a variant of the default (RFC 1700) port 7100 (the later is likely to be in use already, or you may upset your sysadm by using it), but you can use any other available port.
% xset fp+ tcp/your.host.name:7171tells the X server (which runs on the X terminal) to add your font server to the list of font sources. your.host.name is the internet address the workstation running xfs. Sometimes an X terminal cannot do the name translation correctly, try the numeric address in dot notation instead (e.g. 18.159.0.42 instead of prep.ai.mit.edu). You can find the numeric address by typing nslookup your.host.name.
Test xfs and xset separately. To test xfs, login to the workstation from the console and try to use the fontserver. To test xset, use xset q and try to run xset from the terminal's console or from telenet/rlogin session.
Last modified: Wed Feb 5 09:04:27 EST 1997