2 .\" Copyright 1989 AT&T
3 .\" Copyright (C) 1999, Sun Microsystems, Inc. All Rights Reserved
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH TTY 7D "Jul 3, 1990"
9 tty \- controlling terminal interface
13 The file \fB/dev/tty\fR is, in each process, a synonym for the control terminal
14 associated with the process group of that process, if any. It is useful for
15 programs or shell sequences that wish to be sure of writing messages on the
16 terminal no matter how output has been redirected. It can also be used for
17 programs that demand the name of a file for output, when typed output is
18 desired and it is tiresome to find out what terminal is currently in use.
29 \fBports\fR(8), \fBconsole\fR(7D)