source: general/genlib/slang.xml@ 6129b81

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6129b81 was 574c5ae, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to S-Lang-2.2.0.

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

  • Property mode set to 100644
File size: 5.7 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
[574c5ae]7 <!ENTITY slang-download-http "&sources-anduin-http;/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 "2593b390c6db81b840f6b48b0e768fa0">
10 <!ENTITY slang-size "1.3 MB">
[f6610df]11 <!ENTITY slang-buildsize "28 MB">
[574c5ae]12 <!ENTITY slang-time "0.3 SBU">
[52d29f7]13]>
14
[2027019]15<sect1 id="slang" xreflabel="S-Lang-&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
[2027019]23 <title>S-Lang-&slang-version;</title>
[8e75f8b9]24
[c494f25]25 <indexterm zone="slang">
[2027019]26 <primary sortas="a-S-Lang">S-Lang</primary>
[c494f25]27 </indexterm>
28
29 <sect2 role="package">
[2027019]30 <title>Introduction to S-Lang</title>
[8e75f8b9]31
[2027019]32 <para>The <application>S-Lang</application> package contains the
33 <application>S-Lang</application> library, which provides facilities
[c494f25]34 such as display/screen management, keyboard input, and keymaps.</para>
[8e75f8b9]35
[574c5ae]36 &lfs65_checked;
37
[c494f25]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&slang-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&slang-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &slang-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &slang-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &slang-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &slang-time;</para>
57 </listitem>
58 </itemizedlist>
[8e75f8b9]59
[2027019]60 <bridgehead renderas="sect3">S-Lang Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Optional</bridgehead>
[7af8778]63 <para role="optional"><xref linkend="libpng"/>,
64 <xref linkend="pcre"/>, and
65 <ulink url="http://www.geocities.jp/kosako3/oniguruma/">Oniguruma</ulink></para>
[2027019]66
[1039de3]67 <para condition="html" role="usernotes">User Notes:
68 <ulink url="&blfs-wiki;/slang"/></para>
69
[c494f25]70 </sect2>
[8e75f8b9]71
[c494f25]72 <sect2 role="installation">
[2027019]73 <title>Installation of S-Lang</title>
[c494f25]74
[2027019]75 <para>Install <application>S-Lang</application> by running the following
[c494f25]76 commands:</para>
77
[2027019]78<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[7af8778]79make</userinput></screen>
[8e75f8b9]80
[458e7586]81 <para>To test the results, issue: <command>make check</command>. Note that
82 this will also create a static version of the library which will then be
83 installed in the next step.</para>
[acecaa7]84
[c494f25]85 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[8e75f8b9]86
[458e7586]87<screen role='root'><userinput>make \
88 install_doc_dir=/usr/share/doc/slang-&slang-version; \
89 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
90 install-all &amp;&amp;
[b789659]91chmod -v 755 /usr/lib/libslang.so.&slang-version; \
92 /usr/lib/slang/v2/modules/*.so</userinput></screen>
[c494f25]93 </sect2>
[8e75f8b9]94
[5ee44e37]95 <sect2 role="commands">
96 <title>Command Explanations</title>
97
[7af8778]98 <para><command>make install_doc_dir=/usr/share/doc/slang-&slang-version;
[458e7586]99 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all</command>:
100 This command installs the static library as well as
[7af8778]101 the dynamic shared version and related modules. It also changes the
[458e7586]102 documentation installation directories to a versioned directory.</para>
[2027019]103
[7af8778]104 <para><option>--with-readline=gnu</option>: Use this parameter to use the
105 Gnu <application>Readline</application> parser instead of the
106 <application>S-Lang</application> internal version.</para>
[5ee44e37]107
108 </sect2>
109
[c494f25]110 <sect2 role="configuration">
[2027019]111 <title>Configuring S-Lang</title>
112
113 <sect3 id="slang-config">
114 <title>Config Files</title>
115 <para><filename>~/.slshrc</filename> and
116 <filename>/etc/slsh.rc</filename></para>
117
118 <indexterm zone="slang slang-config">
119 <primary sortas="e-AA.slshrc">~/.slshrc</primary>
120 </indexterm>
121
122 <indexterm zone="slang slang-config">
123 <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
124 </indexterm>
125 </sect3>
[c494f25]126
127 <sect3>
128 <title>Configuration Information</title>
[8e75f8b9]129
[ebabf24]130 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
131 href="../../xincludes/lib-config.xml"/>
[8e75f8b9]132
[c494f25]133 </sect3>
[8e75f8b9]134
[c494f25]135 </sect2>
[8e75f8b9]136
[c494f25]137 <sect2 role="content">
138 <title>Contents</title>
139
140 <segmentedlist>
[2027019]141 <segtitle>Installed Program</segtitle>
142 <segtitle>Installed Libraries</segtitle>
143 <segtitle>Installed Directories</segtitle>
[8e75f8b9]144
[c494f25]145 <seglistitem>
[2027019]146 <seg>slsh</seg>
[1039de3]147 <seg>libslang.{so,a} and numerous support modules</seg>
[7af8778]148 <seg>/usr/lib/slang, /usr/share/doc/slang-&slang-version;
149 and /usr/share/slsh</seg>
[c494f25]150 </seglistitem>
151 </segmentedlist>
152
[2027019]153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="slsh">
159 <term><command>slsh</command></term>
160 <listitem>
161 <para>is a simple program for interpreting
162 <application>S-Lang</application> scripts. It supports dynamic loading
163 of <application>S-Lang</application> modules and includes a
164 <application>Readline</application> interface for interactive
165 use.</para>
166 <indexterm zone="slang slsh">
167 <primary sortas="b-slsh">slsh</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 </variablelist>
173
[c494f25]174 </sect2>
[f45b1953]175
176</sect1>
Note: See TracBrowser for help on using the repository browser.