[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">
|
---|
| 8 | <!ENTITY slang-download-ftp "ftp://space.mit.edu/pub/davis/slang/v2.0/slang-&slang-version;.tar.bz2">
|
---|
| 9 | <!ENTITY slang-md5sum "85d968e5d1ea2d79beba40d625732700">
|
---|
| 10 | <!ENTITY slang-size "1.0 MB">
|
---|
| 11 | <!ENTITY slang-buildsize "24.3 MB">
|
---|
| 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>
|
---|
| 61 | <para><xref linkend="libpng"/> and <xref linkend="pcre"/></para>
|
---|
| 62 |
|
---|
[c494f25] | 63 | </sect2>
|
---|
[8e75f8b9] | 64 |
|
---|
[c494f25] | 65 | <sect2 role="installation">
|
---|
[2027019] | 66 | <title>Installation of S-Lang</title>
|
---|
[c494f25] | 67 |
|
---|
[2027019] | 68 | <para>Install <application>S-Lang</application> by running the following
|
---|
[c494f25] | 69 | commands:</para>
|
---|
| 70 |
|
---|
[2027019] | 71 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 72 | make &&
|
---|
| 73 | make elf</userinput></screen>
|
---|
[8e75f8b9] | 74 |
|
---|
[2027019] | 75 | <para>To test the results, issue: <command>make runtests</command>.</para>
|
---|
[acecaa7] | 76 |
|
---|
[c494f25] | 77 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 78 |
|
---|
[c494f25] | 79 | <screen role='root'><userinput>make install-elf &&
|
---|
[2027019] | 80 | chmod -v 755 /usr/lib/libslang.so.&slang-version;</userinput></screen>
|
---|
[c494f25] | 81 | </sect2>
|
---|
[8e75f8b9] | 82 |
|
---|
[5ee44e37] | 83 | <sect2 role="commands">
|
---|
| 84 | <title>Command Explanations</title>
|
---|
| 85 |
|
---|
[2027019] | 86 | <para><option>--with-readline=gnu</option>: Use this parameter to use the
|
---|
| 87 | system-installed version of <application>Readline</application> instead of
|
---|
| 88 | the <application>S-Lang</application> internal version.</para>
|
---|
| 89 |
|
---|
[5ee44e37] | 90 | <para><command>make elf</command> and <command>make install-elf</command>:
|
---|
[2027019] | 91 | These commands create and install the dynamic shared version of the
|
---|
| 92 | <application>S-Lang</application> library as well as an
|
---|
| 93 | <application>S-Lang</application> script interpreter and related
|
---|
| 94 | modules.</para>
|
---|
[5ee44e37] | 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
[c494f25] | 98 | <sect2 role="configuration">
|
---|
[2027019] | 99 | <title>Configuring S-Lang</title>
|
---|
| 100 |
|
---|
| 101 | <sect3 id="slang-config">
|
---|
| 102 | <title>Config Files</title>
|
---|
| 103 | <para><filename>~/.slshrc</filename> and
|
---|
| 104 | <filename>/etc/slsh.rc</filename></para>
|
---|
| 105 |
|
---|
| 106 | <indexterm zone="slang slang-config">
|
---|
| 107 | <primary sortas="e-AA.slshrc">~/.slshrc</primary>
|
---|
| 108 | </indexterm>
|
---|
| 109 |
|
---|
| 110 | <indexterm zone="slang slang-config">
|
---|
| 111 | <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
|
---|
| 112 | </indexterm>
|
---|
| 113 | </sect3>
|
---|
[c494f25] | 114 |
|
---|
| 115 | <sect3>
|
---|
| 116 | <title>Configuration Information</title>
|
---|
[8e75f8b9] | 117 |
|
---|
[c494f25] | 118 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
[8e75f8b9] | 119 |
|
---|
[c494f25] | 120 | </sect3>
|
---|
[8e75f8b9] | 121 |
|
---|
[c494f25] | 122 | </sect2>
|
---|
[8e75f8b9] | 123 |
|
---|
[c494f25] | 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
[2027019] | 128 | <segtitle>Installed Program</segtitle>
|
---|
| 129 | <segtitle>Installed Libraries</segtitle>
|
---|
| 130 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 131 |
|
---|
[c494f25] | 132 | <seglistitem>
|
---|
[2027019] | 133 | <seg>slsh</seg>
|
---|
| 134 | <seg>libslang.[so,a] and numerous support modules</seg>
|
---|
| 135 | <seg>/usr/lib/slang, /usr/share/doc/slang and /usr/share/slsh</seg>
|
---|
[c494f25] | 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
[2027019] | 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="slsh">
|
---|
| 145 | <term><command>slsh</command></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>is a simple program for interpreting
|
---|
| 148 | <application>S-Lang</application> scripts. It supports dynamic loading
|
---|
| 149 | of <application>S-Lang</application> modules and includes a
|
---|
| 150 | <application>Readline</application> interface for interactive
|
---|
| 151 | use.</para>
|
---|
| 152 | <indexterm zone="slang slsh">
|
---|
| 153 | <primary sortas="b-slsh">slsh</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | </variablelist>
|
---|
| 159 |
|
---|
[c494f25] | 160 | </sect2>
|
---|
[f45b1953] | 161 |
|
---|
| 162 | </sect1>
|
---|