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

Bug#256766: base-config: Wrong consolefont? Seeing ae ligature instead of line drawing chars



* Christian Perrier [2004-06-29 14:13:07+0200]
> Quoting Karl Hegbloom (hegbloom@pdx.edu):
> 
> > It's the sarge netinst snapshot from 2004/06/28, US English.
> > 
> > > Which kernel ? 2.4 or 2.6 ?
> > 
> > 2.6.  I notice that the d-i CD uses 2.6.5, but the base-installer put in
> > 2.6.6-1-386.
> 
> Uh....
> 
> My last test in such conditions (sarge_d-i, 2.6, en_US) was OK. This
> was with the 20040623 sarge_di image.
> 
> sid_d-i image do *not* have these display problems but I thought we
> have dealt with it in sarge_d-i.

Sadly speaking, I was able to reproduce (and fixed) this bug again.  
Here is the exact test info:

Environment: VmWare
Platform:    i386
Kernel:      2.6.6
Locale:      en_US
Image:       sarge_netinst
Date:        2004/06/28

Also note that there was no such problem with the 2.4 kernel (which 
probably explains why we've overlooked this issue).  I strongly guess 
that this bug will be resolved with the new framebuffer fixes of 2.6.7, 
but we shouldn't rely on it and always _explicitly_ switch the 
consolefont upon invoking the termwrap for safety.

Please apply the attached patch and test it.  I've tested it with both 
kernels.  It fixes the problem with kernel 2.6 and doesn't produce any 
side-effect with kernel 2.4.  I feel guilty that I've missed this issue 
by not checking the new state of base-config after the r1065 commit :-(

Regards,

-- 
roktas
diff -ruN base-config.orig/debian/changelog base-config/debian/changelog
--- base-config.orig/debian/changelog	2004-06-29 03:09:01.000000000 +0300
+++ base-config/debian/changelog	2004-06-29 16:59:25.000000000 +0300
@@ -1,5 +1,8 @@
-base-config (2.33) UNRELEASED; urgency=low
+base-config (2.33) unstable; urgency=high
 
+  * Recai Oktas
+    - Fix the revisited line drawing problem with the kernel 2.6 which
+      deserves a high urgency. Closes: #256766
   * Joey Hess
     - Correct inverted logic in debconf-seed. Closes: #256078
       Thanks, Martin Orr
diff -ruN base-config.orig/termwrap base-config/termwrap
--- base-config.orig/termwrap	2004-06-26 13:53:48.000000000 +0300
+++ base-config/termwrap	2004-06-29 16:40:12.000000000 +0300
@@ -254,10 +254,13 @@
 	unset LANG
 	unset LOCALE
 	unset ENCODING
+
+	# Linux console sucks, always load ISO-8859-1 charset mapping
+	try_load_charset "C" iso01 lat0-sun16
 	;;
 ISO-8859-1)
-	# Supported by Linux console and xterm by default
-	:
+	# Linux console sucks, always load ISO-8859-1 charset mapping
+	try_load_charset "$ENCODING" iso01 lat0-sun16
 	;;
 ISO-8859-2)
 	# Load ISO-8859-2 charset mapping into console

Attachment: signature.asc
Description: Digital signature


Reply to: