Subject: Re: small wscons.conf enhancement
To: None <>
From: Peter Postma <>
List: tech-userlevel
Date: 12/13/2005 10:35:25
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

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
-.Ar val ,
-.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 .
+.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
+.Sq mouse .
+It defaults to
+.Sq keyboard .
 .Xr wsconsctl 8
 for more information.