Keyboard messup - LFS 7.0 rc2
I have followed LFS 7.0rc2 and am able boot into the OS.
But, at the bash prompt, the keyboard keys are mixed up. The alphabets & number are printed properly. But, the symbols are messed up. Like if i press '\' i get '-', '[' gives 'u with two dots above', ']' gives '+' some symbols are working like '.' ',' Please, help to fix this. Thanks! |
Hi,
This sounds like a wrong keyboard layout setting. What type of keyboard do you have? Default US, or German or ????? Re-visit chapters 7.10. Configuring the Linux Console and 7.13. The Bash Shell Startup Files. I would advise to remove the /etc/sysconfig/console script and the export LANG=<ll>_<CC>.<charmap><@modifiers> entry from your /etc/profile. Reboot and check if the keyboard layout is ok. It should be if you have a "normal" keyboard. If this works, don't bother with the console script. You might want to add an appropriate export LANG=.... in /etc/profile (might also not be needed, but that depends on your wishes/needs). Hope this helps. |
The problem was with /etc/sysconfig/console.
I had created it with this addition Code:
The following example illustrates keymap autoconversion from ISO-8859-15 to UTF-8 and enabling dead keys in Unicode mode: I have commented all that, and its working fine now. (/etc/profile is as it was) Thank-you! |
Hi,
This KEYMAP="de-latin1" points to a German (de) keyboard. Which you probably do not have (I do recall you mentioning a en_US entry in /etc/profile). BTW: You're welcome :) |
All times are GMT -5. The time now is 07:48 AM. |