Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!stanford.edu!leland.Stanford.EDU!krish From: krish@leland.Stanford.EDU (venkatraman) Newsgroups: comp.unix.questions Subject: Accessing terminfo Message-ID: <1991Apr3.022129.6348@leland.Stanford.EDU> Date: 3 Apr 91 02:21:29 GMT Organization: AIR, Stanford University Lines: 11 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@kronos.nisd.cam.unisys.com (128.170.2.8) Thanks in advance. nitin