SUMMARY: XWindow font path question

From: Danny Lee (del@nabaus.com.au)
Date: Thu Sep 05 1996 - 18:15:39 CDT


Hello Sun-managers,
        I received a couple of replies to my question. The answer I was
looking for was the command:
        xset +ftp tcp/host:<port>

Thanks to:

        Stanislav Protassov
        Kevin Davidson

Original Question:
++++++++++++++++++

Subject: XWindow font path question
Hello Sun-gurus,

        Once again I'll have to dip into this font of knowledge....

I'm currently using CDE on my workstation and am just wanting to know
how I could point it to a font server in our network. Is it just a
simple task of updating the FONT_PATH environment variable? If so, what
would be the appropriate syntax? I've RTFM'ed the Solaris Sys Admin
Answerbook, however, to no avail.

I'll summarise.

Thanks heaps,
        Danny

Responses:
++++++++++

Subject:
           Re: XWindow font path question
      Date:
           Tue, 03 Sep 1996 16:15:11 +0800
      From:
           Stanislav Protassov <st@sw.org.sg>
Organization:
           S&W Pte Ltd.
        To:
           Danny Lee <del@nabaus.com.au>
  References:
           1

Danny Lee wrote:
>
> Hello Sun-gurus,
>
> Once again I'll have to dip into this font of knowledge....
>
> I'm currently using CDE on my workstation and am just wanting to know
> how I could point it to a font server in our network. Is it just a
> simple task of updating the FONT_PATH environment variable? If so, what
> would be the appropriate syntax? I've RTFM'ed the Solaris Sys Admin
> Answerbook, however, to no avail.
>
xset +fp _host_name_:7100
xset fp rehash
where _host_name_ is the name of font server and 7100 - default port
number.
If you are going always use this font server, than
/usr/openwin/demo/fpadd first _host_name_:7100
see man fpadd for more details

-- 
Best regards,
Stanislav Protassov
---------------------------------------------------------
Of course there's no reason for it, it's just our policy.

Subject: Re: XWindow font path question Date: Tue, 3 Sep 1996 09:58:34 +0100 From: Kevin Davidson <tkld@cogsci.ed.ac.uk> To: Danny Lee <del@nabaus.com.au>

>>>>> Danny Lee <del@nabaus.com.au> writes: del> Hello Sun-gurus, del> Once again I'll have to dip into this font of knowledge....

del> I'm currently using CDE on my workstation and am just wanting to know del> how I could point it to a font server in our network. Is it just a del> simple task of updating the FONT_PATH environment variable? If so, what del> would be the appropriate syntax? I've RTFM'ed the Solaris Sys Admin del> Answerbook, however, to no avail.

Use this file as a model for your /etc/dt/config/Xsession.d/0075.fonts script. The fontserver is tcp/<host>:<port>

#!/bin/ksh # Append CogSci local fonts to end of fontpath # Only use fontserver for Xterminals

case "${DISPLAY}" in :*|unix:*) xset fp+ /usr/local/lib/X11/fonts/misc ;; *) xset fp+ tcp/knox:7000 esac

-- Danny Lee Phone: (03) 9208 5812 National Australia Bank Fax: (03) 9208 5023 1/216 Victoria Parade, East Melbourne E-mail: del@nabaus.com.au Victoria, Australia 3002



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:09 CDT