From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LdwWy-0002Ay-I8 for garchives@archives.gentoo.org; Mon, 02 Mar 2009 01:01:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 285FCE01DB; Mon, 2 Mar 2009 01:01:13 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by pigeon.gentoo.org (Postfix) with ESMTP id DD8DBE01DB for ; Mon, 2 Mar 2009 01:01:12 +0000 (UTC) Received: from bertrandrussell.teuto37.teuto.37.de (dslb-088-078-031-216.pools.arcor-ip.net [88.78.31.216]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1LdwWu02kc-0006UX; Mon, 02 Mar 2009 02:01:12 +0100 From: "Florian v. Savigny" To: gentoo-user@lists.gentoo.org In-reply-to: (message from Nikos Chantziaras on Sun, 01 Mar 2009 14:48:22 +0200) Subject: Re: [gentoo-user] Re: Kernel update messed up console encoding References: <0MKv1o-1Ld6WW1EfT-000DMF@mrelayeu.kundenserver.de> <20090227210537.GA10044@marvin.heimnetz.local> <0ML21M-1LdMWh49My-00067l@mrelayeu.kundenserver.de> <20090228142648.GB20212@marvin.heimnetz.local> <0ML2xA-1LdT9M2LrY-0006L9@mrelayeu.kundenserver.de> <20090228184805.GA7841@marvin.heimnetz.local> <0ML21M-1Ldi5r2mAw-00066S@mrelayeu.kundenserver.de> <0ML2xA-1LdkjN38jj-0006GL@mrelayeu.kundenserver.de> Message-Id: <0ML25U-1LdwWu02kc-0006UX@mrelayeu.kundenserver.de> Date: Mon, 02 Mar 2009 02:01:12 +0100 X-Provags-ID: V01U2FsdGVkX19CFkBiOPYbcfjGs3rHzLeRr6y6Ef1AUoDDTKt eyqudzYeqouV0hCiaPpfzOMABdpj02TOWJhBNMgDiQTx9YZPEC ZIVg2D4G+Y3uwsglgN+Ug== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: d7b92d0b-0bed-4bab-8696-484b56b7d40e X-Archives-Hash: 027fafa953709a069bb57323d43cfffa 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