source: general/prog/slang.xml@ a6d98c2c

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 a6d98c2c was ef0722a, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags

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