reassign 283788 console-common 0.7.69
found 283788 0.7.71
tag 283788 +patch
thanks
Hello,
going through my old bug reports I noticed this bug no longer exists in
/etc/init.d/console-screen.sh, but still in /etc/init.d/keymap.sh.
I suggest to set CHARMAP in keymap.sh in the same way as it's done in
console-screen.sh. Find below a patch that does so.
Best regards
Uwe
--- /etc/init.d/keymap.sh 2006-10-16 05:38:03.000000000 +0200
+++ /etc/init.d/keymap.sh 2007-11-21 08:56:44.629645534 +0100
@@ -62,12 +62,7 @@
[ -r /etc/default/locale ] && ENV_FILE="/etc/default/locale"
[ $ENV_FILE = none ] && return
- for var in LANG LC_ALL LC_CTYPE; do
- value=$(egrep "^[^#]*${var}=" $ENV_FILE | tail -n1 | cut -d=
-f2)
- eval $var=$value
- done
-
- CHARMAP=`LANG=$LANG LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE locale charmap`
+ CHARMAP=$(set -a && . "$ENV_FILE" && locale charmap)
if [ "$CHARMAP" = "UTF-8" ]; then
unicode_start 2> /dev/null || true
else
--
Uwe Kleine-König
<script>alert("This is a virus for Outlook")</script>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]