=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tput/tput.1,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** src/usr.bin/tput/tput.1 2009/02/09 17:15:44 1.18 --- src/usr.bin/tput/tput.1 2010/09/29 07:44:56 1.19 *************** *** 1,4 **** ! .\" $OpenBSD: tput.1,v 1.18 2009/02/09 17:15:44 jmc Exp $ .\" $NetBSD: tput.1,v 1.4 1994/12/07 08:49:10 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 --- 1,4 ---- ! .\" $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,36 **** .\" .\" @(#)tput.1 8.2 (Berkeley) 3/19/94 .\" ! .Dd $Mdocdate: February 9 2009 $ .Dt TPUT 1 .Os .Sh NAME --- 30,36 ---- .\" .\" @(#)tput.1 8.2 (Berkeley) 3/19/94 .\" ! .Dd $Mdocdate: September 29 2010 $ .Dt TPUT 1 .Os .Sh NAME *************** *** 113,127 **** .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 The exit value of .Nm is based on the last attribute specified. --- 113,119 ---- .Xr terminfo reset sequences). .El ! .Sh EXIT STATUS The exit value of .Nm is based on the last attribute specified. *************** *** 145,150 **** --- 137,150 ---- .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