source: general/genlib/slang.xml@ b834dfc7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 b834dfc7 was 458e7586, checked in by Randy McMurchy <randy@…>, 16 years ago

Updated to S-Lang-2.1.3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7261 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
[7af8778]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">
[458e7586]9 <!ENTITY slang-md5sum "0e4ae3aac75441eaa230bceb7811f088">
[7af8778]10 <!ENTITY slang-size "1.1 MB">
[458e7586]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>
[7af8778]61 <para role="optional"><xref linkend="libpng"/>,
62 <xref linkend="pcre"/>, and
63 <ulink url="http://www.geocities.jp/kosako3/oniguruma/">Oniguruma</ulink></para>
[2027019]64
[1039de3]65 <para condition="html" role="usernotes">User Notes:
66 <ulink url="&blfs-wiki;/slang"/></para>
67
[c494f25]68 </sect2>
[8e75f8b9]69
[c494f25]70 <sect2 role="installation">
[2027019]71 <title>Installation of S-Lang</title>
[c494f25]72
[2027019]73 <para>Install <application>S-Lang</application> by running the following
[c494f25]74 commands:</para>
75
[2027019]76<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[7af8778]77make</userinput></screen>
[8e75f8b9]78
[458e7586]79 <para>To test the results, issue: <command>make check</command>. Note that
80 this will also create a static version of the library which will then be
81 installed in the next step.</para>
[acecaa7]82
[c494f25]83 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[8e75f8b9]84
[458e7586]85<screen role='root'><userinput>make \
86 install_doc_dir=/usr/share/doc/slang-&slang-version; \
87 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh \
88 install-all &amp;&amp;
[b789659]89chmod -v 755 /usr/lib/libslang.so.&slang-version; \
90 /usr/lib/slang/v2/modules/*.so</userinput></screen>
[c494f25]91 </sect2>
[8e75f8b9]92
[5ee44e37]93 <sect2 role="commands">
94 <title>Command Explanations</title>
95
[7af8778]96 <para><command>make install_doc_dir=/usr/share/doc/slang-&slang-version;
[458e7586]97 SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all</command>:
98 This command installs the static library as well as
[7af8778]99 the dynamic shared version and related modules. It also changes the
[458e7586]100 documentation installation directories to a versioned directory.</para>
[2027019]101
[7af8778]102 <para><option>--with-readline=gnu</option>: Use this parameter to use the
103 Gnu <application>Readline</application> parser instead of the
104 <application>S-Lang</application> internal version.</para>
[5ee44e37]105
106 </sect2>
107
[c494f25]108 <sect2 role="configuration">
[2027019]109 <title>Configuring S-Lang</title>
110
111 <sect3 id="slang-config">
112 <title>Config Files</title>
113 <para><filename>~/.slshrc</filename> and
114 <filename>/etc/slsh.rc</filename></para>
115
116 <indexterm zone="slang slang-config">
117 <primary sortas="e-AA.slshrc">~/.slshrc</primary>
118 </indexterm>
119
120 <indexterm zone="slang slang-config">
121 <primary sortas="e-etc-slsh">/etc/slsh.rc</primary>
122 </indexterm>
123 </sect3>
[c494f25]124
125 <sect3>
126 <title>Configuration Information</title>
[8e75f8b9]127
[ebabf24]128 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
129 href="../../xincludes/lib-config.xml"/>
[8e75f8b9]130
[c494f25]131 </sect3>
[8e75f8b9]132
[c494f25]133 </sect2>
[8e75f8b9]134
[c494f25]135 <sect2 role="content">
136 <title>Contents</title>
137
138 <segmentedlist>
[2027019]139 <segtitle>Installed Program</segtitle>
140 <segtitle>Installed Libraries</segtitle>
141 <segtitle>Installed Directories</segtitle>
[8e75f8b9]142
[c494f25]143 <seglistitem>
[2027019]144 <seg>slsh</seg>
[1039de3]145 <seg>libslang.{so,a} and numerous support modules</seg>
[7af8778]146 <seg>/usr/lib/slang, /usr/share/doc/slang-&slang-version;
147 and /usr/share/slsh</seg>
[c494f25]148 </seglistitem>
149 </segmentedlist>
150
[2027019]151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
155
156 <varlistentry id="slsh">
157 <term><command>slsh</command></term>
158 <listitem>
159 <para>is a simple program for interpreting
160 <application>S-Lang</application> scripts. It supports dynamic loading
161 of <application>S-Lang</application> modules and includes a
162 <application>Readline</application> interface for interactive
163 use.</para>
164 <indexterm zone="slang slsh">
165 <primary sortas="b-slsh">slsh</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 </variablelist>
171
[c494f25]172 </sect2>
[f45b1953]173
174</sect1>
Note: See TracBrowser for help on using the repository browser.