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