Add an example on how to change the kernel message colors. This is

illustrative because it shows the use of the '-d' flag and how one can
set multiple variables in the same run of wsconsctl(8).
This commit is contained in:
jmmv 2004-07-30 11:21:16 +00:00
parent fcc698e864
commit 1e4eaac87a
1 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: wsconsctl.8,v 1.13 2004/05/13 16:05:02 wiz Exp $
.\" $NetBSD: wsconsctl.8,v 1.14 2004/07/30 11:21:16 jmmv Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"/
.Dd May 13, 2004
.Dd July 30, 2004
.Dt WSCONSCTL 8
.Os
.Sh NAME
@ -188,6 +188,11 @@ Sets the bell pitch to be 1200, whilst
.Dl wsconsctl -w bell.pitch+=200
.Pp
Adds 200 to the current pitch of the bell.
.Pp
.Dl wsconsctl -d -w msg.kernel.attrs=color,hilit msg.kernel.bg=red msg.kernel.fg=brown
.Pp
Sets the color of kernel messages to brown on red with the highlighting
flag set (becoming yellow on red).
.Sh SEE ALSO
.Xr pckbd 4 ,
.Xr wscons 4 ,