Author: pierre
Date: Sun Nov 24 02:58:21 2013
New Revision: 12276
Log:
Add role="root" attributes to some command in lynx.xml
Modified:
trunk/BOOK/networking/textweb/lynx.xml
Modified: trunk/BOOK/networking/textweb/lynx.xml
==============================================================================
--- trunk/BOOK/networking/textweb/lynx.xml Sat Nov 23 06:54:55 2013
(r12275)
+++ trunk/BOOK/networking/textweb/lynx.xml Sun Nov 24 02:58:21 2013
(r12276)
@@ -193,9 +193,10 @@
<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 @@
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 @@
<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>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page