diff options
Diffstat (limited to 'chapter07/console.xml')
-rw-r--r-- | chapter07/console.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/chapter07/console.xml b/chapter07/console.xml index 878e657b1..debeba00b 100644 --- a/chapter07/console.xml +++ b/chapter07/console.xml @@ -10,28 +10,28 @@ <para>Create the configuration file:</para> <screen><userinput>cat >/etc/sysconfig/console <<"EOF" -KEYMAP="<replaceable>[arguments for loadkeys]</replaceable>" -FONT="<replaceable>[arguments for setfont]</replaceable>" +<literal>KEYMAP="<replaceable>[arguments for loadkeys]</replaceable>" +FONT="<replaceable>[arguments for setfont]</replaceable>"</literal> EOF</userinput></screen> <para>If you see that keycode 14 is Backspace and not Delete, create the following keymap snippet to fix this issue:</para> -<screen><userinput>mkdir -p /etc/kbd && cat >/etc/kbd/bs-sends-del <<"EOF" - keycode 14 = Delete Delete Delete Delete - alt keycode 14 = Meta_Delete -altgr alt keycode 14 = Meta_Delete - keycode 111 = Remove -altgr control keycode 111 = Boot -control alt keycode 111 = Boot -altgr control alt keycode 111 = Boot +<screen><userinput>mkdir -p /etc/kbd && cat > /etc/kbd/bs-sends-del <<"EOF" +<literal> keycode 14 = Delete Delete Delete Delete + alt keycode 14 = Meta_Delete + altgr alt keycode 14 = Meta_Delete + keycode 111 = Remove + altgr control keycode 111 = Boot + control alt keycode 111 = Boot +altgr control alt keycode 111 = Boot</literal> EOF</userinput></screen> <para>Then tell the <command>console</command> script to load this snippet after the main keymap:</para> <screen><userinput>cat >>/etc/sysconfig/console <<"EOF" -KEYMAP_CORRECTION="/etc/kbd/bs-sends-del" +<literal>KEYMAP_CORRECTION="/etc/kbd/bs-sends-del"</literal> EOF</userinput></screen> </sect1> |