summaryrefslogtreecommitdiff
path: root/share/man/man4/wsdisplay.4
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-08-28 22:09:50 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-08-28 22:09:50 +0000
commitc2689998539f2fda2e788b00a1ae075cef0ba7f7 (patch)
tree39011d6ad1656a042364c9bbdc646292bbfbb405 /share/man/man4/wsdisplay.4
parent615a8710cea5da5b47105f79d08883bc686741ba (diff)
some WSDISPLAYIO_* -> WSDISPLAY_* fixes and a grammar tweak;
from Tim van der Molen ok miod
Diffstat (limited to 'share/man/man4/wsdisplay.4')
-rw-r--r--share/man/man4/wsdisplay.430
1 files changed, 15 insertions, 15 deletions
diff --git a/share/man/man4/wsdisplay.4 b/share/man/man4/wsdisplay.4
index dfa9b6d836c..f45bfa08f45 100644
--- a/share/man/man4/wsdisplay.4
+++ b/share/man/man4/wsdisplay.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wsdisplay.4,v 1.45 2009/04/26 13:10:20 tobias Exp $
+.\" $OpenBSD: wsdisplay.4,v 1.46 2010/08/28 22:09:49 jmc Exp $
.\" $NetBSD: wsdisplay.4,v 1.5 2000/05/13 15:22:19 mycroft Exp $
.\"
.\" Copyright (c) 2005, Miodrag Vallat.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 26 2009 $
+.Dd $Mdocdate: August 28 2010 $
.Dt WSDISPLAY 4
.Os
.Sh NAME
@@ -141,7 +141,7 @@ The following
calls are provided by the
.Nm
driver or by devices which use it.
-Their definition are found in
+Their definitions are found in
.Aq Pa dev/wscons/wsconsio.h .
.Bl -tag -width 4n
.It Dv WSDISPLAYIO_GTYPE Pq Li u_int
@@ -284,18 +284,18 @@ The
member indicates which of the values the application requires to be returned.
It should contain the logical OR of the following flags:
.Bl -tag -width 4n
-.It Dv WSDISPLAYIO_CURSOR_DOCUR
+.It Dv WSDISPLAY_CURSOR_DOCUR
Get
.Va enable ,
which indicates whether the cursor is currently displayed (non-zero) or
not (zero).
-.It Dv WSDISPLAYIO_CURSOR_DOPOS
+.It Dv WSDISPLAY_CURSOR_DOPOS
Get
.Va pos ,
which indicates the current position of the cursor on the display, as
would be returned by
.Dv WSDISPLAYIO_GCURPOS .
-.It Dv WSDISPLAYIO_CURSOR_DOHOT
+.It Dv WSDISPLAY_CURSOR_DOHOT
Get
.Va hot ,
which indicates the location of the
@@ -304,7 +304,7 @@ within the cursor.
This is the point on the cursor whose position on the display is treated
as being the position of the cursor by other calls.
Its location is counted in pixels from the top-left corner of the cursor.
-.It Dv WSDISPLAYIO_CURSOR_DOCMAP
+.It Dv WSDISPLAY_CURSOR_DOCMAP
Get
.Va cmap ,
which indicates the current cursor color map.
@@ -324,7 +324,7 @@ and
.Va cmap . Ns Va blue
must each point to at least enough space to hold two
.Li u_char Ns s .
-.It Dv WSDISPLAYIO_CURSOR_DOSHAPE
+.It Dv WSDISPLAY_CURSOR_DOSHAPE
Get
.Va size , image ,
and
@@ -334,7 +334,7 @@ bitmap of set pixels in the cursor and the bitmap of opaque pixels in
the cursor.
The format in which these bitmaps are returned, and hence the amount of
space that must be provided by the application, are device-dependent.
-.It Dv WSDISPLAYIO_CURSOR_DOALL
+.It Dv WSDISPLAY_CURSOR_DOALL
Get all of the above.
.El
.Pp
@@ -354,22 +354,22 @@ The
member specifies which attributes of the cursor are to be changed.
It should contain the logical OR of the following flags:
.Bl -tag -width 4n
-.It Dv WSDISPLAYIO_CURSOR_DOCUR
+.It Dv WSDISPLAY_CURSOR_DOCUR
If
.Va enable
is zero, hide the cursor.
Otherwise, display it.
-.It Dv WSDISPLAYIO_CURSOR_DOPOS
+.It Dv WSDISPLAY_CURSOR_DOPOS
Set the cursor's position on the display to
.Va pos ,
the same as
.Dv WSDISPLAYIO_SCURPOS .
-.It Dv WSDISPLAYIO_CURSOR_DOHOT
+.It Dv WSDISPLAY_CURSOR_DOHOT
Set the
.Dq hot spot
of the cursor, as defined above, to
.Va hot .
-.It Dv WSDISPLAYIO_CURSOR_DOCMAP
+.It Dv WSDISPLAY_CURSOR_DOCMAP
Set some or all of the cursor color map based on
.Va cmap .
The
@@ -383,12 +383,12 @@ indicate which color map entries to set, and the entries themselves come from
.Va cmap . Ns Va green ,
and
.Va cmap . Ns Va blue .
-.It Dv WSDISPLAYIO_CURSOR_DOSHAPE
+.It Dv WSDISPLAY_CURSOR_DOSHAPE
Set the cursor shape from
.Va size , image ,
.Va mask .
See above for their meanings.
-.It Dv WSDISPLAYIO_CURSOR_DOALL
+.It Dv WSDISPLAY_CURSOR_DOALL
Do all of the above.
.El
.Pp