.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.