source: general/genlib/slang.xml@ 7af8778

10.0 10.1 11.0 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 7af8778 was 7af8778, checked in by Randy McMurchy <randy@…>, 14 years ago

Updated to S-Lang-2.1.1

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

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