From: "Florian v. Savigny" <lorian@fsavigny.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Kernel update messed up console encoding
Date: Mon, 02 Mar 2009 02:01:12 +0100 [thread overview]
Message-ID: <0ML25U-1LdwWu02kc-0006UX@mrelayeu.kundenserver.de> (raw)
In-Reply-To: <goe06g$7d6$1@ger.gmane.org> (message from Nikos Chantziaras on Sun, 01 Mar 2009 14:48:22 +0200)
Hi Nikos,
> Maybe the commands "unicode_start" and "unicode_stop" might help.
Bull's eye! "unicode_stop" reverses the behavior completely to what
the old kernel did.
I looked inside; both are actually shell scripts; unicode_stop is very
simple:
kbd_mode -a
if test -t ; then
echo -n -e '\033%@'
fi
unicode_start does a little more (also change the keyboard mapping and
choose a unicode font), but it also contains
kbd_mode -u
and
if test -t 1 -a -t 2 ; then
echo -n -e '\033%G'
fi
So the escape sequences are 'ESC % @' and 'ESC % G'. Thanks very much
for this collaborate effort!
Simultaneously, the unnamed user (sorry, I just forgot to ask whether
he minds being named or not) told me to try the kernel parameter
"vt.default_utf8=0", and that does the trick as well. So the smoothest
workaround will now be putting that into lilo.conf (yes, I know, I'm
hopelessly old-fashioned - old encodings, old bootloaders ... ;-)).
I think I'll continue on a kernel list to figure out what kernel
2.6.27 does differently from 2.6.17, and why (and whether that
behaviour cannot be changed with a compile-time option). I think that
part is really not a gentoo-specific question. But I'll report here
when I get the result!
Best regards!
Florian
next prev parent reply other threads:[~2009-03-02 1:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-27 17:29 [gentoo-user] Kernel update messed up console encoding Florian v. Savigny
2009-02-27 21:05 ` Sebastian Günther
2009-02-28 10:34 ` Florian v. Savigny
2009-02-28 11:34 ` Eray Aslan
2009-02-28 14:26 ` Sebastian Günther
2009-02-28 17:38 ` Florian v. Savigny
2009-02-28 18:48 ` Sebastian Günther
2009-03-01 9:36 ` Florian v. Savigny
2009-03-01 10:30 ` [gentoo-user] " Nikos Chantziaras
2009-03-01 12:25 ` Florian v. Savigny
2009-03-01 12:48 ` Nikos Chantziaras
2009-03-02 1:01 ` Florian v. Savigny [this message]
2009-03-02 11:29 ` Nikos Chantziaras
2009-03-02 12:51 ` Florian v. Savigny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0ML25U-1LdwWu02kc-0006UX@mrelayeu.kundenserver.de \
--to=lorian@fsavigny.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox