oops forgot to attach the patch.

On Tuesday 28 October 2003 20:14, Andrey Borzenkov wrote:
> Any reason for duplicating code from mandrake_consmap except because it
> hapens during RH merge :)?
>
> cheers
>
> -andrey
--- /tmp/etc/profile.d/10lang.sh	2003-09-24 18:30:11.000000000 +0400
+++ /etc/profile.d/10lang.sh	2003-10-28 20:12:03.637746456 +0300
@@ -68,7 +68,6 @@
     [ -n "$_XKB_CHARSET" ] && export _XKB_CHARSET || unset _XKB_CHARSET
 
     [ -f /etc/init.d/mandrake_consmap ] && . /etc/init.d/mandrake_consmap
-
     unset SYSFONTACM SYSFONT
 
     # handling of special cases where localization is done
@@ -82,32 +81,6 @@
 	[ "$CONSOLE_NOT_LOCALIZED" = "yes" ] && LANGUAGE=C
     fi
     
-    if [ -n "$CHARSET" ]; then
-	case $CHARSET in
-	    8859-1|8859-2|8859-5|8859-15|koi*)
-                if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then
-                       echo -n -e '\033(K' 2>/dev/null > /proc/$$/fd/0
-                fi
-                ;;
-        esac
-    elif [ -n "$SYSFONTACM" ]; then
-	case $SYSFONTACM in
-	    iso01*|iso02*|iso05*|iso15*|koi*|latin2-ucw*)
-		if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then
-			echo -n -e '\033(K' 2>/dev/null > /proc/$$/fd/0
-		fi
-		;;
-	esac
-    fi
-    if [ -n "$LANG" ]; then
-      case $LANG in
-    	*.utf8*|*.UTF-8*)
-    	if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then
-		unicode_start $SYSFONT $SYSFONTACM
-        fi
-	;;
-      esac
-    fi
     [ -n "$LANGUAGE" ] && export LANGUAGE
 
 fi

Reply via email to