Re: 恀珨狟 libtermcap 涴陲昹...
On Wed, Feb 07, 2001 at 07:03:17PM +0800, email@example.com wrote:
> 涴陲昹婓 RedHat 爵醱褫眕蚚 rpm 蚾 (libtermcap-xxx.rpm)
> 筍岆扂婓 Debian 2.2 r2 爵醱蚚 apt-cache search 硐梑善
> termcap-compat 涴陲昹..
> 蚚 apt-get install termcap-compat 眳綴..
> 炵苀遜岆羶域楊 link termcap 涴跺 library..
It said you should like it with ncurses
Maintainer: Christian Hudon <firstname.lastname@example.org>
Depends: libc5 (>= 5.4.0-0)
Description: Compatibility package for old termcap-based programs.
The termcap-compat package provides the libtermcap.so.2 and /etc/termcap
files which are required to run non-Debian, binary-only termcap-based
programs. Since libc6-based programs are hopefully "modern" enough to be
linked with ncurses (or slang), this package only provides a libc5-based
You do not need to install this package to run Debian-packaged programs
since Debian GNU/Linux uses terminfo and not termcap. You need this
package if a program (that you cannot recompile) fails to run with
the error message "...: can't load library 'libtermcap.so.2'" or complains
about a missing /etc/termcap file.
The termcap-compat package isn't meant to be used to compile programs
therefore it doesn't provide all the necessary files for compilation. If you
want to compile a program that claims to need termcap, why not try
ncurses's termcap emulation instead? It's as simple as linking with ncurses
instead of libtermcap (i.e. replace the '-ltermcap' with '-lncurses' in
the makefile). Ncurses' termcap emulation routines translate terminfo entries
to termcap entries on the fly, so you don't even need an /etc/termcap file.
This package provides:
libtermcap.so shared library, version 2.0.8
termcap database, version 10.2.7