Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: craig@n8ino.MV.COM (R. Craig Peterson )
Subject: Re: vt1000
Date: 21 Apr 90 01:39:36 GMT	[thread overview]
Message-ID: <426@n8ino.UUCP> (raw)
In-Reply-To: MELLON.90Apr17125218@fenris.pa.dec.com

(I read through my answer - maybe I over did it...  Oh well...)

In article <MELLON.90Apr17125218@fenris.pa.dec.com> mellon@fenris.pa.dec.com (Ted Lemon) writes:
>Mike <hubcap@hubcap.clemson.edu> sez:
>>I assumed, after reading the documentation, that a reasonable font path
>>would be my.DECstation's.IP.address:/usr/lib/X11/fonts, or some 
>>combination thereof.

>Actually, what you need to do is the following:

>On your Ultrix machine, type

>cd /usr/lib/X11/fonts/decwin
>find . -name "*.pcf" -print >fonts.path

>and then set your font path to yourhostaddress:/usr/lib/X11/fonts/fonts.path.

>I seem to recall that I was able to find this in the documentation,
>but it took me a while...   BTW, I don't believe that VT1000 version
>1.0 ROMS work properly with TCP/IP - I upgraded my VT1000 to version
>1.1 before I got it to work.   I believe that the ROM version is shown
>in the Upper Left Corner of the VT1000 session manager window.

The release number is shown in the upper left corner of the Terminal
Manager window.  Release 1.0 ROMs didn't have any TCP problems that
I'm aware of.  The font code was a little more "finickey" in that
release if there were problems with the font file, server host, or
font configuration, but it still should work...

>			       _MelloN_

The setting of font paths has been clarified/corrected in the release
documentation.  This should be available from your DEC sales rep.
The current manual section which explains the setting
of the font paths has a couple of errors in it (unfortunately).

There are a number of considerations when you are creating a font
path file.

	1) First - since you are using TFTP to read the fonts you
	   must decide if you want to use a restricted version or
	   not.  This is a security consideration & is determined
	   by your level of facism.

	2) Secondly you will need to decide which fonts you will
	   actually be using.  The parsing of the font file & the
	   loading of these files takes time.  The fewer font
	   files you have, the quicker your start up.

You need to make sure that you have a line in your /etc/inetd.conf
file enabling the tftpd.  Typically this line is commented out 
(with a # in column 1).

This font path file is a file containing the fully qualified path
names of the font files you want to use.  Each file name must be
the name of a .dwf (.snf), or .pcf file.  Currently if you have a
line which does not contain the name of a valid font file you
will cause the load procedure to fail (at least partially).  The
format of this file allows you to service fonts to the VT1000 from
any operating system since the fully qualified names need not be
in a UNIX file format.  It could easily take VMS, MS-DOS, OS/2,
MVS, etc.  (Did _I_ type those names? :-()

If you've decided that you don't want to open up your system to
the world you're going to have to use a tftpd that restricts
access to files.  The standard ultrix tftpd has such an option (-r),
as does sun's (-s).

This "security" option causes the tftp daemon to do a chroot call
to the directory specified before it opens up a file.  This will
help to prevent possible security problems.

If you use such an option you will need to make sure that the
font path that you set in the customize menu is relative to the
directory specified & used by the chroot os call.  For example
if you use /tftpboot as your restricted directory, and your
font.paths file is /tftpboot/vt1000/font.paths, you would
specify /vt1000/font.paths as the font path name in the customize
font paths window.

Using the restricted option in this example, and assuming that
you had a subdirectory called 75dpi in the vt1000 directory, and
also assuming that you had a font called variable.pcf in said
directory, your font.paths file would contain the following line:
	/vt1000/75dpi/variable.pcf

This, of course, is also assuming that you wanted to use variable.pcf :-)
It also assumes that you have the necessary fonts in that directory.
Remember that once the chroot call has occurred, symbolic links
underneath that directory structure will no longer be applicable
if they point outside of the restricted directory tree.  The
aforementioned .pcf files can be generated using DEC's font compiler,
or by using the pcf compiler that is on the X11R4 release tape.

If you wern't using the restricted option on tftpd, you would
specify the entire path name.  To create a font.paths directory
on a UWS 2.2 machine, you might do the following:

	cd /usr/lib/X11/fonts/decwin
	find /usr/lib/X11/fonts/decwin -name "*.pcf" -print >fonts.path

and then set your font path in customize to:

ROM,your_font_servers_ip_address:/usr/lib/X11/fonts/decwin/fonts.path

Remember, each line contain a _fully_ qualified path name for each
font file.

If you would like to use your version of fonts instead of those
built into ROM, specify ROM last.
-- 
R. Craig Peterson (N8INO)
decvax!n8ino!craig	craig@n8ino.MV.COM


  parent reply	other threads:[~1990-04-21  1:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-04-16 14:57 vt1000 System Janitor
1990-04-17 19:52 ` vt1000 Ted Lemon
1990-04-18 15:01   ` vt1000 System Janitor
1990-04-21  1:39   ` R. Craig Peterson  [this message]
  -- strict thread matches above, loose matches on Subject: below --
1990-12-10 22:15 VT1000 Rich Wernick
1990-12-11  0:26 ` VT1000 Charles C. Allen
1990-12-11 17:52   ` VT1000 Jon Geld
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox