source: general/genlib/slang.xml@ b789659

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b789659 was b789659, checked in by Randy McMurchy <randy@…>, 17 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
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
[2027019]7 <!ENTITY slang-download-http "http://gd.tuwien.ac.at/editors/davis/slang/v2.0/slang-&slang-version;.tar.bz2">
[8f38c8e7]8 <!ENTITY slang-download-ftp "ftp://space.mit.edu/pub/davis/slang/v2.0/slang-&slang-version;.tar.bz2">
[13f7a42c]9 <!ENTITY slang-md5sum "522d9075a721ebe235211dc96c7db2d1">
[8f38c8e7]10 <!ENTITY slang-size "1.0 MB">
[13f7a42c]11 <!ENTITY slang-buildsize "26 MB">
[0762c70]12 <!ENTITY slang-time "0.5 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
[c494f25]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>
[8e75f8b9]57
[2027019]58 <bridgehead renderas="sect3">S-Lang Dependencies</bridgehead>
59
60 <bridgehead renderas="sect4">Optional</bridgehead>
[ebabf24]61 <para role="optional"><xref linkend="libpng"/> and
62 <xref linkend="pcre"/></para>
[2027019]63
[1039de3]64 <para condition="html" role="usernotes">User Notes:
65 <ulink url="&blfs-wiki;/slang"/></para>
66
[c494f25]67 </sect2>
[8e75f8b9]68
[c494f25]69 <sect2 role="installation">
[2027019]70 <title>Installation of S-Lang</title>
[c494f25]71
[2027019]72 <para>Install <application>S-Lang</application> by running the following
[c494f25]73 commands:</para>
74
[2027019]75<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
76make &amp;&amp;
77make elf</userinput></screen>
[8e75f8b9]78
[2027019]79 <para>To test the results, issue: <command>make runtests</command>.</para>
[acecaa7]80
[c494f25]81 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[8e75f8b9]82
[c494f25]83<screen role='root'><userinput>make install-elf &amp;&amp;
[b789659]84chmod -v 755 /usr/lib/libslang.so.&slang-version; \
85 /usr/lib/slang/v2/modules/*.so</userinput></screen>
[c494f25]86 </sect2>
[8e75f8b9]87
[5ee44e37]88 <sect2 role="commands">
89 <title>Command Explanations</title>
90
[2027019]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
[bccbdaea]95 <para><command>make elf</command> and <command>make install-elf</command>:
[2027019]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>
[5ee44e37]100
101 </sect2>
102
[c494f25]103 <sect2 role="configuration">
[2027019]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>
[c494f25]119
120 <sect3>
121 <title>Configuration Information</title>
[8e75f8b9]122
[ebabf24]123 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
124 href="../../xincludes/lib-config.xml"/>
[8e75f8b9]125
[c494f25]126 </sect3>
[8e75f8b9]127
[c494f25]128 </sect2>
[8e75f8b9]129
[c494f25]130 <sect2 role="content">
131 <title>Contents</title>
132
133 <segmentedlist>
[2027019]134 <segtitle>Installed Program</segtitle>
135 <segtitle>Installed Libraries</segtitle>
136 <segtitle>Installed Directories</segtitle>
[8e75f8b9]137
[c494f25]138 <seglistitem>
[2027019]139 <seg>slsh</seg>
[1039de3]140 <seg>libslang.{so,a} and numerous support modules</seg>
[2027019]141 <seg>/usr/lib/slang, /usr/share/doc/slang and /usr/share/slsh</seg>
[c494f25]142 </seglistitem>
143 </segmentedlist>
144
[2027019]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
[c494f25]166 </sect2>
[f45b1953]167
168</sect1>
Note: See TracBrowser for help on using the repository browser.