Package: modconf
Version: 0.2.43
Severity: important
Tags: patch

Hi,

When running in a bterm on boot-floppies (i18n disks) modconf doesn't
clear the screen.  This leaves characters randomly on the screen.  At
times it makes it difficult to see what is going on.

Thanks to Thomas Poindessous we know what we need to do to get the
screen to clear properly.  I've tested the patch below and it makes
modconf in i18n boot-floppies look much better.

Talking with dancerj on debian-boot:

<dancerj> if [ "x$TERM" = "xbterm" ]; then 
<dancerj> would be a better condition.

We also discussed :
<dancerj> I guess setting "+        readonly clear='^[[H^[[2J'"
unconditionally would work

Perhaps y'all have some more thoughts on the subject?

-David


Index: modules/params
===================================================================
RCS file: /cvs/debian-boot/modconf/modules/params,v
retrieving revision 1.6
diff -u -r1.6 params
--- modules/params      2001/12/20 08:37:04     1.6
+++ modules/params      2002/03/09 23:49:40
@@ -9,7 +9,11 @@
     readonly norm=`tput sgr0`
 else
     readonly bold=''
-    readonly clear=''
+    if echo $LC_CTYPE | grep "utf-8" >/dev/null 2>&1 ; then
+        readonly clear=''
+    else
+        readonly clear=''
+    fi
     readonly norm=''
 fi
 
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux oink 2.4.9 #1 Mon Sep 24 12:10:45 PDT 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages modconf depends on:
ii  modutils                      2.4.13-3   Linux module utilities.
pn  whiptail-provider | whiptail             Not found.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to