r4887 - in trunk/BOOK: . general/genlib introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Aug 5 21:12:58 PDT 2005


Author: randy
Date: 2005-08-05 22:12:57 -0600 (Fri, 05 Aug 2005)
New Revision: 4887

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/slang.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Updated to S-Lang-2.0.4

Modified: trunk/BOOK/general/genlib/slang.xml
===================================================================
--- trunk/BOOK/general/genlib/slang.xml	2005-08-06 02:57:16 UTC (rev 4886)
+++ trunk/BOOK/general/genlib/slang.xml	2005-08-06 04:12:57 UTC (rev 4887)
@@ -4,15 +4,15 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY slang-download-http "http://gd.tuwien.ac.at/editors/davis/slang/v1.4/slang-&slang-version;.tar.bz2">
-  <!ENTITY slang-download-ftp "ftp://space.mit.edu/pub/davis/slang/v1.4/slang-&slang-version;.tar.bz2">
-  <!ENTITY slang-md5sum "4fbb1a7f1257e065ca830deefe13d350">
-  <!ENTITY slang-size "624 KB">
-  <!ENTITY slang-buildsize "10.7 MB">
-  <!ENTITY slang-time "0.2 SBU">
+  <!ENTITY slang-download-http "http://gd.tuwien.ac.at/editors/davis/slang/v2.0/slang-&slang-version;.tar.bz2">
+  <!ENTITY slang-download-ftp "ftp://space.mit.edu/pub/davis/slang/v2.0/slang-&slang-version;.tar.bz2">
+  <!ENTITY slang-md5sum "85d968e5d1ea2d79beba40d625732700">
+  <!ENTITY slang-size "1.0 MB">
+  <!ENTITY slang-buildsize "24.3 MB">
+  <!ENTITY slang-time "0.5 SBU">
 ]>
 
-<sect1 id="slang" xreflabel="slang-&slang-version;">
+<sect1 id="slang" xreflabel="S-Lang-&slang-version;">
   <?dbhtml filename="slang.html"?>
 
   <sect1info>
@@ -20,17 +20,17 @@
     <date>$Date$</date>
   </sect1info>
 
-  <title>Slang-&slang-version;</title>
+  <title>S-Lang-&slang-version;</title>
 
   <indexterm zone="slang">
-    <primary sortas="a-Slang">Slang</primary>
+    <primary sortas="a-S-Lang">S-Lang</primary>
   </indexterm>
 
   <sect2 role="package">
-    <title>Introduction to Slang</title>
+    <title>Introduction to S-Lang</title>
 
-    <para>The <application>slang</application> package contains the
-    <application>slang</application> library, which provides facilities
+    <para>The <application>S-Lang</application> package contains the
+    <application>S-Lang</application> library, which provides facilities
     such as display/screen management, keyboard input, and keymaps.</para>
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
@@ -55,45 +55,63 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">S-Lang Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para><xref linkend="libpng"/> and <xref linkend="pcre"/></para>
+
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Slang</title>
+    <title>Installation of S-Lang</title>
 
-    <para>Install <application>slang</application> by running the following
+    <para>Install <application>S-Lang</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr &&
-make</userinput></screen>
+<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
+make &&
+make elf</userinput></screen>
 
-    <para>This package does not come with a test suite.</para>
+    <para>To test the results, issue: <command>make runtests</command>.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>make install</userinput></screen>
-
-    <para>Now, as the unprivileged user:</para>
-
-<screen><userinput>make elf</userinput></screen>
-
-    <para>And finally, as the <systemitem class="username">root</systemitem> user:</para>
-
 <screen role='root'><userinput>make install-elf &&
-chmod 755 /usr/lib/libslang.so.&slang-version;</userinput></screen>
+chmod -v 755 /usr/lib/libslang.so.&slang-version;</userinput></screen>
   </sect2>
 
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><option>--with-readline=gnu</option>: Use this parameter to use the
+    system-installed version of <application>Readline</application> instead of
+    the <application>S-Lang</application> internal version.</para>
+
     <para><command>make elf</command> and <command>make install-elf</command>: 
-    These commands create and install the dynamic shared library version of 
-    <application>slang</application>.</para>
+    These commands create and install the dynamic shared version of the
+    <application>S-Lang</application> library as well as an
+    <application>S-Lang</application> script interpreter and related
+    modules.</para>
 
   </sect2>
 
   <sect2 role="configuration">
-    <title>Configuring Slang</title>
+    <title>Configuring S-Lang</title>
 
+    <sect3 id="slang-config">
+      <title>Config Files</title>
+      <para><filename>~/.slshrc</filename> and
+      <filename>/etc/slsh.rc</filename></para>
+
+      <indexterm zone="slang slang-config">
+        <primary sortas="e-AA.slshrc">~/.slshrc</primary>
+      </indexterm>
+
+      <indexterm zone="slang slang-config">
+        <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
+      </indexterm>
+    </sect3>
+
     <sect3>
       <title>Configuration Information</title>
 
@@ -107,18 +125,38 @@
     <title>Contents</title>
 
     <segmentedlist>
-      <segtitle>Installed Programs</segtitle>
-      <segtitle>Installed Library</segtitle>
-      <segtitle>Installed Directory</segtitle>
+      <segtitle>Installed Program</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
 
       <seglistitem>
-        <seg>None</seg>
-        <seg>libslang.[so,a]</seg>
-        <seg>/usr/share/doc/slang</seg>
+        <seg>slsh</seg>
+        <seg>libslang.[so,a] and numerous support modules</seg>
+        <seg>/usr/lib/slang, /usr/share/doc/slang and /usr/share/slsh</seg>
       </seglistitem>
     </segmentedlist>
 
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="slsh">
+        <term><command>slsh</command></term>
+        <listitem>
+          <para>is a simple program for interpreting
+          <application>S-Lang</application> scripts. It supports dynamic loading
+          of <application>S-Lang</application> modules and includes a
+          <application>Readline</application> interface for interactive
+          use.</para>
+          <indexterm zone="slang slsh">
+            <primary sortas="b-slsh">slsh</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
   </sect2>
 
 </sect1>
-

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-08-06 02:57:16 UTC (rev 4886)
+++ trunk/BOOK/general.ent	2005-08-06 04:12:57 UTC (rev 4887)
@@ -1,4 +1,4 @@
-<!ENTITY day          "05">
+<!ENTITY day          "06">
 <!ENTITY month        "08">
 <!ENTITY year         "2005">
 <!ENTITY version      "svn-&year;&month;&day;">
@@ -67,7 +67,7 @@
 <!-- Chapter 8 -->
 <!ENTITY pcre-version                 "6.2">
 <!ENTITY popt-version                 "1.7">
-<!ENTITY slang-version                "1.4.9">
+<!ENTITY slang-version                "2.0.4">
 <!ENTITY fam-version                  "2.7.0">
 <!ENTITY libxml-version               "1.8.17">
 <!ENTITY libxml2-version              "2.6.20">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-08-06 02:57:16 UTC (rev 4886)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-08-06 04:12:57 UTC (rev 4887)
@@ -25,6 +25,10 @@
   <itemizedlist>
     
     <listitem>
+      <para>August 6th, 2005 [randy]: Updated to S-Lang-2.0.4.</para>
+    </listitem>
+
+    <listitem>
       <para>August 5th, 2005 [randy]: Updated to Wget-1.10 and PCRE-6.2.</para>
     </listitem>
 




More information about the blfs-book mailing list