source: general/prog/slang.xml

trunk
Last change on this file was abfacaf, checked in by Xi Ruoyao <xry111@…>, 8 weeks ago

Remove most references to PCRE1

Some notes:

  • proftpd has been supporting PCRE2 since 1.3.8a.
  • bluefish actually invokes PCRE via Glib, so since Glib was ported from PCRE1 to PCRE2 bluefish has been using PCRE2 in fact.
  • zsh and rasqal will support PCRE2 in the next release. For zsh pcre is not used with book instruction anyway, and for rasqal the maintainer suggests just relying on Glibc regex.h before the next release.
  • The other distros (Fedora for eg) are already disabling PCRE for slang.
  • Property mode set to 100644
File size: 5.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 "https://www.jedsoft.org/releases/slang/slang-&slang-version;.tar.bz2">
8 <!ENTITY slang-download-ftp " ">
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)">
13]>
14
15<sect1 id="slang" xreflabel="slang-&slang-version;">
16 <?dbhtml filename="slang.html"?>
17
18
19 <title>slang-&slang-version;</title>
20
21 <indexterm zone="slang">
22 <primary sortas="a-slang">slang</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to slang</title>
27
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>
34
35 &lfs121_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&slang-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&slang-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &slang-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>
53 Download size: &slang-size;</para>
54 </listitem>
55 <listitem>
56 <para>
57 Estimated disk space required: &slang-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated build time: &slang-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">Slang Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Optional</bridgehead>
68 <para role="optional">
69 <xref linkend="libpng"/> and
70 <ulink url="https://github.com/kkos/oniguruma">Oniguruma</ulink>
71 </para>
72
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of Slang</title>
77
78 <note>
79 <para>
80 This package does not support parallel build.
81 </para>
82 </note>
83
84 <para>
85 Install <application>slang</application> by running the following
86 commands:
87 </para>
88
89<screen><userinput>./configure --prefix=/usr \
90 --sysconfdir=/etc \
91 --with-readline=gnu &amp;&amp;
92make -j1</userinput></screen>
93
94 <para>
95 To test the results, issue: <command>make check</command>.
96 </para>
97
98 <para>
99 Now, as the <systemitem class="username">root</systemitem> user:
100 </para>
101
102<screen role='root'><userinput>make install_doc_dir=/usr/share/doc/slang-&slang-version; \
103 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
104 install</userinput></screen>
105 </sect2>
106
107 <sect2 role="commands">
108 <title>Command Explanations</title>
109
110 <para>
111 <parameter>--with-readline=gnu</parameter>: This parameter sets GNU
112 <application>Readline</application> to be used by the parser interface
113 instead of the <application>slang</application> internal version.
114 </para>
115
116 <para>
117 <command>make install_doc_dir=/usr/share/doc/slang-&slang-version;
118 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install</command>:
119 This command installs this package with a versioned documentation
120 installation directory.
121 </para>
122
123 </sect2>
124
125 <sect2 role="configuration">
126 <title>Configuring slang</title>
127
128 <sect3 id="slang-config">
129 <title>Config Files</title>
130 <para>
131 <filename>~/.slshrc</filename> and
132 <filename>/etc/slsh.rc</filename>
133 </para>
134
135 <indexterm zone="slang slang-config">
136 <primary sortas="e-AA.slshrc">~/.slshrc</primary>
137 </indexterm>
138
139 <indexterm zone="slang slang-config">
140 <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
141 </indexterm>
142 </sect3>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Program</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>slsh</seg>
156 <seg>libslang.so and numerous support modules</seg>
157 <seg>/usr/lib/slang, /usr/share/doc/slang-&slang-version;
158 and /usr/share/slsh</seg>
159 </seglistitem>
160 </segmentedlist>
161
162 <variablelist>
163 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
164 <?dbfo list-presentation="list"?>
165 <?dbhtml list-presentation="table"?>
166
167 <varlistentry id="slsh">
168 <term><command>slsh</command></term>
169 <listitem>
170 <para>
171 is a simple program for interpreting
172 <application>slang</application> scripts. It supports dynamic
173 loading of <application>slang</application> modules and includes a
174 <application>Readline</application> interface for interactive use
175 </para>
176 <indexterm zone="slang slsh">
177 <primary sortas="b-slsh">slsh</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 </variablelist>
183
184 </sect2>
185
186</sect1>
Note: See TracBrowser for help on using the repository browser.