On Tue, Sep 29, 2020 at 12:43:14PM +0200, Petr Pisar wrote:
> The built-in path is: /etc/termcap, /usr/share/misc/termcap. But none of these
> directories exist in Fedora. ncurses-base has /usr/share/terminfo. My
> knowledge about termcap and terminfo is zero, but it seems that
> /usr/share/terminfo files are binary files, while perl-Term-Cap expects
> a plain text files. Maybe that's the difference between termcap and terminfo.

termcap is an obsolete format of terminal descriptions, which has some
major limitions. Long time ago, Fedora shipped a termcap translated
from the ncurses terminfo database, but everything should be using
terminfo now.

> And thus the hard dependency on ncurses is correct. At the end Term::Cap
> documentation defines the Perl module as "a Perl termcap interface". Not as a
> terminfo interface.

Makes sense to me.

-- 
Miroslav Lichvar
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to