O Wed, May 21, 2014 at 02:13:41PM +0100, ortenzia konyha wrote: > > the problem is with the KEYMAP > at boot time LFS system reads a script called /etc/rc.d/rcS.d/S70console > which looks the parameter KEYMAP passed in the file in /etc/sysconfig/console > My /etc/sysconfig/console passes the parameter KEYMAP="es" > (assuming that is looking for /usr/share/keymaps/i386/qerty/es.map.gz "es" is > the correct parameter to pass) >
Yes, that was correct. You just pass the name of a .map.gz or .map file which is in /usr/share/keymaps. We already know that your es keymap is present. You *should* be able to have the keymap loaded by the LFS bootscripts, in the same way that using a script to load it works correctly. > I tried to pass KEYMAP="es_ES.UTF-8" but /etc/rc.d/rcS.d/S70console > complaints at boot time and default (english) is loaded instead. > > I have tried > https://wiki.archlinux.org/index.php/Keyboard_configuration_in_console_%28Espa%C3%B1ol%29 > but I have not the program localetcl and I am not using a virtual console. > Many things in the arch wiki are specific to arch. > > Any suggestion for KEYMAP parameter? > The value you originally used, 'es'. You should then have dead keys for the accents: dead_grave and dead_circumflex on the key to the right of 'P' which probably has grave and circumflex on the key label. dead_acute and dead_diaeresis on the key two keys to the right of 'L' which means the key between N-tilde and C-cedilla. Descriptions based on the Spanish map at http://en.wikipedia.org/wiki/File:KB_Spanish.svg So, I suggest that you should be using UTF-8 throughout (that includes NOT telling vim to use a different encoding unless you know you are editing a file which is not in UTF-8). Are you rebooting after each change to /etc/sysconfig ? I have assumed you are, but I'm having difficulty working out what is different about your setup. In your original post, you said > I have tried several combinations in my /etc/sysconfig/console: > UNICODE=1 > KEYMAP=es > KEYMAP_CORRECTIONS="euro2" > FONT="lat0-16 -m 8859-15" > >I can see the ñ, ¡, ? and the € in my console, I cannot see >accented spanish character, á, é, í, ó, ú. Please reinstate those values in /etc/sysconfig/console and reboot. (with the corrected LC_ALL=es_ES.UTF-8). If you still cannot see the letters a,e,i,o,u with acute accents, please describe what character you get for each of them. I do now wonder if somewhere in the system you *are* using an iso-8859 setting. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
