S-Lang-2.0.6

Introduction to S-Lang

The S-Lang package contains the S-Lang library, which provides facilities such as display/screen management, keyboard input, and keymaps.

Package Information

S-Lang Dependencies

Optional

libpng-1.2.12 and PCRE-6.7

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/slang

Installation of S-Lang

Install S-Lang by running the following commands:

./configure --prefix=/usr --sysconfdir=/etc &&
make &&
make elf

To test the results, issue: make runtests.

Now, as the root user:

make install-elf &&
chmod -v 755 /usr/lib/libslang.so.2.0.6

Command Explanations

--with-readline=gnu: Use this parameter to use the system-installed version of Readline instead of the S-Lang internal version.

make elf and make install-elf: These commands create and install the dynamic shared version of the S-Lang library as well as an S-Lang script interpreter and related modules.

Configuring S-Lang

Config Files

~/.slshrc and /etc/slsh.rc

Configuration Information

As with most libraries, there is no configuration to do, save that the library directory, i.e., /opt/lib or /usr/local/lib should appear in /etc/ld.so.conf so that ldd can find the shared libraries. After checking that this is the case, /sbin/ldconfig should be run while logged in as root.

Contents

Installed Program: slsh
Installed Libraries: libslang.{so,a} and numerous support modules
Installed Directories: /usr/lib/slang, /usr/share/doc/slang and /usr/share/slsh

Short Descriptions

slsh

is a simple program for interpreting S-Lang scripts. It supports dynamic loading of S-Lang modules and includes a Readline interface for interactive use.

Last updated on 2006-06-25 15:29:37 -0500