Re: Installing XFSTT on HAMM
Thanks for the insight everyone!
I take it that the slink version doesn't require any library changes to work (like
some of the stuff post BO upgrade. (I just upgraded last week so I have not
figured everything - or much of anything - out yet :).
I have always used the version of programs that are included in the current
release. Can I use dselect to load/install the slink version? I think I saw
something about dselect being replaced in slink... Let me know if there is
anything special I need to do to install it. Without any alternate directions, I
would use dselect to remove xfstt (hamm version) and them use dselect to find &
load the slink version.
<more below>
Stephen J. Carpenter wrote:
> On Sat, Aug 15, 1998 at 11:48:16PM -0400, Noel Yap wrote:
> > The xfstt package that comes with hamm is very minimalistic in terms of
> > documentation and user setup.
>
> yes it is...thats one of the main reasons I took over maintenance of it
>
> > You might be better off installing the
> > more up-to-date package in slink, which more-or-less takes care of
> > everything for you. Anyway, here's a brief description of what you need
> > to do:
> >
> > 1. Put all your .ttf fonts into /var/ttfonts.
>
> I just want to note...that in the latest slink version This has changed
> (just a fore-warning)
>
So if I load the slink version do I need to do this or is the font directory
changed for this release. I assume the .ttf files are binary so I will need to
transfer them as such.
> > 2. Create an xfstt startup script in /etc/init.d and corresponding
> > symlinks in /etc/rc?.d.
>
> make the script named xfstt ....the do
> update-rc.d xfstt defaults
> to make the sym links
>
> > 3. Edit your /etc/X11/XF86Config so that it has 'FontPath "unix/:7100"'
> > in Section "Files".
> >
> > The hardest part is step 2, but the latest package in slink should take
> > care of that for you.
>
> sigh yes...most of th emost recent bug reports were for that damned init.d
> script....I have included the CURRENT init.d script below for any hamm users
> who want it...this is the on eused in slink
>
> NOTE you will need to change XF86Config to use the line
> Fontpath "unix/:7101"
> OR edit this script (port 7101 is PREFERED since it does NOT conflict with
> xfs )
>
So bottom line is I should:1. Load the slink package.
2. Copy my .ttf files to the font directory/var/ttfonts
3. Move the xfstt script below to my /etc/inet.d directory.
4. Edit my XF86Config file to include Fontpath "unix/:7101" ... Do I need to
remove the other Font Stuff already in the file?
I will give this a try tonight when I get home. Please let me know if I need to
do anything special I missed above.
Thanks for all of the help!
Doug
> ---------- /etc/init.d/xfstt ------------
> #!/bin/sh
> #
> # Start or stop xfstt
> # by Stephen Carpenter <sjc@debian.org>
> #
> # Tue, 7 Jul 1998 01:42:32 -0400
>
> XFSTT="/usr/X11R6/bin/xfstt"
>
> # Change this to change the default port
> portno=7101
>
> test -x "$XFSTT" || exit 0
>
> case "$1" in
> start)
> test -r "/var/run/xfstt.pid" && { echo "xfstt already running" >&2 &&
> ex
> it 0 ; }
> echo -n "Starting X TrueType Font Server: xfstt"
> $XFSTT --port $portno &
> echo "."
> ;;
>
> stop)
> test -r "/var/run/xfstt.pid" || { echo "xfstt not running" >&2 && exit
> 0
> ; }
> echo -n "Stopping X TrueType Font Server: xfstt"
> kill `cat /var/run/xfstt.pid`
> echo "."
> ;;
>
> force-reload|restart)
> $0 stop
> $XFSTT --sync
> $0 start
> ;;
>
> *)
> echo "Usage: /etc/init.d/xfstt {start|stop|force-reload|restart}" >&2
> exit 1
> ;;
> esac
>
> exit 0
>
> ------------end-------------
>
> -Steve
>
> --
> /* -- Stephen Carpenter <sjc@delphi.com> --- <sjc@debian.org>------------ */
> E-mail "Bumper Stickers":
> "A FREE America or a Drug-Free America: You can't have both!"
> "honk if you Love Linux"
>
> ------------------------------------------------------------------------
>
> Part 1.2 Type: application/pgp-signature
Reply to: