source: general/genlib/slang.xml@ b789659

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 b789659 was b789659, checked in by Randy McMurchy <randy@…>, 15 years ago

Added additional files to the chmod command in the S-Lang instructions

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

  • Property mode set to 100644
File size: 5.3 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.0/slang-&slang-version;.tar.bz2">
8 <!ENTITY slang-download-ftp "ftp://space.mit.edu/pub/davis/slang/v2.0/slang-&slang-version;.tar.bz2">
9 <!ENTITY slang-md5sum "522d9075a721ebe235211dc96c7db2d1">
10 <!ENTITY slang-size "1.0 MB">
11 <!ENTITY slang-buildsize "26 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"/> and
62 <xref linkend="pcre"/></para>
63
64 <para condition="html" role="usernotes">User Notes:
65 <ulink url="&blfs-wiki;/slang"/></para>
66
67 </sect2>
68
69 <sect2 role="installation">
70 <title>Installation of S-Lang</title>
71
72 <para>Install <application>S-Lang</application> by running the following
73 commands:</para>
74
75<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
76make &amp;&amp;
77make elf</userinput></screen>
78
79 <para>To test the results, issue: <command>make runtests</command>.</para>
80
81 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
82
83<screen role='root'><userinput>make install-elf &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><option>--with-readline=gnu</option>: Use this parameter to use the
92 system-installed version of <application>Readline</application> instead of
93 the <application>S-Lang</application> internal version.</para>
94
95 <para><command>make elf</command> and <command>make install-elf</command>:
96 These commands create and install the dynamic shared version of the
97 <application>S-Lang</application> library as well as an
98 <application>S-Lang</application> script interpreter and related
99 modules.</para>
100
101 </sect2>
102
103 <sect2 role="configuration">
104 <title>Configuring S-Lang</title>
105
106 <sect3 id="slang-config">
107 <title>Config Files</title>
108 <para><filename>~/.slshrc</filename> and
109 <filename>/etc/slsh.rc</filename></para>
110
111 <indexterm zone="slang slang-config">
112 <primary sortas="e-AA.slshrc">~/.slshrc</primary>
113 </indexterm>
114
115 <indexterm zone="slang slang-config">
116 <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
117 </indexterm>
118 </sect3>
119
120 <sect3>
121 <title>Configuration Information</title>
122
123 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
124 href="../../xincludes/lib-config.xml"/>
125
126 </sect3>
127
128 </sect2>
129
130 <sect2 role="content">
131 <title>Contents</title>
132
133 <segmentedlist>
134 <segtitle>Installed Program</segtitle>
135 <segtitle>Installed Libraries</segtitle>
136 <segtitle>Installed Directories</segtitle>
137
138 <seglistitem>
139 <seg>slsh</seg>
140 <seg>libslang.{so,a} and numerous support modules</seg>
141 <seg>/usr/lib/slang, /usr/share/doc/slang 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.