Subject: Re: small wscons.conf enhancement
To: None <tech-userlevel@NetBSD.org>
From: Peter Postma <peter@pointless.nl>
List: tech-userlevel
Date: 12/13/2005 10:35:25
--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Dec 13, 2005 at 02:04:46AM +0100, Hubert Feyrer wrote:
> On Tue, 13 Dec 2005, Peter Postma wrote:
> >>I have a big objection: your patch doesn't include a patch for the
> >>manpage!
> >
> >The commit will :-)
> 
> It's generally a good thing to include documentation when sending patches 
> for review/comments. Or how do you plan to get docs reviewed?
> 

Yes but this is so trivial.. writing the manpage update toke even more
time than writing the code itself. :-) Anyway, I've attached it.

-- 
Peter Postma

--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="wscons.diff"

Index: wscons.conf.5
===================================================================
RCS file: /cvsroot/src/share/man/man5/wscons.conf.5,v
retrieving revision 1.13
diff -u -r1.13 wscons.conf.5
--- wscons.conf.5	21 Aug 2004 17:04:54 -0000	1.13
+++ wscons.conf.5	13 Dec 2005 09:34:44 -0000
@@ -127,13 +127,19 @@
 .Xr wsconscfg 8
 for more information.
 .
-.It Sy setvar Ar var Ns = Ns Ar val
-Set wscons variable
-.Ar var
-to
-.Ar val ,
-using
-.Dq Li "wsconsctl -w var=val" .
+.It Sy setvar Ar part Ar var Ns = Ns Ar val
+Set wscons system driver variables by using
+.Xr wsconsctl 8 .
+The
+.Ar part
+argument is optional and can be used to indicate which portion of
+the device should be selected, this can be either
+.Sq keyboard ,
+.Sq display
+or
+.Sq mouse .
+It defaults to
+.Sq keyboard .
 See
 .Xr wsconsctl 8
 for more information.

--EVF5PPMfhYS0aIcm--