mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
458e75865a
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7261 af4574ff-66df-0310-9fd7-8a98e5e911e0
175 lines
5.7 KiB
XML
175 lines
5.7 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY slang-download-http "http://gd.tuwien.ac.at/editors/davis/slang/v2.1/slang-&slang-version;.tar.bz2">
|
|
<!ENTITY slang-download-ftp "ftp://space.mit.edu/pub/davis/slang/v2.1/slang-&slang-version;.tar.bz2">
|
|
<!ENTITY slang-md5sum "0e4ae3aac75441eaa230bceb7811f088">
|
|
<!ENTITY slang-size "1.1 MB">
|
|
<!ENTITY slang-buildsize "26 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 role="optional"><xref linkend="libpng"/>,
|
|
<xref linkend="pcre"/>, and
|
|
<ulink url="http://www.geocities.jp/kosako3/oniguruma/">Oniguruma</ulink></para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/slang"/></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 &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue: <command>make check</command>. Note that
|
|
this will also create a static version of the library which will then be
|
|
installed in the next step.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role='root'><userinput>make \
|
|
install_doc_dir=/usr/share/doc/slang-&slang-version; \
|
|
SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
|
|
install-all &&
|
|
chmod -v 755 /usr/lib/libslang.so.&slang-version; \
|
|
/usr/lib/slang/v2/modules/*.so</userinput></screen>
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><command>make install_doc_dir=/usr/share/doc/slang-&slang-version;
|
|
SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all</command>:
|
|
This command installs the static library as well as
|
|
the dynamic shared version and related modules. It also changes the
|
|
documentation installation directories to a versioned directory.</para>
|
|
|
|
<para><option>--with-readline=gnu</option>: Use this parameter to use the
|
|
Gnu <application>Readline</application> parser instead of the
|
|
<application>S-Lang</application> internal version.</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="../../xincludes/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-&slang-version;
|
|
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>
|