Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Rename REALWHITE to SNOWWHITE.



details:   https://anonhg.NetBSD.org/src/rev/9a906a85360d
branches:  trunk
changeset: 581068:9a906a85360d
user:      martin <martin%NetBSD.org@localhost>
date:      Mon May 23 09:44:57 2005 +0000

description:
Rename REALWHITE to SNOWWHITE.
While there, add LIGHT versions of the other predefined colours as well.

diffstat:

 sys/arch/sparc64/conf/GENERIC32 |   6 +++---
 sys/dev/wscons/wsdisplayvar.h   |  11 +++++++++--
 2 files changed, 12 insertions(+), 5 deletions(-)

diffs (50 lines):

diff -r e00c334aa14e -r 9a906a85360d sys/arch/sparc64/conf/GENERIC32
--- a/sys/arch/sparc64/conf/GENERIC32   Mon May 23 08:03:25 2005 +0000
+++ b/sys/arch/sparc64/conf/GENERIC32   Mon May 23 09:44:57 2005 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: GENERIC32,v 1.103 2005/05/22 20:17:09 martin Exp $
+#      $NetBSD: GENERIC32,v 1.104 2005/05/23 09:44:57 martin Exp $
 
 include "arch/sparc64/conf/std.sparc64"
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.103 $"
+#ident                 "GENERIC-$Revision: 1.104 $"
 
 maxusers       64
 
@@ -799,7 +799,7 @@
 # sun console as possible
 options        WSEMUL_SUN              # sun terminal emulation
 options        WS_DEFAULT_FG=WSCOL_BLACK
-options        WS_DEFAULT_BG=WSCOL_REALWHITE
+options        WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
 options        WSDISPLAY_COMPAT_USL            # VT handling
 options        WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
 options        WSDISPLAY_DEFAULTSCREENS=4
diff -r e00c334aa14e -r 9a906a85360d sys/dev/wscons/wsdisplayvar.h
--- a/sys/dev/wscons/wsdisplayvar.h     Mon May 23 08:03:25 2005 +0000
+++ b/sys/dev/wscons/wsdisplayvar.h     Mon May 23 09:44:57 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsdisplayvar.h,v 1.31 2005/05/22 20:16:08 martin Exp $ */
+/* $NetBSD: wsdisplayvar.h,v 1.32 2005/05/23 09:44:57 martin Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -66,7 +66,14 @@
 #define WSCOL_MAGENTA  5
 #define WSCOL_CYAN     6
 #define WSCOL_WHITE    7
-#define WSCOL_REALWHITE        (WSCOL_WHITE+8)
+#define WSCOL_LIGHT_GREY       (WSCOL_BLACK+8)
+#define WSCOL_LIGHT_RED                (WSCOL_RED+8)
+#define WSCOL_LIGHT_GREEN      (WSCOL_GREEN+8)
+#define WSCOL_LIGHT_BROWN      (WSCOL_BROWN+8)
+#define WSCOL_LIGHT_BLUE       (WSCOL_BLUE+8)
+#define WSCOL_LIGHT_MAGENTA    (WSCOL_MAGENTA+8)
+#define WSCOL_LIGHT_CYAN       (WSCOL_CYAN+8)
+#define WSCOL_LIGHT_WHITE      (WSCOL_WHITE+8)
 /* flag values: */
 #define WSATTR_REVERSE 1
 #define WSATTR_HILIT   2



Home | Main Index | Thread Index | Old Index