[unix-pc.general] what happened to /etc/ttytypes?

upl@gumby.cs.wisc.edu (Undergrad Projects Lab) (06/29/90)

Hi all!

I was looking in my manual recently.  The manual that I have is for the 3.51 OS.
and the tset(1) info makes reference to /etc/ttytypes(5) for which I can find 
neither an actual file nor a page in my manuals.

Am I missing something from my manuals, or is it just not there?  Does anyone
have the format that this file is _supposed_ to take?  I've looked on other 
unix systems that I have access to.  On the three systems I've looked on, none
of them have an /etc/ttytypes file.  The tset(1) man page does note that this
version of tset is for the AT&T Unix PC only, which leads me to believe that
other unix systems would not have the /etc/ttytypes file on them.

I can kludge my way around the use of this file, but it's not as elegant as
I'd like.  If anyone could tell me the format of this file, and/or whether or
not it really makes a difference, it would be appreciated.

Thanks again for all your wonderful assistance!!!

- sparkie
P.S.	Please reply to:
		harier!sparkie@cs.wisc.edu
	and not to this account.  
P.P.S.	Hey, kls@ditka, I didn't put a garbage "Followup-To:" line in this
	post.  However, I don't understand why that was a bad thing to do.
	No flames intended, just asking.

jetfuel@csusac.csus.edu (Dave Jenks) (06/29/90)

In article <4949@daffy.cs.wisc.edu> harier!sparkie@cs.wisc.edu writes:
>I was looking in my manual recently.  The manual that I have is for the 3.51 OS.
>and the tset(1) info makes reference to /etc/ttytypes(5) for which I can find 
>neither an actual file nor a page in my manuals.
>
>Am I missing something from my manuals, or is it just not there?  Does anyone
>have the format that this file is _supposed_ to take?  I've looked on other 
>unix systems that I have access to.  On the three systems I've looked on, none
>of them have an /etc/ttytypes file.

Funny, I was noticing the same thing today!

I wrote another /etc/rc which was a lot cleaner, and remembered a BSD
system (a VAX 11/750 running ULTRIX - a BSD look-alike) that had it.
I looked at the /etc/ttytype file so that I would be creating the "same"
"compatible" format.

A piece of mine looks like this:

pc7300	/dev/w1
pc7300	/dev/w2
tvi925	/dev/tty000
dumb	/dev/ph1

and so on.  The fields are separated by tabs, but maybe spaces would be
safer.  Either way, I haven't noticed any trouble with tset.
-- 
=======================================================================
	    "Pro is to con, as progress is to Congress..."
>>-@@-> Dave Jenks		...!ucbvax!ucdavis!csusac!jetfuel
=======================================================================