termcap - c library for type-independant terminal control strings ChangeLog


# GNU termcap 1.3.1
# =================
# Slackware 9.0, 9.1, 10.0, 10.1, and 10.2's 'libtermcap' packages include
# libtermcap version 1.2.3
# I also removepkg 'termcap' below to cover older versions of Slackware like
# 8.0 who used to use that name for the package.

# termcap is generally thought to be phased out in favor of ncurses.

# This source only provides a static version of libtermcap
# (/usr/lib/libtermcap.a).  If you need the shared version, either leave
# /lib/libtermcap.so.*, which is also part of 'elflibs' so it'll be there
# even if the 'termcap' package is removed, or don't run through this howto
# and stick with what you've got now.

test -f installed/termcap-1.3.1.tar.gz &&
mv installed/termcap-1.3.1.tar.gz .
test ! -f termcap-1.3.1.tar.gz &&
wget ftp://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz

# Verify tarball w/ md5sum:
# (this md5sum was verified OK after ftp.gnu.org was cracked)
echo "ffe6f86e63a3a29fa53ac645faaabdfa  termcap-1.3.1.tar.gz" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "termcap-*" -exec rm -r {} \;
tar xzvf ~/termcap-1.3.1.tar.gz
cd termcap-1.3.1
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr

# Become root to install it

removepkg termcap libtermcap
make install

# I would suggest against it, because critical things like bash may be using
# it, but if you want to keep your system super-tidy, you should remove
# /lib/libtermcap.so.* and then remove references to it in the elflibs
# package file (in recent versions: /var/adm/packages/aaa_elflibs-*)
# The version we just installed is only the static library:
# /usr/lib/libtermcap.a

# Become yourself again

mkdir -p installed
rm -f installed/termcap-*.tar.*
mv termcap-1.3.1.tar.gz installed/

# If you ever want to uninstall termcap, run this:
rm -f /usr/include/termcap.h /usr/info/termcap.info* /usr/lib/libtermcap.*
rm -f ~/installed/termcap-*.tar.*
find ~/src -maxdepth 1 -type d -name "termcap-*" -exec rm -r {} \;

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2005-10-04 1:05pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.