mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Added the last nodump attributes (I hope.)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6984 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
50993e3328
commit
0ebe9fa45e
@ -40,7 +40,7 @@ EOF</userinput></screen>
|
|||||||
character (accessible by pressing AltGr+E), the following settings are
|
character (accessible by pressing AltGr+E), the following settings are
|
||||||
correct:</para>
|
correct:</para>
|
||||||
|
|
||||||
<screen><userinput>cat >/etc/sysconfig/console <<"EOF"
|
<screen role="nodump"><userinput>cat >/etc/sysconfig/console <<"EOF"
|
||||||
<literal>KEYMAP="es euro2"
|
<literal>KEYMAP="es euro2"
|
||||||
FONT="lat9-16 -u iso01"</literal>
|
FONT="lat9-16 -u iso01"</literal>
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
@ -49,7 +49,7 @@ EOF</userinput></screen>
|
|||||||
character set. If using ISO 8859-1 and, therefore, a pound sign
|
character set. If using ISO 8859-1 and, therefore, a pound sign
|
||||||
instead of Euro, the correct <envar>FONT</envar> line would be:</para>
|
instead of Euro, the correct <envar>FONT</envar> line would be:</para>
|
||||||
|
|
||||||
<screen><userinput>FONT="lat1-16"</userinput></screen></note>
|
<screen role="nodump"><userinput>FONT="lat1-16"</userinput></screen></note>
|
||||||
|
|
||||||
<para>If the <envar>KEYMAP</envar> or <envar>FONT</envar> variable is not set, the
|
<para>If the <envar>KEYMAP</envar> or <envar>FONT</envar> variable is not set, the
|
||||||
<command>console</command> initscript will not run the corresponding
|
<command>console</command> initscript will not run the corresponding
|
||||||
@ -61,12 +61,12 @@ applications. For example, Emacs displays its help (instead of erasing the
|
|||||||
character before the cursor) when Backspace is pressed. To check if the keymap
|
character before the cursor) when Backspace is pressed. To check if the keymap
|
||||||
in use is affected (this works only for i386 keymaps):</para>
|
in use is affected (this works only for i386 keymaps):</para>
|
||||||
|
|
||||||
<screen><userinput>zgrep '\W14\W' <replaceable>[/path/to/your/keymap]</replaceable></userinput></screen>
|
<screen role="nodump"><userinput>zgrep '\W14\W' <replaceable>[/path/to/your/keymap]</replaceable></userinput></screen>
|
||||||
|
|
||||||
<para>If the keycode 14 is Backspace instead of Delete, create the
|
<para>If the keycode 14 is Backspace instead of Delete, create the
|
||||||
following keymap snippet to fix this issue:</para>
|
following keymap snippet to fix this issue:</para>
|
||||||
|
|
||||||
<screen><userinput>mkdir -pv /etc/kbd && cat > /etc/kbd/bs-sends-del <<"EOF"
|
<screen role="nodump"><userinput>mkdir -pv /etc/kbd && cat > /etc/kbd/bs-sends-del <<"EOF"
|
||||||
<literal> keycode 14 = Delete Delete Delete Delete
|
<literal> keycode 14 = Delete Delete Delete Delete
|
||||||
alt keycode 14 = Meta_Delete
|
alt keycode 14 = Meta_Delete
|
||||||
altgr alt keycode 14 = Meta_Delete
|
altgr alt keycode 14 = Meta_Delete
|
||||||
@ -79,7 +79,7 @@ EOF</userinput></screen>
|
|||||||
<para>Tell the <command>console</command> script to load this
|
<para>Tell the <command>console</command> script to load this
|
||||||
snippet after the main keymap:</para>
|
snippet after the main keymap:</para>
|
||||||
|
|
||||||
<screen><userinput>cat >>/etc/sysconfig/console <<"EOF"
|
<screen role="nodump"><userinput>cat >>/etc/sysconfig/console <<"EOF"
|
||||||
<literal>KEYMAP_CORRECTIONS="/etc/kbd/bs-sends-del"</literal>
|
<literal>KEYMAP_CORRECTIONS="/etc/kbd/bs-sends-del"</literal>
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ machine will be connected to an existing network).</para>
|
|||||||
<para>If a network card is not going to be configured, create the
|
<para>If a network card is not going to be configured, create the
|
||||||
<filename>/etc/hosts</filename> file by running:</para>
|
<filename>/etc/hosts</filename> file by running:</para>
|
||||||
|
|
||||||
<screen><userinput>cat > /etc/hosts << "EOF"
|
<screen role="nodump"><userinput>cat > /etc/hosts << "EOF"
|
||||||
<literal># Begin /etc/hosts (no network card version)
|
<literal># Begin /etc/hosts (no network card version)
|
||||||
|
|
||||||
127.0.0.1 <replaceable>[<HOSTNAME>.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable> localhost
|
127.0.0.1 <replaceable>[<HOSTNAME>.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable> localhost
|
||||||
|
@ -65,7 +65,7 @@ canonical charmap for your chosen locale.</para>
|
|||||||
<para>The list of all locales supported by Glibc can be obtained by running
|
<para>The list of all locales supported by Glibc can be obtained by running
|
||||||
the following command:</para>
|
the following command:</para>
|
||||||
|
|
||||||
<screen><userinput>locale -a</userinput></screen>
|
<screen role="nodump"><userinput>locale -a</userinput></screen>
|
||||||
|
|
||||||
<para>Locales can have a number of synonyms, e.g. <quote>ISO-8859-1</quote> is
|
<para>Locales can have a number of synonyms, e.g. <quote>ISO-8859-1</quote> is
|
||||||
also referred to as <quote>iso8859-1</quote> and <quote>iso88591</quote>.
|
also referred to as <quote>iso8859-1</quote> and <quote>iso88591</quote>.
|
||||||
@ -76,7 +76,7 @@ canonical name, run the following command, where
|
|||||||
<command>locale -a</command> for your preferred locale
|
<command>locale -a</command> for your preferred locale
|
||||||
(<quote>en_GB.iso88591</quote> in our example).</para>
|
(<quote>en_GB.iso88591</quote> in our example).</para>
|
||||||
|
|
||||||
<screen><userinput>LC_ALL=<replaceable>[locale name]</replaceable> locale charmap</userinput></screen>
|
<screen role="nodump"><userinput>LC_ALL=<replaceable>[locale name]</replaceable> locale charmap</userinput></screen>
|
||||||
|
|
||||||
<para>For the <quote>en_GB.iso88591</quote> locale, the above command
|
<para>For the <quote>en_GB.iso88591</quote> locale, the above command
|
||||||
will print:</para>
|
will print:</para>
|
||||||
|
@ -181,7 +181,7 @@ handled in one of two ways:</para>
|
|||||||
<command>modprobe</command> command <quote>when loading this module,
|
<command>modprobe</command> command <quote>when loading this module,
|
||||||
also load this other module, at the same time.</quote> For example:</para>
|
also load this other module, at the same time.</quote> For example:</para>
|
||||||
|
|
||||||
<screen><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe \
|
<screen role="nodump"><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe \
|
||||||
snd-pcm-oss ; true</userinput></screen>
|
snd-pcm-oss ; true</userinput></screen>
|
||||||
|
|
||||||
<para>This will cause the system to load both the
|
<para>This will cause the system to load both the
|
||||||
|
@ -45,7 +45,7 @@ un-tarring.</para>
|
|||||||
<para>If, in <xref linkend="ch-scripts-console" role=","/> it was decided to
|
<para>If, in <xref linkend="ch-scripts-console" role=","/> it was decided to
|
||||||
compile the keymap into the kernel, issue the command below:</para>
|
compile the keymap into the kernel, issue the command below:</para>
|
||||||
|
|
||||||
<screen><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to keymap]</replaceable> > \
|
<screen role="nodump"><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to keymap]</replaceable> > \
|
||||||
drivers/char/defkeymap.c</userinput></screen>
|
drivers/char/defkeymap.c</userinput></screen>
|
||||||
|
|
||||||
<para>For example, if using a Dutch keyboard, use
|
<para>For example, if using a Dutch keyboard, use
|
||||||
@ -56,7 +56,7 @@ information regarding particular kernel configuration requirements of
|
|||||||
packages outside of LFS at <ulink
|
packages outside of LFS at <ulink
|
||||||
url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para>
|
url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para>
|
||||||
|
|
||||||
<screen><userinput>make menuconfig</userinput></screen>
|
<screen role="nodump"><userinput>make menuconfig</userinput></screen>
|
||||||
|
|
||||||
<para>Alternatively, <command>make oldconfig</command> may be more appropriate in some
|
<para>Alternatively, <command>make oldconfig</command> may be more appropriate in some
|
||||||
situations. See the <filename>README</filename> file for more
|
situations. See the <filename>README</filename> file for more
|
||||||
|
Loading…
Reference in New Issue
Block a user