diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-29 07:44:58 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-29 07:44:58 +0000 |
commit | 18c92fc2ba01e7464165f7c02fc5f8293a01f3c3 (patch) | |
tree | faae964424026b841a6c49d080a14bda723340e8 /usr.bin/tput/tput.1 | |
parent | 65f9632b4ba1bbfe0de5347d964c4c6640fe1c0f (diff) |
various EXIT STATUS fixes; from Daniel Dickman
Diffstat (limited to 'usr.bin/tput/tput.1')
-rw-r--r-- | usr.bin/tput/tput.1 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/tput/tput.1 b/usr.bin/tput/tput.1 index ee603e6d6e1..3d75298dd43 100644 --- a/usr.bin/tput/tput.1 +++ b/usr.bin/tput/tput.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tput.1,v 1.18 2009/02/09 17:15:44 jmc Exp $ +.\" $OpenBSD: tput.1,v 1.19 2010/09/29 07:44:56 jmc Exp $ .\" $NetBSD: tput.1,v 1.4 1994/12/07 08:49:10 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)tput.1 8.2 (Berkeley) 3/19/94 .\" -.Dd $Mdocdate: February 9 2009 $ +.Dd $Mdocdate: September 29 2010 $ .Dt TPUT 1 .Os .Sh NAME @@ -113,15 +113,7 @@ Reset the terminal (using the .Xr terminfo reset sequences). .El -.Sh EXAMPLES -.Bl -tag -width "tput cup 6 11 dch 6" -compact -.It Li "tput clear cup 5 10" -clear the screen and goto line 5 column 10 -.Pp -.It Li "tput cup 6 11 dch 6" -goto line 6 column 11 and delete 6 characters -.El -.Sh DIAGNOSTICS +.Sh EXIT STATUS The exit value of .Nm is based on the last attribute specified. @@ -145,6 +137,14 @@ If the attribute is of type boolean, .Nm exits with a value of 0 if the terminal has this attribute or 1 if it does not. +.Sh EXAMPLES +.Bl -tag -width "tput cup 6 11 dch 6" -compact +.It Li "tput clear cup 5 10" +clear the screen and goto line 5 column 10 +.Pp +.It Li "tput cup 6 11 dch 6" +goto line 6 column 11 and delete 6 characters +.El .Sh SEE ALSO .Xr terminfo 3 , .Xr terminfo 5 |