Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:console_key_mappings [2011/10/22 06:38] – code curaga | wiki:console_key_mappings [2011/10/22 07:44] (current) – slight script edit curaga | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| Beyond setting the keymap with kmaps.tcz, if your locale uses non-ascii chars, you may need to set up a different console font and font mapping to use those chars outside of X. | Beyond setting the keymap with kmaps.tcz, if your locale uses non-ascii chars, you may need to set up a different console font and font mapping to use those chars outside of X. | ||
| - | Set the two variables in the following script, and run it on each console: | + | First load the setfont.tcz extension.\\ |
| + | Set the two variables in the following script, and run it on each console. The example settings are appropriate for iso-8859-15 - latin-1 with euro. | ||
| + | |||
| + | Click on the filename to download. | ||
| <code sh setconmap.sh> | <code sh setconmap.sh> | ||
| #!/bin/sh | #!/bin/sh | ||
| + | # From the LFS bootscripts, | ||
| # Figure out if a framebuffer console is used | # Figure out if a framebuffer console is used | ||
| Line 20: | Line 24: | ||
| # UTF-8 mode. This doesn' | # UTF-8 mode. This doesn' | ||
| - | ! [ " | + | |
| - | MODE_COMMAND=" | + | MODE_COMMAND=" |
| eval $MODE_COMMAND</ | eval $MODE_COMMAND</ | ||