From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,565fff1b8d94c55c X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,565fff1b8d94c55c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1990-04-20 18:39:36 PST Path: gmdzi!unido!mcsun!uunet!ogicse!uwm.edu!rpi!zaphod.mps.ohio-state.edu!mips!daver!ditka!zinn!ubbs-nh!n8ino!craig From: craig@n8ino.MV.COM (R. Craig Peterson ) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: Re: vt1000 Message-ID: <426@n8ino.UUCP> Date: 21 Apr 90 01:39:36 GMT References: <8737@hubcap.clemson.edu> Reply-To: craig@n8ino.MV.COM (R. Craig Peterson (n8ino)) Organization: Mainstream, Merrimack, NH Xref: gmdzi comp.unix.ultrix:2713 comp.sys.dec:2321 Posted: Sat Apr 21 02:39:36 1990 (I read through my answer - maybe I over did it... Oh well...) In article mellon@fenris.pa.dec.com (Ted Lemon) writes: >Mike 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