[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2027019] | 7 | <!ENTITY slang-download-http "http://gd.tuwien.ac.at/editors/davis/slang/v2.0/slang-&slang-version;.tar.bz2">
|
---|
[8f38c8e7] | 8 | <!ENTITY slang-download-ftp "ftp://space.mit.edu/pub/davis/slang/v2.0/slang-&slang-version;.tar.bz2">
|
---|
[13f7a42c] | 9 | <!ENTITY slang-md5sum "522d9075a721ebe235211dc96c7db2d1">
|
---|
[8f38c8e7] | 10 | <!ENTITY slang-size "1.0 MB">
|
---|
[13f7a42c] | 11 | <!ENTITY slang-buildsize "26 MB">
|
---|
[0762c70] | 12 | <!ENTITY slang-time "0.5 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[2027019] | 15 | <sect1 id="slang" xreflabel="S-Lang-&slang-version;">
|
---|
[c494f25] | 16 | <?dbhtml filename="slang.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[c494f25] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[8e75f8b9] | 22 |
|
---|
[2027019] | 23 | <title>S-Lang-&slang-version;</title>
|
---|
[8e75f8b9] | 24 |
|
---|
[c494f25] | 25 | <indexterm zone="slang">
|
---|
[2027019] | 26 | <primary sortas="a-S-Lang">S-Lang</primary>
|
---|
[c494f25] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[2027019] | 30 | <title>Introduction to S-Lang</title>
|
---|
[8e75f8b9] | 31 |
|
---|
[2027019] | 32 | <para>The <application>S-Lang</application> package contains the
|
---|
| 33 | <application>S-Lang</application> library, which provides facilities
|
---|
[c494f25] | 34 | such as display/screen management, keyboard input, and keymaps.</para>
|
---|
[8e75f8b9] | 35 |
|
---|
[c494f25] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&slang-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&slang-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &slang-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &slang-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &slang-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &slang-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
[8e75f8b9] | 57 |
|
---|
[2027019] | 58 | <bridgehead renderas="sect3">S-Lang Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[ebabf24] | 61 | <para role="optional"><xref linkend="libpng"/> and
|
---|
| 62 | <xref linkend="pcre"/></para>
|
---|
[2027019] | 63 |
|
---|
[1039de3] | 64 | <para condition="html" role="usernotes">User Notes:
|
---|
| 65 | <ulink url="&blfs-wiki;/slang"/></para>
|
---|
| 66 |
|
---|
[c494f25] | 67 | </sect2>
|
---|
[8e75f8b9] | 68 |
|
---|
[c494f25] | 69 | <sect2 role="installation">
|
---|
[2027019] | 70 | <title>Installation of S-Lang</title>
|
---|
[c494f25] | 71 |
|
---|
[2027019] | 72 | <para>Install <application>S-Lang</application> by running the following
|
---|
[c494f25] | 73 | commands:</para>
|
---|
| 74 |
|
---|
[2027019] | 75 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 76 | make &&
|
---|
| 77 | make elf</userinput></screen>
|
---|
[8e75f8b9] | 78 |
|
---|
[2027019] | 79 | <para>To test the results, issue: <command>make runtests</command>.</para>
|
---|
[acecaa7] | 80 |
|
---|
[c494f25] | 81 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 82 |
|
---|
[c494f25] | 83 | <screen role='root'><userinput>make install-elf &&
|
---|
[2027019] | 84 | chmod -v 755 /usr/lib/libslang.so.&slang-version;</userinput></screen>
|
---|
[c494f25] | 85 | </sect2>
|
---|
[8e75f8b9] | 86 |
|
---|
[5ee44e37] | 87 | <sect2 role="commands">
|
---|
| 88 | <title>Command Explanations</title>
|
---|
| 89 |
|
---|
[2027019] | 90 | <para><option>--with-readline=gnu</option>: Use this parameter to use the
|
---|
| 91 | system-installed version of <application>Readline</application> instead of
|
---|
| 92 | the <application>S-Lang</application> internal version.</para>
|
---|
| 93 |
|
---|
[bccbdaea] | 94 | <para><command>make elf</command> and <command>make install-elf</command>:
|
---|
[2027019] | 95 | These commands create and install the dynamic shared version of the
|
---|
| 96 | <application>S-Lang</application> library as well as an
|
---|
| 97 | <application>S-Lang</application> script interpreter and related
|
---|
| 98 | modules.</para>
|
---|
[5ee44e37] | 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
[c494f25] | 102 | <sect2 role="configuration">
|
---|
[2027019] | 103 | <title>Configuring S-Lang</title>
|
---|
| 104 |
|
---|
| 105 | <sect3 id="slang-config">
|
---|
| 106 | <title>Config Files</title>
|
---|
| 107 | <para><filename>~/.slshrc</filename> and
|
---|
| 108 | <filename>/etc/slsh.rc</filename></para>
|
---|
| 109 |
|
---|
| 110 | <indexterm zone="slang slang-config">
|
---|
| 111 | <primary sortas="e-AA.slshrc">~/.slshrc</primary>
|
---|
| 112 | </indexterm>
|
---|
| 113 |
|
---|
| 114 | <indexterm zone="slang slang-config">
|
---|
| 115 | <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
|
---|
| 116 | </indexterm>
|
---|
| 117 | </sect3>
|
---|
[c494f25] | 118 |
|
---|
| 119 | <sect3>
|
---|
| 120 | <title>Configuration Information</title>
|
---|
[8e75f8b9] | 121 |
|
---|
[ebabf24] | 122 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 123 | href="../../xincludes/lib-config.xml"/>
|
---|
[8e75f8b9] | 124 |
|
---|
[c494f25] | 125 | </sect3>
|
---|
[8e75f8b9] | 126 |
|
---|
[c494f25] | 127 | </sect2>
|
---|
[8e75f8b9] | 128 |
|
---|
[c494f25] | 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
[2027019] | 133 | <segtitle>Installed Program</segtitle>
|
---|
| 134 | <segtitle>Installed Libraries</segtitle>
|
---|
| 135 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 136 |
|
---|
[c494f25] | 137 | <seglistitem>
|
---|
[2027019] | 138 | <seg>slsh</seg>
|
---|
[1039de3] | 139 | <seg>libslang.{so,a} and numerous support modules</seg>
|
---|
[2027019] | 140 | <seg>/usr/lib/slang, /usr/share/doc/slang and /usr/share/slsh</seg>
|
---|
[c494f25] | 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
| 143 |
|
---|
[2027019] | 144 | <variablelist>
|
---|
| 145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 146 | <?dbfo list-presentation="list"?>
|
---|
| 147 | <?dbhtml list-presentation="table"?>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="slsh">
|
---|
| 150 | <term><command>slsh</command></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>is a simple program for interpreting
|
---|
| 153 | <application>S-Lang</application> scripts. It supports dynamic loading
|
---|
| 154 | of <application>S-Lang</application> modules and includes a
|
---|
| 155 | <application>Readline</application> interface for interactive
|
---|
| 156 | use.</para>
|
---|
| 157 | <indexterm zone="slang slsh">
|
---|
| 158 | <primary sortas="b-slsh">slsh</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | </variablelist>
|
---|
| 164 |
|
---|
[c494f25] | 165 | </sect2>
|
---|
[f45b1953] | 166 |
|
---|
| 167 | </sect1>
|
---|