termcap or terminfo?

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Mar 28 08:49:59 AEST 1990


In article <255 at mavrick.UUCP> daisy at mavrick.UUCP (daisy basto) writes:
>I think it's using terminfo though. When I tried compiling a C program with
>-ltermcap it couldn't find that library. And, by the way, I'm using SysV.

Try -ltermlib, which is the proper name for the termcap support library.
Or, try -lcurses; it it satisfies references to the tgetent() etc. calls
then it's probably terminfo-based, otherwise you would have needed both
-lcurses and -ltermlib for curses-using applications.



More information about the Comp.unix.questions mailing list