Bug#242787: termwrap: [INTL:uk] patch for KOU8-U support in text mode console
Package: base-config
Version: 2.17
Severity: wishlist
Tags: patch l10n
Attached patch adds support for KOI8-U to termwrap.
There is no need to use fbterm 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
Index: termwrap
===================================================================
RCS file: /cvsroot/base-config/base-config/termwrap,v
retrieving revision 1.32
diff -u -r1.32 termwrap
--- termwrap 31 Mar 2004 01:21:12 -0000 1.32
+++ termwrap 8 Apr 2004 18:32:44 -0000
@@ -253,6 +253,10 @@
# Load ISO-8859-15 charset mapping into console
try_load_charset "$ENCODING" iso15 lat0-sun16
;;
+KOI8-U)
+ # Load KOU8-U charset mapping into console
+ try_load_charset "$ENCODING" koi8u koi8u_8x16
+ ;;
eucJP|EUC-JP)
# Japanese
case $TERMINAL in
@@ -323,7 +327,7 @@
# Fallback to C
case $ENCODING in
- ISO-8859-1|ISO-8859-2|ISO-8859-13|ISO-8859-15|KOI8-R)
+ ISO-8859-1|ISO-8859-2|ISO-8859-13|ISO-8859-15|KOI8-R|KOI8-U)
# Nothing to do
;;
*)
@@ -336,7 +340,7 @@
$@
case $ENCODING in
-ISO-8859-1|KOI8-R)
+ISO-8859-1|KOI8-R|KOI8-U)
# Nothing to do, using default config
;;
ISO-8859-2)
Reply to: