[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using UTF-8 console on Linux
Egmont Koblinger wrote:
> On Wed, Aug 01, 2007 at 12:32:37PM +0100, Rui Santos wrote:
>
>
>> That thread is from early 2005... Does it still applies to the current
>> kernel ?
>>
>
> I don't know.
>
>
>> You use lat2-16 fonf. That means that it does not have an utf8 mapping.
>> Usually the ones that end with 'u', like lat9u-16.psfu.gz already have
>> it. Am I correct ?
>>
>
> setfont automatically adds the extension. This file is actially
> lat2-16.psfu, so it does contain Unicode mapping.
>
>
>> I retrieved it from my own system. I have pt-latin1 and
>> compose.latin1.add with all includes.
>>
>
> Okay, but do you know what keyboard layout these files are supposed to
> implement?
Yes.
> I bet you do have expectations like "this or that key should
> produce this or that letter". Or rather in the reverse way: "I need these
> accented letters, and they should be accessible by these particular keys or
> key sequences...". So I'm still curious: do you really plan to use dead keys
> or combining keys, or just simple keys for accented letters?
>
I was planning to use dead keys in combination with the simple keys to
produce the accented key I want. If possible, all of them.
>
>>> Just for curiosity: please try the exact commands I gave you above, then run
>>> the command "cat" and press the "main" letters on your keyboard. You should
>>> see something like this:
>>> 0123456789öüó
>>> qwertzuiopőú
>>> asdfghjkléáű
>>> íyxcvbnm,.-
>>> Do you get these accented vowels there?
>>>
>>>
>> No, I do not get any accented characters.
>>
>
> Now this is strange, and at this moment I have no idea where to look at.
>
> Did the commands all succeed? Are you root? Are you executing these from the
> real console (not from mc, screen, su...)? Please confirm that you really
> typed these letters to the command "cat".
>
Sorry. It does work. I was issuing the command on bash, and not on cat.
So it works :)
> What happens when you hit those keys that are supposed to print accented
> letters? Is simply this keystroke ignored? Or a question mark printed? Or
> what else?
>
>
>
--
Cumprimentos
*Rui Santos*
Dep. Testes
*GrupoPIE Portugal, S.A.*
Tel: +351 252 290 600
Fax: +351 252 290 601
Email: rsantos@xxxxxxxxxxxx <mailto:rsantos@xxxxxxxxxxxx>
Web: www.grupopie.com <http://www.grupopie.com/>
/WinREST /EVERYWHERE
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/