source: general/prog/slang.xml@ fa7b637

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since fa7b637 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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