Subject: Re: wscons
To: Andreas Wrede <andreas@planix.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: current-users
Date: 12/05/1999 18:40:39
andreas@planix.com said:
> I have one of the screens defined as  wsdisplay0: screen 5 added
> (80x50bf, vt100 emulation)
> 
> On most boots, this screen shows a broken underscore character in
> place of any character with a blank attribute. All characters, incl
> space show up "back on black". 

That's probably another problem: The X server overwrites the 8x8
font stored in the VGA card. This is fixed in our xsrc tree -
I should have forwarded the fix to the Xfree people perhaps:-(

Don't know how much Xfree version 4 differs from what is in our
tree, perhaps the appended patch helps.

best regards
Matthias


Index: vgaHW.c
===================================================================
RCS file: /cvsroot/xsrc/xc/programs/Xserver/hw/xfree86/vga256/vga/vgaHW.c,v
retrieving revision 1.1.1.6
retrieving revision 1.2
diff -u -r1.1.1.6 -r1.2
--- vgaHW.c	1999/09/01 18:51:20	1.1.1.6
+++ vgaHW.c	1999/09/03 13:41:21	1.2
@@ -93,14 +93,18 @@
 #endif
 
 /* bytes per plane to save for text */
-#if defined(Lynx) || defined(linux) || defined(MINIX) || defined(__QNX__)
+#if defined(Lynx) || defined(linux) || defined(MINIX) || defined(__QNX__) || 
defined(__NetBSD__)
 #define TEXT_AMOUNT 16384
 #else
 #define TEXT_AMOUNT 4096
 #endif
 
 /* bytes per plane to save for font data */
+#if defined(__NetBSD__)
+#define FONT_AMOUNT (8*8192) /* all font slots */
+#else
 #define FONT_AMOUNT 8192
+#endif
 #endif /* !defined(PC98_NEC480) && !defined(PC98_EGC) && !defined(PC98_MGA) */
 
 #if defined(CSRG_BASED) || defined(MACH386) || defined(__GNU__)