On Wed, 2 Feb 2000, Timothy Metz wrote: tm> SuSE Friends, tm> tm> I wrote a sysinit script for /sbin/init.d/ that starts and stops xfstt (the ttf tm> font server). There is no easy way to quit xfstt (ie xfstt -q or xfstt -x) so I tm> pipe ps to grep, write a temp file, read it into a couple variables then tm> kill $pid. The problem is xfstt spawns itself for every connection to the font tm> server and someitimes when dropping a runlevel there may be more than one tm> instance of xfstt running. I do not know how to read in the variables of tm> mulitple processes. I know it really isn't necessary to start and stop xfstt in tm> the runlevels but it has been an excellent excersise in shell programming. Any tm> help would be greatly appreciated. The script is attatched. tm> I've got one on my webpage that may help you, its based on the format used by the rest of the /sbin/init.d routines. Just add the following to your /etc/rc.config file # This allows you to use TrueType Fonts within X, programs # that will benefit from this are Netscape, Gimp and Java # based applications. XFSTT_START="yes" and add the routine to your /sbin/init.d directory. I'm still working on a good way to turn it off by making it add and removethe directory on he fly with xset, but don't like the outcome so far. tm> Tim tm> tm> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.3+ - Kernel 2.2.14 The first time, it's a KLUDGE! The second, a trick. Later, it's a well-established technique! -- Mike Broido, Intermetrics -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/