Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* VT1000 info - summary.
@ 1990-04-23 13:31 System Janitor
  0 siblings, 0 replies; only message in thread
From: System Janitor @ 1990-04-23 13:31 UTC (permalink / raw)


I requested some info recently about vt1000's. I got lots of responses, and
lots of requests to share the info, so here it is, sort of digestified down.
I can't vouch for any of it, 'cause it turns out not to apply to the 
ancient uws 2.0 software I have on my workstation, but I learned from it
(I learned I need to upgrade :-) and it worked for these folks, so it oughta 
work for you... enjoy...

-Mike

-----------------------------------------------------------------------------
From: mellon@fenris.pa.dec.com (Ted Lemon)

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.
-----------------------------------------------------------------------------
From jeff@artud2.ENET.DEC.COM Mon Apr 16 14:22:22 1990

Did you restart the inetd? Find it's pid and do a kill -1 <pid> for it
to reread the /etc/inetd.conf. I am including some quick notes on it.
One thing to remember though, is that if you modify the tftp line in
/etc/inetd.conf to be tftpd, without the -r /<dir> option you are open
to a known security hole. My recommendation is to created the
/tftpboot/vt1000 directory and use symbolic links to get to the fonts
in /usr/lib/X11/fonts/decwin/75dpi and 100dpi. This way your
inetd.conf file can be:

 tftp	dgram	udp	nowait	/usr/etc/tftpd -r /tftpboot

Hope this helps.

Fonts
=====

The documentation, to put it mildly, contains a few errors. First, you must
use UWS 2.2 RISC fonts for the VT1000. UWS 2.1 RISC Fonts will not work.
UWS 2.1 VAX fonts will work if you wish to test clients applications from a
VAX ULTRIX node if you don't have UWS2.2. You only need the fonts, not the
entire UWS 2.2 release running on the client. I did it this way with my
system here. If you do not have UWS 2.2 anywhere, I can make you a font
tape. However,
I will be out of the office until Wednesday of next week.


To start the process:

This font business is documented in "Installing and Using The VT1000
Video Terminal" in Appendix E, "System Manager Tasks", pages 244-248.
On page 246, they have a sample inetd.conf file. This is what mine looks like:

#
# @(#)inetd.conf	4.1.1.4	(ULTRIX)	4/19/88
# Internet server configuration database
#
#echo	stream	tcp	nowait	/etc/miscd	echod
#echo	dgram	udp	wait	/etc/miscd	echod
#discard	stream	tcp	nowait	/etc/miscd	sinkd
#discard	dgram	udp	wait	/etc/miscd	sinkd
systat	stream	tcp	nowait	/etc/miscd	systatd
#systat	dgram	udp	wait	/etc/miscd	systatd
daytime	stream	tcp	nowait	/etc/miscd	daytimed
#daytime	dgram	udp	wait	/etc/miscd	daytimed
quote	stream	tcp	nowait	/etc/miscd	quoted
#quote	dgram	udp	wait	/etc/miscd	quoted
#chargen	stream	tcp	nowait	/etc/miscd	chargend
#chargen	dgram	udp	wait	/etc/miscd	chargend
#ftp	stream	tcp	nowait	/usr/etc/ftpd	ftpd
finger	stream	tcp	nowait	/usr/etc/fingerd	fingerd
#telnet	stream	tcp	nowait	/etc/telnetd	telnetd
ftp	stream	tcp	nowait	/usr/etc/ftpd.gw	ftpd
telnet	stream	tcp	nowait	/usr/etc/telnetd.gw	telnetd
#time	stream	tcp	nowait	/etc/miscd	timed
time	dgram	udp	wait	/etc/miscd	timed
#tftp	dgram	udp	nowait	/usr/etc/tftpd	tftpd -r /tmp
tftp	dgram	udp	nowait	/usr/etc/tftpd	tftpd 
exec	stream	tcp	nowait	/etc/rexecd	rexecd
login	stream	tcp	nowait	/etc/rlogind	rlogind
shell	stream	tcp	nowait	/etc/rshd	rshd
comsat	dgram	udp	wait	/etc/comsat	comsat
talk	dgram	udp	wait	/etc/talkd	talkd
ntalk	dgram	udp	wait	/usr/etc/ntalkd		ntalkd
bootp   dgram   udp     wait    /usr/etc/bootpd     bootpd -i

Note: I could not get this to properly load fonts using tftp -r fontdir.
Basically, I put entire font pathnames in the font.paths file.

On the VT1000, you would put the internet id of the font host plus the path
of the location of the font file (containing listing of all fonts)

i.e. TFTP Font Path | ROM,128.45.52.250:/tftpboot/vt1000/font.paths


The font.paths file has complete pathnames to font files. Only files
that are fonts should be in a font directory or the loading will fail.

To load fonts from VT1000, click on "Apply" and on "Acknowledge" box (just for
good luck with "watch icon" - we're not sure this does anything or not). This
will take 5-7 minutes or so. Click on "Acknowledge" after TFTP Font Path Load
is finished (message will change in message window). While fonts are loading,
the tftpd should be starting and stopping with a new pid each time. If it is 
not doing this, fonts are not loading.

Just ignore our sed script examples in the documentation and use whatever tool
you prefer to get entire pathnames in the font.paths file.

I hope this is helpful.

font.paths (should be world readable):

/tftpboot/vt1000/75dpi/avantgarde_book10.pcf
       ... billions and billions of file names deleted... :-)
/tftpboot/vt1000/75dpi/variable.pcf
------------------------------------------------------------------------
From sandstro@cs.washington.edu Mon Apr 16 18:32:21 1990

I set up a vt1000 here at the University of Washington Department
of Computer Science and Engineering 10 days ago.  The vt1000 hardware
is SN TA 00603547, the documentation is ``Draft Edition 12/27/89''.
In addition to the 36 fonts in ROM, I set up 288 fonts via tftp.
The fonts are on a VAX 3500 in a place where a chrooted tftpd can read.
Here is how I did it, in outline:

I found a directory tree with X11 R4 (the free X software).
I made a directory tree with real directories, but every file a symbolic
link pointing the the X11 R4 software. (with lndir.sh)
Then, in the tree that is 99% links,

I replaced ./mit/fonts with ./contrib/server/pcf/fonts.
I replaced config/ultrix.cf with one that changes FontDefines to be
#define FontDefines -DFONT_BDF -DFONT_PCF -DCOMPRESSED_FONTS
I built the fonts directory.

Then, on a different machine.
I put bdftopcf, dxmkfontdir, and showpcf in my path.
I laid out the .bdf files I wanted to use on the vt1000.
I built .pcf files.
Then, following page 247 of the vt1000 manual (end of Appendix
on Networks and X Windows), I constructed a file ``font.paths''
that contains the full pathnames of the pcf files in the chrooted
file system.  I set the font path to
ROM,128.x.x.x:/vt1000/font.paths
Saved the font info into non-volatile memory, and rebooted.

The tftp font reading is really slow.  One successful boot
took 15 minutes.  Perhaps when the vt1000 becomes a product,
this will be faster.

----------------------------------------------------------------------------
From jcp@decuac.DEC.COM Tue Apr 17 15:32:53 1990

	I have found this business of downloading the fonts to be
pretty tricky. For one thing, you have to make sure that the permission
on all the font files is 444. You may alos have to have world read
permission on the entire path but I have not been able to verify that.
The contents of the font.paths file have to have the correct path also.
So, to download the font paths, you would say something like:

	your.ip.address.here:/tftpboot/vt1000/font.paths

Be sure that the tftpd is enables in /etc.inetd.conf

The font.paths file should contain a list of paths to all the fonts,
something like -

	./100dpi/avant_garde...

If you use a relative path, make sure it will work, otherwise use the
full path name.

If you are only using 100dpi fonts, then edit the 75dpi paths out of
font.paths, to speed up loading (which can take forever if you have
lots of fonts).
------------------------------------------------------------------------------
From alg@wrath.cs.cornell.edu Tue Apr 17 16:16:20 1990

What version of Ultrix, and more specifically, what version of UWS, are you
running.  Between UWS 2.1 and UWS 2.2 DEC decided to completely change the 
font structure.  Font's are no long .snf files in /usr/lib/X11/fonts, instead
they are ".pcf" files or even raw .bdf files.  Given this realitively recent
change, you may have an inconsistency between your DECStation software and
your X terminal.

By the way, what's your impression of the X terminal?  We had one here for
a few days and apparently it was intolerably slow.  If your experience is
different, let me know.
-----------------------------------------------------------------------------
From alg@wrath.cs.cornell.edu Tue Apr 17 17:12:37 1990

We just had a demo for a few days and I wasn't the one who looked at it.  It
was either 2M or 4M I think.  The evaluator decided that a Sun2 was a better X
server and sent the demo back.  He thinks he can get other X terminals that
are better from someone ---- I don't know offhand who he's looking at now.

Boy, if the terminal really barfs on connections to big-endian machines
that sounds like a real problem.  I know we tested it with Suns and Sparcs and
probably Vaxen, but we don't have much else around the dept.

  *** note *** this message is refering to a problem that VT1000's with
               pre V1.2 ROMs have with network byte order...   -Mike
------------------------------------------------------------------------------
From msdc!peter@uunet.UU.NET Tue Apr 17 18:00:12 1990

Well, let's see.  The VT1000 uses 'tftp'.  Is that installed and running
on your system?

Are all files in "/usr/lib/X11/fonts" readable to you?  Are the directory
permissions okay?

Does that directory have the correct files (ala mkfontdir)?  Are the
font files DECwindows fonts (*.dwf files)?  The terminal will only use
DECwindows fonts.  *.snf files from the X11 release probably won't work.

Check to make sure that none of these potential problems apply to you,
and let me know.  Can you provide the specific error message it gives
you?

-------------------------------------------------------------------------------
From andy%jhunix.hcf.jhu.edu@jhunix.hcf.jhu.edu Tue Apr 17 22:17:31 1990

I had to set up my Ultrix system for a VT1000 test too.  Here's what worked:

enable TFTP copy/link *.dwf in the 100dpi and 75dpi dirs into vt1000/100dpi
and vt1000/75dpi dirs in your TFTP directory.  The tree should look like:

$ls -CFR vt1000
100dpi/		75dpi/		font.paths

vt1000/100dpi:
avantgarde_book10.dwf			newcenturyschlbk_bolditalic8.dwf
avantgarde_book12.dwf			newcenturyschlbk_italic10.dwf
-------------------------------------------------------------------------------
From hoyt@bessie.ENET.DEC.COM Mon Apr 16 15:55:59 1990

Step 1. vi /etc/inetd.conf and make the following changes 
	
	a. remove the # in fromt of the line for tftp

	b. edit the line for tftp to read 
 tftp    dgram   udp     wait    /usr/etc/tftpd tftpd -r  
/usr/lib/X11/fonts/decwin  

	c. remove the # in front of the line bootp 

	d. the line should look like the one below

	 bootp   dgram   udp     wait    /usr/etc/bootpd     bootpd -i

Step 2. Next create  or edit the file /usr/etc/bootptab

	add the following line 

vt1000 1 08:00:2b:12:d6:bf 16.72.0.38 /usr/lib/X11/fonts/decwin/font.paths

Step 3. Next you need to create the file font.paths

	a.  cd /usr/lib/X11/fonts/decwin
	
	b. type in one of the following comands depending on version
	   of uws.
	 
	  1. for uws v2.1 
		a. cd /usr/lib/dwf

		b. find 75dpi 100dpi -name ".dwf" -print > font.paths

	  2. for uws 2.2

		a. cd /usr/lib/X11/fonts/decwin

		b. find 75dpi 100dpi -name ".pcf" -print > font.paths

	NOTE make sure that your font path file is world read

Step 4.

	Kill off the inetd process and restart it this will
	make it use the changes in inetd.conf.


	
Step 5.  On the vt1000 seclect the font path... under the pull down
	from customize menu.

	Now select tftp font path
	next edit the line tftp font path ROM,
	to read ROM,xx.xx.xx.xx:font.paths (were xx.xx.xx.xx is hosts
						tcp/ip address)
	next select apply

	You will get a message box on the screen it will tell you
	it loading the fonts and that this will take about 7 mins.
	the pointer will turn to the clock style. After about 11 mins
	on mkunix the vt1000 will come back and tell you that the
	font path was set and the number of fonts in the path.

This is what we did here.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1990-04-23 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1990-04-23 13:31 VT1000 info - summary System Janitor

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