Author: alexander
Date: 2007-01-22 09:15:48 -0700 (Mon, 22 Jan 2007)
New Revision: 6455
Modified:
trunk/BOOK/basicnet/textweb/lynx.xml
trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added some options to Lynx
Modified: trunk/BOOK/basicnet/textweb/lynx.xml
===================================================================
--- trunk/BOOK/basicnet/textweb/lynx.xml 2007-01-22 04:52:13 UTC (rev
6454)
+++ trunk/BOOK/basicnet/textweb/lynx.xml 2007-01-22 16:15:48 UTC (rev
6455)
@@ -64,14 +64,15 @@
<xref linkend="zip"/>,
<xref linkend="unzip"/>,
an <xref linkend="server-mail"/> (that provides a
- <command>sendmail</command> command),
- <xref linkend="slang"/>, and
+ <command>sendmail</command> command), and
<!-- <ulink
url="http://ftp.ibiblio.org/pub/linux/utils/compress/ncompress-4.2.4.tar.Z">
ncompress</ulink> and -->
<ulink url="http://www.gnu.org/software/sharutils/">sharutils</ulink>
(for a <command>uudecode</command> program)</para>
+<!-- Attempt to utilize S-Lang (- -with-screen=slang) leads to a build failure
-->
+
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/Lynx"/></para>
@@ -87,7 +88,9 @@
--sysconfdir=/etc/lynx \
--datadir=/usr/share/doc/lynx-&lynx-version; \
--with-zlib \
- --with-bzlib &&
+ --with-bzlib \
+ --with-screen=ncursesw \
+ --enable-locale-charset &&
make</userinput></screen>
<para>This package does not come with a test suite.</para>
@@ -121,6 +124,25 @@
linking <filename class="libraryfile">libbz2</filename> into
<application>Lynx</application>.</para>
+ <para><parameter>--with-screen=ncursesw</parameter>: This switch enables
+ the use of advanced wide-character support present in the system
+ <application>NCurses</application> library. This is needed for
+ proper display of characters and line wrapping in multibyte locales.</para>
+
+ <para><parameter>--enable-locale-charset</parameter>: This switch allows
+ <application>Lynx</application> to deduce the proper character encoding
+ for terminal output from the current locale.
+ A configuration step is still needed (see below), but,
+ unlike the situation without this switch, the configuration step becomes
+ the same for all users (without the switch, one would have to specify the
+ display charcter set explicitly). This is important for environments such
+ as a LiveCD, where the amount of system-specific configuration steps has
+ to be reduced to the minimum.</para>
+
+ <para><parameter>--enable-nls</parameter>: This switch allows
+ <application>Lynx</application> to print translated messages (such as
+ questions about cookies and SSL certificates).</para>
+
<para><option>--with-ssl</option>: This enables support for
linking SSL into <application>Lynx</application>.</para>
@@ -168,10 +190,15 @@
<sect3>
<title>Configuration Information</title>
- <para>Various settings such as proxies can be set in the system-wide
- <filename>lynx.cfg</filename> file found in
- <filename class="directory">/etc/lynx</filename>.</para>
+ <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>
+<screen><userinput>sed -i 's/#\(LOCALE_CHARSET\):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>
+
</sect3>
</sect2>
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2007-01-22 04:52:13 UTC
(rev 6454)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2007-01-22 16:15:48 UTC
(rev 6455)
@@ -45,6 +45,10 @@
<para>January 22nd, 2007</para>
<itemizedlist>
<listitem>
+ <para>[alexander] - Added some options to Lynx for better locale
+ support. Fixes ticket #1961.</para>
+ </listitem>
+ <listitem>
<para>[randy] - Updated to ZSH-4.2.6 and added a warning for users
with multibyte locales.</para>
</listitem>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page