source: general/prog/slang.xml@ 5f34cb2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5f34cb2 was 5f34cb2, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Some graphlib and python module tags

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

  • Property mode set to 100644
File size: 5.9 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY slang-download-http "http://www.jedsoft.org/releases/slang/slang-&slang-version;.tar.bz2">
8 <!ENTITY slang-download-ftp " ">
[c0ee00e]9 <!ENTITY slang-md5sum "c2d5a7aa0246627da490be4e399c87cb">
[6af5310c]10 <!ENTITY slang-size "1.5 MB">
[c0ee00e]11 <!ENTITY slang-buildsize "29 MB (add 4 MB for tests)">
12 <!ENTITY slang-time "0.4 SBU (add 0.2 SBU for tests)">
[52d29f7]13]>
14
[6af5310c]15<sect1 id="slang" xreflabel="slang-&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
[6af5310c]23 <title>slang-&slang-version;</title>
[8e75f8b9]24
[c494f25]25 <indexterm zone="slang">
[6af5310c]26 <primary sortas="a-slang">slang</primary>
[c494f25]27 </indexterm>
28
29 <sect2 role="package">
[6af5310c]30 <title>Introduction to slang</title>
[8e75f8b9]31
[de33b2a]32 <para>
33 <application>S-Lang</application> (slang) is an interpreted language
34 that may be embedded into an application to make the application
35 extensible. It provides facilities required by interactive applications
36 such as display/screen management, keyboard input and keymaps.
37 </para>
[8e75f8b9]38
[5f34cb2]39 &lfs10_checked;
[574c5ae]40
[c494f25]41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[de33b2a]44 <para>
45 Download (HTTP): <ulink url="&slang-download-http;"/></para>
[c494f25]46 </listitem>
47 <listitem>
[de33b2a]48 <para>
49 Download (FTP): <ulink url="&slang-download-ftp;"/></para>
[c494f25]50 </listitem>
51 <listitem>
[de33b2a]52 <para>
53 Download MD5 sum: &slang-md5sum;</para>
[c494f25]54 </listitem>
55 <listitem>
[de33b2a]56 <para>
57 Download size: &slang-size;</para>
[c494f25]58 </listitem>
59 <listitem>
[de33b2a]60 <para>
61 Estimated disk space required: &slang-buildsize;</para>
[c494f25]62 </listitem>
63 <listitem>
[de33b2a]64 <para>
65 Estimated build time: &slang-time;</para>
[c494f25]66 </listitem>
67 </itemizedlist>
[8e75f8b9]68
[6af5310c]69 <bridgehead renderas="sect3">Slang Dependencies</bridgehead>
[2027019]70
71 <bridgehead renderas="sect4">Optional</bridgehead>
[98d5a95]72 <para role="optional">
73 <xref linkend="libpng"/>,
74 <xref linkend="pcre"/>, and
[05ec61e9]75 <ulink url="https://github.com/kkos/oniguruma">Oniguruma</ulink>
[98d5a95]76 </para>
[2027019]77
[1039de3]78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/slang"/></para>
80
[c494f25]81 </sect2>
[8e75f8b9]82
[c494f25]83 <sect2 role="installation">
[6af5310c]84 <title>Installation of Slang</title>
[c494f25]85
[f3429309]86 <note>
[8e6de809]87 <para>
88 This package does not support parallel build.
89 </para>
90 </note>
[f3429309]91
[de33b2a]92 <para>
93 Install <application>slang</application> by running the following
94 commands:
95 </para>
[c494f25]96
[b3a719e]97<screen><userinput>./configure --prefix=/usr \
98 --sysconfdir=/etc \
99 --with-readline=gnu &amp;&amp;
[014d750f]100make -j1</userinput></screen>
[8e75f8b9]101
[de33b2a]102 <para>
103 To test the results, issue: <command>make check</command>. Note that
104 this will also create a static version of the library which will then be
105 installed in the next step.
106 </para>
[acecaa7]107
[de33b2a]108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
[8e75f8b9]111
[4b544cf]112<screen role='root'><userinput>make install_doc_dir=/usr/share/doc/slang-&slang-version; \
[98d5a95]113 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
114 install-all &amp;&amp;
115
[b789659]116chmod -v 755 /usr/lib/libslang.so.&slang-version; \
117 /usr/lib/slang/v2/modules/*.so</userinput></screen>
[c494f25]118 </sect2>
[8e75f8b9]119
[5ee44e37]120 <sect2 role="commands">
121 <title>Command Explanations</title>
[a41f643]122
[b3a719e]123 <para>
124 <parameter>--with-readline=gnu</parameter>: This parameter sets GNU
125 <application>Readline</application> to be used by the parser interface
[6af5310c]126 instead of the <application>slang</application> internal version.
[b3a719e]127 </para>
128
[de33b2a]129 <para>
130 <command>make install_doc_dir=/usr/share/doc/slang-&slang-version;
131 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all</command>:
132 This command installs the static library as well as
133 the dynamic shared version and related modules. It also changes the
134 documentation installation directories to a versioned directory.
135 </para>
[2027019]136
[5ee44e37]137 </sect2>
138
[c494f25]139 <sect2 role="configuration">
[6af5310c]140 <title>Configuring slang</title>
[2027019]141
142 <sect3 id="slang-config">
143 <title>Config Files</title>
[de33b2a]144 <para>
145 <filename>~/.slshrc</filename> and
146 <filename>/etc/slsh.rc</filename>
147 </para>
[2027019]148
149 <indexterm zone="slang slang-config">
150 <primary sortas="e-AA.slshrc">~/.slshrc</primary>
151 </indexterm>
152
153 <indexterm zone="slang slang-config">
154 <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
155 </indexterm>
156 </sect3>
[c494f25]157
158 </sect2>
[8e75f8b9]159
[c494f25]160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
[2027019]164 <segtitle>Installed Program</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
[8e75f8b9]167
[c494f25]168 <seglistitem>
[2027019]169 <seg>slsh</seg>
[1039de3]170 <seg>libslang.{so,a} and numerous support modules</seg>
[7af8778]171 <seg>/usr/lib/slang, /usr/share/doc/slang-&slang-version;
172 and /usr/share/slsh</seg>
[c494f25]173 </seglistitem>
174 </segmentedlist>
175
[2027019]176 <variablelist>
177 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
178 <?dbfo list-presentation="list"?>
179 <?dbhtml list-presentation="table"?>
180
181 <varlistentry id="slsh">
182 <term><command>slsh</command></term>
183 <listitem>
[de33b2a]184 <para>
185 is a simple program for interpreting
186 <application>slang</application> scripts. It supports dynamic
187 loading of <application>slang</application> modules and includes a
188 <application>Readline</application> interface for interactive use.
189 </para>
[2027019]190 <indexterm zone="slang slsh">
191 <primary sortas="b-slsh">slsh</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 </variablelist>
197
[c494f25]198 </sect2>
[f45b1953]199
200</sect1>
Note: See TracBrowser for help on using the repository browser.