[Pkg-kbd-devel] Bug#421390: kbd: init script calls unicode_start without specifying the font

Mattia mattia.list at quipo.it
Sat Apr 28 15:22:48 UTC 2007


Package: kbd
Version: 1.12-17
Severity: normal


Hi,
at line 170 of /etc/init.d/console-screen.kbd.sh you call unicode_start
in this way:
unicode_start < /dev/tty? > /dev/tty?
without specifying the font. Without this option unicode_start will load
a default font.
I think that the right way should be:
unicode_start ${CONSOLE_FONT} < /dev/tty? > /dev/tty?
since ${CONSOLE_FONT} contains the font chosen by the user.

I'm not a debian developer nor a guru, I just tried this thing and it
works. I don't know if it will break something else.

Regards,
Mattia

*** /tmp/console-screen.kbd.sh.patch
--- console-screen.kbd.sh	2006-09-05 22:32:22.000000000 +0200
+++ console-screen.kbd.sh_OK	2007-04-28 16:41:24.000000000 +0200
@@ -167,7 +167,7 @@
     fi
     for vc in $LIST_CONSOLES
     do
-        $action < ${DEVICE_PREFIX}$vc > ${DEVICE_PREFIX}$vc 2> /dev/null || true
+        $action ${CONSOLE_FONT} < ${DEVICE_PREFIX}$vc > ${DEVICE_PREFIX}$vc 2> /dev/null || true
     done
 
     # screensaver stuff


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.7--bymattia
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kbd depends on:
ii  console-common                0.7.69     Basic infrastructure for text cons
ii  libc6                         2.5-4      GNU C Library: Shared libraries
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip

Versions of packages kbd recommends:
ii  console-data                  2:1.01-7   Keymaps, fonts, charset maps, fall

-- no debconf information




More information about the Pkg-kbd-devel mailing list