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

Bug#271147: termwrap doesn't work correctly with KOI8-U and serial console



tags 271147 + patch
thanks

Anton Zinoviev написав:
> 
> This bug is not that termwrap doesn't work for KOI8-U on serial console
> (look at #271145).  It is that it should not invoke /usr/bin/cyr on
> serial console.
> 
> Anton Zinoviev
> 
I propose to not use console-cyrillic for console setup for koi8-u,
patch attached.

-- 
Eugeniy Meshcheryakov

Kyiv National Taras Shevchenko University
Information and Computing Centre
http://icc.univ.kiev.ua
Index: termwrap
===================================================================
--- termwrap	(revision 1257)
+++ termwrap	(working copy)
@@ -302,11 +302,7 @@
 	;;
 KOI8-U)
 	# Load KOU8-U charset mapping into console
-	if [ -x /usr/bin/cyr ]; then
-		/usr/bin/cyr -s uni -f 16 -e koi8-u ua_ms ctrl_shift_toggle
-	else
-		try_load_charset "$ENCODING" koi8u koi8u_8x16
-	fi
+	try_load_charset "$ENCODING" koi8u ruscii_8x16
 	;;
 CP1251)
 	# Load CP1251 charset mapping into console

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: