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
--
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.
Reply to: