source: general/prog/slang.xml@ a41f643

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a41f643 was a41f643, checked in by Randy McMurchy <randy@…>, 14 years ago

Globally removed all extraneous spaces

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8412 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.7 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 "&sources-anduin-http;/s/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 "974437602a781cfe92ab61433dd16d03">
10 <!ENTITY slang-size "1.33 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><application>S-Lang</application> is an interpreted language that
33 maybe 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 &lfs65_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"><xref linkend="libpng"/>,
65 <xref linkend="pcre"/>, and
66 <ulink url="http://www.geocities.jp/kosako3/oniguruma/">Oniguruma</ulink></para>
67
68 <para condition="html" role="usernotes">User Notes:
69 <ulink url="&blfs-wiki;/slang"/></para>
70
71 </sect2>
72
73 <sect2 role="installation">
74 <title>Installation of S-Lang</title>
75
76 <para>Install <application>S-Lang</application> by running the following
77 commands:</para>
78
79<screen><userinput>sed -i 's/&lt;=/&lt;/' src/slagetput.inc &amp;&amp;
80./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
81make</userinput></screen>
82
83 <para>To test the results, issue: <command>make check</command>. Note that
84 this will also create a static version of the library which will then be
85 installed in the next step.</para>
86
87 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
88
89<screen role='root'><userinput>make \
90 install_doc_dir=/usr/share/doc/slang-&slang-version; \
91 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
92 install-all &amp;&amp;
93chmod -v 755 /usr/lib/libslang.so.&slang-version; \
94 /usr/lib/slang/v2/modules/*.so</userinput></screen>
95 </sect2>
96
97 <sect2 role="commands">
98 <title>Command Explanations</title>
99
100 <para><command>sed -i 's/&lt;=/&lt;/' src/slagetput.inc</command>:
101 This sed fixes a buffer-overflow bug.</para>
102
103 <para><command>make install_doc_dir=/usr/share/doc/slang-&slang-version;
104 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all</command>:
105 This command installs the static library as well as
106 the dynamic shared version and related modules. It also changes the
107 documentation installation directories to a versioned directory.</para>
108
109 <para><option>--with-readline=gnu</option>: Use this parameter to use the
110 Gnu <application>Readline</application> parser instead of the
111 <application>S-Lang</application> internal version.</para>
112
113 </sect2>
114
115 <sect2 role="configuration">
116 <title>Configuring S-Lang</title>
117
118 <sect3 id="slang-config">
119 <title>Config Files</title>
120 <para><filename>~/.slshrc</filename> and
121 <filename>/etc/slsh.rc</filename></para>
122
123 <indexterm zone="slang slang-config">
124 <primary sortas="e-AA.slshrc">~/.slshrc</primary>
125 </indexterm>
126
127 <indexterm zone="slang slang-config">
128 <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
129 </indexterm>
130 </sect3>
131
132 </sect2>
133
134 <sect2 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
138 <segtitle>Installed Program</segtitle>
139 <segtitle>Installed Libraries</segtitle>
140 <segtitle>Installed Directories</segtitle>
141
142 <seglistitem>
143 <seg>slsh</seg>
144 <seg>libslang.{so,a} and numerous support modules</seg>
145 <seg>/usr/lib/slang, /usr/share/doc/slang-&slang-version;
146 and /usr/share/slsh</seg>
147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155 <varlistentry id="slsh">
156 <term><command>slsh</command></term>
157 <listitem>
158 <para>is a simple program for interpreting
159 <application>S-Lang</application> scripts. It supports dynamic loading
160 of <application>S-Lang</application> modules and includes a
161 <application>Readline</application> interface for interactive
162 use.</para>
163 <indexterm zone="slang slsh">
164 <primary sortas="b-slsh">slsh</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 </variablelist>
170
171 </sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.