HP-UX Reference (11i v2 07/12) - 7 Device (Special) Files, 9 General Information, Index (vol 10)
t
tty(7) tty(7)
NAME
tty - controlling terminal interface
DESCRIPTION
The file /dev/tty is, in each process, a synonym for the control terminal associated with the process
group of that process, if any. It is useful for programs or shell sequences that need to be sure of writing
messages on the terminal no matter how output has been redirected. It can also be used for programs that
demand the name of a file for output, when typed output is desired, and it is tiresome to find out what ter-
minal is currently in use.
FILES
/dev/tty
/dev/tty*
SEE ALSO
termio(7).
STANDARDS CONFORMANCE
tty: AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1
218 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: December 2007 Update