1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY slang-download-http "&sources-anduin-http;/slang-&slang-version;.tar.bz2">
|
---|
8 | <!ENTITY slang-download-ftp "ftp://space.mit.edu/pub/davis/slang/v2.2/slang-&slang-version;.tar.bz2">
|
---|
9 | <!ENTITY slang-md5sum "2593b390c6db81b840f6b48b0e768fa0">
|
---|
10 | <!ENTITY slang-size "1.3 MB">
|
---|
11 | <!ENTITY slang-buildsize "28 MB">
|
---|
12 | <!ENTITY slang-time "0.3 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 | </sect1info>
|
---|
22 |
|
---|
23 | <title>S-Lang-&slang-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="slang">
|
---|
26 | <primary sortas="a-S-Lang">S-Lang</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to S-Lang</title>
|
---|
31 |
|
---|
32 | <para>The <application>S-Lang</application> package contains the
|
---|
33 | <application>S-Lang</application> library, which provides facilities
|
---|
34 | such as display/screen management, keyboard input, and keymaps.</para>
|
---|
35 |
|
---|
36 | &lfs65_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&slang-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&slang-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &slang-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &slang-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &slang-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &slang-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect3">S-Lang Dependencies</bridgehead>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
63 | <para role="optional"><xref linkend="libpng"/>,
|
---|
64 | <xref linkend="pcre"/>, and
|
---|
65 | <ulink url="http://www.geocities.jp/kosako3/oniguruma/">Oniguruma</ulink></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</userinput></screen>
|
---|
80 |
|
---|
81 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
82 | this will also create a static version of the library which will then be
|
---|
83 | installed in the next step.</para>
|
---|
84 |
|
---|
85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
86 |
|
---|
87 | <screen role='root'><userinput>make \
|
---|
88 | install_doc_dir=/usr/share/doc/slang-&slang-version; \
|
---|
89 | SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
|
---|
90 | install-all &&
|
---|
91 | chmod -v 755 /usr/lib/libslang.so.&slang-version; \
|
---|
92 | /usr/lib/slang/v2/modules/*.so</userinput></screen>
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="commands">
|
---|
96 | <title>Command Explanations</title>
|
---|
97 |
|
---|
98 | <para><command>make install_doc_dir=/usr/share/doc/slang-&slang-version;
|
---|
99 | SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all</command>:
|
---|
100 | This command installs the static library as well as
|
---|
101 | the dynamic shared version and related modules. It also changes the
|
---|
102 | documentation installation directories to a versioned directory.</para>
|
---|
103 |
|
---|
104 | <para><option>--with-readline=gnu</option>: Use this parameter to use the
|
---|
105 | Gnu <application>Readline</application> parser instead of the
|
---|
106 | <application>S-Lang</application> internal version.</para>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="configuration">
|
---|
111 | <title>Configuring S-Lang</title>
|
---|
112 |
|
---|
113 | <sect3 id="slang-config">
|
---|
114 | <title>Config Files</title>
|
---|
115 | <para><filename>~/.slshrc</filename> and
|
---|
116 | <filename>/etc/slsh.rc</filename></para>
|
---|
117 |
|
---|
118 | <indexterm zone="slang slang-config">
|
---|
119 | <primary sortas="e-AA.slshrc">~/.slshrc</primary>
|
---|
120 | </indexterm>
|
---|
121 |
|
---|
122 | <indexterm zone="slang slang-config">
|
---|
123 | <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
|
---|
124 | </indexterm>
|
---|
125 | </sect3>
|
---|
126 |
|
---|
127 | <sect3>
|
---|
128 | <title>Configuration Information</title>
|
---|
129 |
|
---|
130 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
131 | href="../../xincludes/lib-config.xml"/>
|
---|
132 |
|
---|
133 | </sect3>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2 role="content">
|
---|
138 | <title>Contents</title>
|
---|
139 |
|
---|
140 | <segmentedlist>
|
---|
141 | <segtitle>Installed Program</segtitle>
|
---|
142 | <segtitle>Installed Libraries</segtitle>
|
---|
143 | <segtitle>Installed Directories</segtitle>
|
---|
144 |
|
---|
145 | <seglistitem>
|
---|
146 | <seg>slsh</seg>
|
---|
147 | <seg>libslang.{so,a} and numerous support modules</seg>
|
---|
148 | <seg>/usr/lib/slang, /usr/share/doc/slang-&slang-version;
|
---|
149 | and /usr/share/slsh</seg>
|
---|
150 | </seglistitem>
|
---|
151 | </segmentedlist>
|
---|
152 |
|
---|
153 | <variablelist>
|
---|
154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
155 | <?dbfo list-presentation="list"?>
|
---|
156 | <?dbhtml list-presentation="table"?>
|
---|
157 |
|
---|
158 | <varlistentry id="slsh">
|
---|
159 | <term><command>slsh</command></term>
|
---|
160 | <listitem>
|
---|
161 | <para>is a simple program for interpreting
|
---|
162 | <application>S-Lang</application> scripts. It supports dynamic loading
|
---|
163 | of <application>S-Lang</application> modules and includes a
|
---|
164 | <application>Readline</application> interface for interactive
|
---|
165 | use.</para>
|
---|
166 | <indexterm zone="slang slsh">
|
---|
167 | <primary sortas="b-slsh">slsh</primary>
|
---|
168 | </indexterm>
|
---|
169 | </listitem>
|
---|
170 | </varlistentry>
|
---|
171 |
|
---|
172 | </variablelist>
|
---|
173 |
|
---|
174 | </sect2>
|
---|
175 |
|
---|
176 | </sect1>
|
---|