Bug#592690: localechooser: the Hurd console has display level 3 capability
Package: localechooser
Version: 2.27
Tags: patch
Usertags: gsoc2010
Hello,
The Hurd console supports all the display level 3 languages, thanks to
its neat dynamic VGA font support. The attached patch enables using this
functionnality by setting level 3 for it in localechooser.
Thanks,
--
Jeremie Koenig <jk@jk.fr.eu.org>
http://jk.fr.eu.org
Index: localechooser/debian/changelog
===================================================================
--- localechooser/debian/changelog (revision 64302)
+++ localechooser/debian/changelog (working copy)
@@ -1,11 +1,15 @@
localechooser (2.28) UNRELEASED; urgency=low
+ [ Christian Perrier ]
* Add commented entry for Serbian (Latin)
* Re-activate Serbian and name it "Serbian (Cyrillic)"
* Activate Telugu
- -- Christian Perrier <bubulle@debian.org> Thu, 15 Jul 2010 07:08:43 +0200
+ [ Jeremie Koenig ]
+ * Set display level 3 for the Hurd console (closes: #<please fill-in>)
+ -- Jeremie Koenig <jk@jk.fr.eu.org> Fri, 23 Jul 2010 06:21:49 +0000
+
localechooser (2.27) unstable; urgency=low
* Activate Persian language
Index: localechooser/localechooser
===================================================================
--- localechooser/localechooser (revision 64302)
+++ localechooser/localechooser (working copy)
@@ -67,6 +67,10 @@
else
level=1
fi
+ # The hurd text-mode console has decent charset support
+ if [ "$TERM" = "hurd" ]; then
+ level=3
+ fi
# ASCII only if we are on serial console, dumb or cons25 terminal
# Both variables should already be set at init time
if [ "$TERM_TYPE" = "serial" ] || [ "$TERM" = "dumb" ] || [ "$TERM" = "cons25" ]; then
Reply to: