V7M/man/man1/tty.1

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

.TH TTY 1 
.SH NAME
tty \- get terminal name
.SH SYNOPSIS
.B tty
.SH DESCRIPTION
.I Tty
prints the pathname of the user's terminal.
.SH DIAGNOSTICS
`not a tty' if the standard input file is not a terminal.