[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 恀珨狟 libtermcap 涴陲昹...



On Wed, Feb 07, 2001 at 07:03:17PM +0800, phinex@hpcc.ee.nthu.edu.tw 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

Package: termcap-compat
Priority: extra
Section: oldlibs
Installed-Size: 651
Maintainer: Christian Hudon <chrish@debian.org>
Architecture: i386
Version: 1.2.3
Replaces: libtermcap
Depends: libc5 (>= 5.4.0-0)
Conflicts: libtermcap
Filename: dists/potato/main/binary-i386/oldlibs/termcap-compat_1.2.3.deb
Size: 217490
MD5sum: 5c520fed199307446686ef5b61c5ea2a
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
 libtermcap library.
 .
 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

-- 
Best regard
hashao



Reply to: