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

Bug#137547: modconf: [PATCH] screen not cleared properly in bterm



#include <hallo.h>
David Kimdon wrote on Sat Mar 09, 2002 um 04:15:25PM:

>      readonly bold=''
> -    readonly clear=''
> +    if echo $LC_CTYPE | grep "utf-8" >/dev/null 2>&1 ; then
> +        readonly clear=''
> +    else
> +        readonly clear=''
> +    fi

I tried a slightly modified version, did not help.

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/10 12:53:27
@@ -9,7 +9,11 @@
     readonly norm=`tput sgr0`
 else
     readonly bold=''
-    readonly clear=''
+    if echo $LC_CTYPE$LC_MESSAGES | grep -i "utf.8" >/dev/null 2>&1 ; then
+       readonly clear='^[[H^[[2J'
+    else
+       readonly clear='^[[H^[[J'
+    fi
     readonly norm=''
 fi
 

-- 
In /etc steht, was Du denkst. In /proc steht, was das OS denkt.
Lutz Donnerhacke in doc



Reply to: