Dear Fernando, thank you very much for your hint. Unfortunatelly it did not help me. I have tried this: KEYMAP="es" FONT="lat1-16 -m 8859-1" did not work
these suggestions did not work either: typing a space after accent+character = accent+character+space and is not equal to accented character. QUOTE For just one accented character, sometimes you need to type <space>, after: 'o<space> = ó. I think the program waits for the next character to decide you want an accented letter. For vim, include in /etc/vimrc (or, I believe ~/.vimrc, if this is wanted just for current user): set encoding=iso-8859-1 set fileencodings=iso-8859-1 UNQUOTE 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) 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. Any suggestion for KEYMAP parameter? Best Regards, Viktor Ankor -------------------------------------------- El mié, 21/5/14, Fernando de Oliveira <[email protected]> escribió: Asunto: Re: [lfs-support] iso8859-15 spanish accented characters in lfs-7.5 Para: "LFS Support List" <[email protected]> Fecha: miércoles, 21 de mayo, 2014 12:52 Em 21-05-2014 06:56, ortenzia konyha escreveu: > Dear Mr. Moffat, thank you for your hint. this is what I did in the > prompt I wrote: set LC_ALL=es_ES.UTF-8 and tried to type some spanish > accented characters á. é, í, ó, ú in console and in vim the result is > the same I can only see 'a, 'e, 'i, 'o, 'u > > > > This is not what I want. I want to be able of typing spanish acented > characters in console and in vim. > > What it works for me is a scipt that does the following loadkeys > /usr/share/keymaps/i386/qerty/es.map.gz > > Doing this way I can type in console and in vim wihout using the > shorcut of CTR K + `a > > However I wanted to know if it is possible to set the booting > automatically Being my LANG and my LC_ALL=es_ES.iso885915@euro > > why does not this setiing allow me to see spanish accented characters > á. é, í, ó, ú? Not in Spanish, all for Brazilian Portuguese. I am not expert as Ken, but what follows works for me. I have: $ echo $LANG pt_BR.UTF-8 Basic layout is defined in: $ cat /etc/sysconfig/console # Begin /etc/sysconfig/console KEYMAP="br-abnt2" FONT="lat1-16 -m 8859-1" # End /etc/sysconfig/console Notice that for the keyboard you will need a different value of KEYMAP. With this, for basic text console, if I want to type "ótimo": $ 'otimo For just one accented character, sometimes you need to type <space>, after: 'o<space> = ó. I think the program waits for the next character to decide you want an accented letter. For vim, include in /etc/vimrc (or, I believe ~/.vimrc, if this is wanted just for current user): set encoding=iso-8859-1 set fileencodings=iso-8859-1 This allows me to produce the accented characters as above, inside vim. This can be tested, before you change /etc/vimrc, I believe, by setting temporarily, inside vim, with the commands: :set encoding=iso-8859-1 :set fileencodings=iso-8859-1 Hope this works for you, but you need to define the KEYMAP correctly. -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
