1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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 "efb055000636f312d5c3de56f3c70d12">
|
---|
10 | <!ENTITY slang-size "1.0 MB">
|
---|
11 | <!ENTITY slang-buildsize "24.5 MB">
|
---|
12 | <!ENTITY slang-time "0.5 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="slang" xreflabel="S-Lang-&slang-version;">
|
---|
16 | <?dbhtml filename="slang.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">slang-&slang-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">slang</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>S-Lang-&slang-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="slang">
|
---|
30 | <primary sortas="a-S-Lang">S-Lang</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to S-Lang</title>
|
---|
35 |
|
---|
36 | <para>The <application>S-Lang</application> package contains the
|
---|
37 | <application>S-Lang</application> library, which provides facilities
|
---|
38 | such as display/screen management, keyboard input, and keymaps.</para>
|
---|
39 |
|
---|
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>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">S-Lang Dependencies</bridgehead>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
65 | <para role="optional"><xref linkend="libpng"/> and <xref linkend="pcre"/></para>
|
---|
66 |
|
---|
67 | <para condition="html" role="usernotes">User Notes:
|
---|
68 | <ulink url="&blfs-wiki;/slang"/></para>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2 role="installation">
|
---|
73 | <title>Installation of S-Lang</title>
|
---|
74 |
|
---|
75 | <para>Install <application>S-Lang</application> by running the following
|
---|
76 | commands:</para>
|
---|
77 |
|
---|
78 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
79 | make &&
|
---|
80 | make elf</userinput></screen>
|
---|
81 |
|
---|
82 | <para>To test the results, issue: <command>make runtests</command>.</para>
|
---|
83 |
|
---|
84 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
85 |
|
---|
86 | <screen role='root'><userinput>make install-elf &&
|
---|
87 | chmod -v 755 /usr/lib/libslang.so.&slang-version;</userinput></screen>
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | <sect2 role="commands">
|
---|
91 | <title>Command Explanations</title>
|
---|
92 |
|
---|
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 |
|
---|
97 | <para><command>make elf</command> and <command>make install-elf</command>:
|
---|
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>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="configuration">
|
---|
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>
|
---|
121 |
|
---|
122 | <sect3>
|
---|
123 | <title>Configuration Information</title>
|
---|
124 |
|
---|
125 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
126 |
|
---|
127 | </sect3>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <sect2 role="content">
|
---|
132 | <title>Contents</title>
|
---|
133 |
|
---|
134 | <segmentedlist>
|
---|
135 | <segtitle>Installed Program</segtitle>
|
---|
136 | <segtitle>Installed Libraries</segtitle>
|
---|
137 | <segtitle>Installed Directories</segtitle>
|
---|
138 |
|
---|
139 | <seglistitem>
|
---|
140 | <seg>slsh</seg>
|
---|
141 | <seg>libslang.{so,a} and numerous support modules</seg>
|
---|
142 | <seg>/usr/lib/slang, /usr/share/doc/slang and /usr/share/slsh</seg>
|
---|
143 | </seglistitem>
|
---|
144 | </segmentedlist>
|
---|
145 |
|
---|
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 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | </sect1>
|
---|