Add role="root" attributes to some command in lynx.xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12276 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2013-11-24 10:58:21 +00:00
parent 2dee4c64e1
commit ddc9b8381c

View File

@ -193,9 +193,10 @@ chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</userinput></screen
<para>The proper way to get the display character set is to examine the
current locale. However, <application>Lynx</application> does not do
this by default. Change this setting:</para>
this by default. As the <systemitem class="username">root</systemitem>
user, change this setting:</para>
<screen><userinput>sed -i 's/#\(LOCALE_CHARSET\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg</userinput></screen>
<screen role="root"><userinput>sed -i 's/#\(LOCALE_CHARSET\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg</userinput></screen>
<para>The built-in editor in <application>Lynx</application>
<xref linkend="locale-wrong-multibyte-characters"/>. This issue manifests
@ -204,8 +205,9 @@ chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</userinput></screen
network when one edits the contents of text areas. The only solution
to this problem is to configure <application>Lynx</application> to
use an external editor (bound to the <quote>Ctrl+X e</quote> key
combination by default):</para>
<screen><userinput>sed -i 's/#\(DEFAULT_EDITOR\):/\1:vi/' /etc/lynx/lynx.cfg</userinput></screen>
combination by default). Still as the
<systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>sed -i 's/#\(DEFAULT_EDITOR\):/\1:vi/' /etc/lynx/lynx.cfg</userinput></screen>
<para><application>Lynx</application> handles the following values of
the DEFAULT_EDITOR option specially by adding cursor-positioning
@ -217,8 +219,10 @@ chgrp -v -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</userinput></screen
<xref linkend="vim"/>, set this option to <quote>vi</quote>).</para>
<para>By default, <application>Lynx</application> doesn't save cookies
between sessions. Change this setting:</para>
<screen><userinput>sed -i 's/#\(PERSISTENT_COOKIES\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg</userinput></screen>
between sessions. Again as the
<systemitem class="username">root</systemitem> user, change this
setting:</para>
<screen role="root"><userinput>sed -i 's/#\(PERSISTENT_COOKIES\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg</userinput></screen>
<para>Many other system-wide settings such as proxies can also be set
in the <filename>/etc/lynx/lynx.cfg</filename> file.</para>