PWB1/usr/man/man1/tty.1

Compare this file to the similar file:
Show the results in this format:

.th TTY I 5/31/77
.sh NAME
tty \*- get terminal name
.sh SYNOPSIS
.bd tty
.sh DESCRIPTION
.it Tty
gives the name of the user's terminal
in the form `tty\fIn\fR' for
\fIn\fR
a digit or letter.  The actual path
name is then `/dev/tty\fIn\fR'.
.sh DIAGNOSTICS
`not a tty' if the standard input file is not a terminal.