.SS "Ancient History"
There used to be a file
.I /etc/ttys
-in Unix V6, that was read by the
+in UNIX V6, that was read by the
.BR init (8)
program to find out what to do with each terminal line.
Each line consisted of three characters.
A hang on some line was solved by changing the \(aq1\(aq to a \(aq0\(aq,
signaling init, changing back again, and signaling init again.
.LP
-In Unix V7 the format was changed: here the second character
+In UNIX V7 the format was changed: here the second character
was the argument to
.BR getty (8)
indicating the sequence of line speeds to try (\(aq0\(aq was: cycle through
If successful, this function returns the slot number.
On error (e.g., if none of the file descriptors 0, 1 or 2 is
associated with a terminal that occurs in this data base)
-it returns 0 on Unix V6 and V7 and BSD-like systems,
+it returns 0 on UNIX V6 and V7 and BSD-like systems,
but \-1 on System V-like systems.
.SH "CONFORMING TO"
SUSv1; marked as LEGACY in SUSv2; removed in POSIX.1-2001.
.IR fttyslot ( fd ).
.\" .SH HISTORY
.\" .BR ttyslot ()
-.\" appeared in Unix V7.
+.\" appeared in UNIX V7.
.SH "SEE ALSO"
.BR getttyent (3),
.BR ttyname (3),