source: general/prog/slang.xml@ 9a9c7c2

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 9a9c7c2 was 9a9c7c2, checked in by Krejzi <krejzi@…>, 10 years ago

More checks and fixes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14017 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 KB
Line 
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 " ">
8 <!ENTITY slang-download-ftp "ftp://space.mit.edu/pub/davis/slang/v2.2/slang-&slang-version;.tar.bz2">
9 <!ENTITY slang-md5sum "7fcfd447e378f07dd0c0bae671fe6487">
10 <!ENTITY slang-size "1.4 MB">
11 <!ENTITY slang-buildsize "9.4 MB">
12 <!ENTITY slang-time "0.4 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><application>S-Lang</application> is an interpreted language that
33 may be embedded into an application to make the application extensible.
34 It provides facilities required by interactive applications such as
35 display/screen management, keyboard input and keymaps.</para>
36
37 &lfs76_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&slang-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&slang-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &slang-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &slang-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &slang-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &slang-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">S-Lang Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Optional</bridgehead>
64 <para role="optional">
65 <xref linkend="libpng"/>,
66 <xref linkend="pcre"/>, and
67 <ulink url="http://www.geocities.jp/kosako3/oniguruma/">Oniguruma</ulink>
68 </para>
69
70 <para condition="html" role="usernotes">User Notes:
71 <ulink url="&blfs-wiki;/slang"/></para>
72
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of S-Lang</title>
77
78 <note>
79 <para>
80 This package does not support parallel build.
81 </para>
82 </note>
83
84 <para>Install <application>S-Lang</application> by running the following
85 commands:</para>
86
87<screen><userinput>./configure --prefix=/usr \
88 --sysconfdir=/etc \
89 --with-readline=gnu &amp;&amp;
90make -j1</userinput></screen>
91
92 <para>To test the results, issue: <command>make check</command>. Note that
93 this will also create a static version of the library which will then be
94 installed in the next step.</para>
95
96 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
97
98<screen role='root'><userinput>make install_doc_dir=/usr/share/doc/slang-&slang-version; \
99 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
100 install-all &amp;&amp;
101
102chmod -v 755 /usr/lib/libslang.so.&slang-version; \
103 /usr/lib/slang/v2/modules/*.so</userinput></screen>
104 </sect2>
105
106 <sect2 role="commands">
107 <title>Command Explanations</title>
108
109 <para>
110 <parameter>--with-readline=gnu</parameter>: This parameter sets GNU
111 <application>Readline</application> to be used by the parser interface
112 instead of the <application>S-Lang</application> internal version.
113 </para>
114
115 <para><command>make install_doc_dir=/usr/share/doc/slang-&slang-version;
116 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all</command>:
117 This command installs the static library as well as
118 the dynamic shared version and related modules. It also changes the
119 documentation installation directories to a versioned directory.</para>
120
121 </sect2>
122
123 <sect2 role="configuration">
124 <title>Configuring S-Lang</title>
125
126 <sect3 id="slang-config">
127 <title>Config Files</title>
128 <para><filename>~/.slshrc</filename> and
129 <filename>/etc/slsh.rc</filename></para>
130
131 <indexterm zone="slang slang-config">
132 <primary sortas="e-AA.slshrc">~/.slshrc</primary>
133 </indexterm>
134
135 <indexterm zone="slang slang-config">
136 <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
137 </indexterm>
138 </sect3>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Program</segtitle>
147 <segtitle>Installed Libraries</segtitle>
148 <segtitle>Installed Directories</segtitle>
149
150 <seglistitem>
151 <seg>slsh</seg>
152 <seg>libslang.{so,a} and numerous support modules</seg>
153 <seg>/usr/lib/slang, /usr/share/doc/slang-&slang-version;
154 and /usr/share/slsh</seg>
155 </seglistitem>
156 </segmentedlist>
157
158 <variablelist>
159 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
160 <?dbfo list-presentation="list"?>
161 <?dbhtml list-presentation="table"?>
162
163 <varlistentry id="slsh">
164 <term><command>slsh</command></term>
165 <listitem>
166 <para>is a simple program for interpreting
167 <application>S-Lang</application> scripts. It supports dynamic loading
168 of <application>S-Lang</application> modules and includes a
169 <application>Readline</application> interface for interactive
170 use.</para>
171 <indexterm zone="slang slsh">
172 <primary sortas="b-slsh">slsh</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 </variablelist>
178
179 </sect2>
180
181</sect1>
Note: See TracBrowser for help on using the repository browser.