[comp.unix.questions] termcap or terminfo?

gwyn@smoke.BRL.MIL (Doug Gwyn) (03/28/90)

In article <255@mavrick.UUCP> daisy@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.