=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tty/tty.1,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/tty/tty.1 2000/03/06 03:16:00 1.8 +++ src/usr.bin/tty/tty.1 2000/03/11 21:40:06 1.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tty.1,v 1.8 2000/03/06 03:16:00 aaron Exp $ +.\" $OpenBSD: tty.1,v 1.9 2000/03/11 21:40:06 aaron Exp $ .\" $NetBSD: tty.1,v 1.4 1994/12/07 00:46:55 jtc Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -48,13 +48,16 @@ .Op Fl s .Sh DESCRIPTION The -.Nm tty +.Nm utility writes the name of the terminal attached to standard input to standard output. The name that is written is the string returned by .Xr ttyname 3 . -If the standard input is not a terminal, the message ``not a tty'' +.Pp +If the standard input is not a terminal, the message +.Dq not a tty is written. +.Pp The options are as follows: .Bl -tag -width Ds .It Fl s @@ -67,9 +70,10 @@ command. .El .Pp -.Nm tty -exits 0 if the standard input is a terminal, 1 if the standard input is -not a terminal, or >1 if an error occurred. +The +.Nm +utility exits 0 if the standard input is a terminal, 1 if the standard input +is not a terminal, or >1 if an error occurred. .Sh SEE ALSO .Xr stty 1 , .Xr test 1 , @@ -77,7 +81,7 @@ .Xr tty 4 .Sh STANDARDS The -.Nm tty +.Nm utility conforms to .St -p1003.2-92 . .Sh HISTORY