glfs/general/genlib/slang.xml
Randy McMurchy 2027019320 Updated to S-Lang-2.0.4
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4887 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-08-06 04:12:57 +00:00

163 lines
5.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!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="S-Lang-&slang-version;">
<?dbhtml filename="slang.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>S-Lang-&slang-version;</title>
<indexterm zone="slang">
<primary sortas="a-S-Lang">S-Lang</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to S-Lang</title>
<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>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&slang-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&slang-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &slang-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &slang-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &slang-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &slang-time;</para>
</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 S-Lang</title>
<para>Install <application>S-Lang</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make &amp;&amp;
make elf</userinput></screen>
<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-elf &amp;&amp;
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 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 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>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<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>