From 1e4eaac87a11f266f5d455e661859ea6b9780dc5 Mon Sep 17 00:00:00 2001 From: jmmv Date: Fri, 30 Jul 2004 11:21:16 +0000 Subject: [PATCH] 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). --- sbin/wsconsctl/wsconsctl.8 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sbin/wsconsctl/wsconsctl.8 b/sbin/wsconsctl/wsconsctl.8 index e4c7b9f5c155..00eadbeeb6ed 100644 --- a/sbin/wsconsctl/wsconsctl.8 +++ b/sbin/wsconsctl/wsconsctl.8 @@ -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 ,