special terminal interface
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 wish 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 when it
is tiresome to find out what terminal is currently in use.
The general terminal interface is described in
tty is conformant with:
ISO/IEC DIS 99452:1992, Information technology Portable Operating System Interface (POSIX) Part 2: Shell and Utilities (IEEE Std 1003.21992);
AT&T SVID Issue 2.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003