Accessing terminfo

venkatraman krish at leland.Stanford.EDU
Wed Apr 3 12:21:29 AEST 1991


Is there an API to get information from a terminfo data base?

I am trying to find programmatically, the device specific escape sequence associated with various printers. The required information is stored in terminfo data base. I can use 'tput' and 'popen' to get the required info, but that would be a very cumbersome method.

Please reply to this message at nitinm at kronos.nisd.cam.unisys.com
(128.170.2.8)

Thanks in advance.

nitin



More information about the Comp.unix.questions mailing list