[Pkg-kbd-devel] Re: Ubuntu keyboard/installer plans
Tollef Fog Heen
tfheen at ubuntu.com
Tue Aug 22 17:43:18 UTC 2006
* Anton Zinoviev
| Hi Colin and the others!
|
| On Wed, Jun 21, 2006 at 02:36:02PM +0300, Anton Zinoviev wrote:
| >
| > It is however possible to create for all XkbOptions a small keymap.
| > Then the concatenation of the basic keymap with the keymaps for all
| > XkbOptions produces the necessary keymap. The package
| > console-cyrillic demonstrates this approach and it is easy to use this
| > approach in the installer. As a proof of the concept I will make a
| > simple script that does this.
|
| I've just uploaded a new version of console-setup that contains
| experimental udebs that demonstrate how console-setup can be used in
| the installer. The size of all precompiled keyboards was surprisingly
| small: only 64k (compressed) for all keyboard layouts, variants and
| supported options.
This works quite well, I've found out. It needs a few small fixes to
actually set the keymap properly when run inside d-i:
: tfheen at thosu /tmp/console-setup > svn diff
Index: setupcon
===================================================================
--- setupcon (revisjon 201)
+++ setupcon (arbeidskopi)
@@ -116,7 +116,7 @@
fi
case `readlink /proc/self/fd/2` in
- /dev/tty[0-9]*|/dev/vc/[0-9]*|/dev/console)
+ /dev/tty[0-9]*|/dev/tty|/dev/vc/[0-9]*|/dev/console)
;;
*)
if [ "$VERBOSE_OUTPUT" = yes ]; then
Index: debian/console-setup.postinst
===================================================================
--- debian/console-setup.postinst (revisjon 201)
+++ debian/console-setup.postinst (arbeidskopi)
@@ -136,7 +136,7 @@
# In d-i debhelper doesn't use /etc/init.d scripts :-)
if [ -f /usr/share/console-setup-mini/console-setup.config ]; then
- setupcon
+ setupcon < /dev/tty > /dev/tty 2>/dev/tty
fi
#DEBHELPER#
: tfheen at thosu /tmp/console-setup >
Apart from this, it needs a console-setup-udeb containing kbd_mode,
consolechars and loadkeys, but that's trivial to make.
I'd appreciate if you applied the abovementioned diff as I can't due
to insufficient SVN access.
--
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'
`-
More information about the Pkg-kbd-devel
mailing list