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

Bug#242787: termwrap: [PATCH] use console-cyrrilic if available for KOI8-U



Package: base-config
Version: 2.17
Severity: normal
Followup-For: Bug #242787

  Please apply this additional patch. It adds possibility to use
console-cyrillic if it is available for KOI8-U.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=uk_UA, LC_CTYPE=uk_UA

Versions of packages base-config depends on:
ii  adduser                 3.52             Add and remove users and groups
ii  apt                     0.5.24           Advanced front-end for dpkg
ii  aptitude                0.2.14.1-2       curses-based apt frontend
ii  bsdutils                1:2.12-6         Basic utilities from 4.4BSD-Lite
ii  console-data            2002.12.04dbs-35 Keymaps, fonts, charset maps, fall
ii  console-tools           1:0.2.3dbs-50    Linux console and font utilities
ii  debconf                 1.4.21           Debian configuration management sy
ii  debianutils             2.8.1            Miscellaneous utilities specific t
ii  gettext-base            0.14.1-2         GNU Internationalization utilities
ii  passwd                  1:4.0.3-26       Change and administer password and

-- debconf information excluded
? termwrap-devfs.diff
? termwrap-koi8u.diff
? termwrap-ukr-cyr.diff
Index: termwrap
===================================================================
RCS file: /cvsroot/base-config/base-config/termwrap,v
retrieving revision 1.34
diff -u -r1.34 termwrap
--- termwrap	8 Apr 2004 21:06:01 -0000	1.34
+++ termwrap	9 Apr 2004 18:15:25 -0000
@@ -255,7 +255,11 @@
 	;;
 KOI8-U)
 	# Load KOU8-U charset mapping into console
-	try_load_charset "$ENCODING" koi8u koi8u_8x16
+	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
 	;;
 eucJP|EUC-JP)
 	# Japanese

Reply to: