shithub: riscv

Download patch

ref: 7e1b43a53a6089b2f01aef8a176abb922a2400d0
parent: 79e8f53e89d83805784bd2a8832cddc4bc0de608
author: aap <aap@papnet.eu>
date: Fri Jan 17 14:15:24 EST 2014

Corrected some man pages.

--- a/sys/man/2/graphics
+++ b/sys/man/2/graphics
@@ -368,14 +368,10 @@
 .I label
 are as in
 .IR initdraw ;
-.I mousedir
-and
 .I windir
-are the directories holding the
-.B mouse
-and
+is the directory holding the
 .B winname
-files; and
+file; and
 .I ref
 specifies the refresh function to be used to create the window, if running under
 .IR rio (1)
--- a/sys/man/3/draw
+++ b/sys/man/3/draw
@@ -40,6 +40,8 @@
 channel format
 of the image,
 the
+replicate bit,
+the
 .BR min.x ,
 .BR min.y ,
 .BR max.x ,
@@ -70,7 +72,7 @@
 Via the 
 .B ctl
 and
-.B draw 
+.B data 
 files, the
 .I draw
 device provides access to 
--- a/sys/man/6/image
+++ b/sys/man/6/image
@@ -57,8 +57,8 @@
 .I d
 contiguous bits in a byte, with the pixel's high order bit
 starting at the byte's bit number
-.if t \fIw\fP\(mu(\fIx\fP mod (8/\fIw\fP)),
-.if n w*(x mod (8/w)),
+.if t \fId\fP\(mu(\fIx\fP mod (8/\fId\fP)),
+.if n d*(x mod (8/d)),
 where bits within a byte are numbered 0 to 7 from the
 high order to the low order bit.
 Rows contain integral number of bytes, so there may be some unused
--