Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Termcap use...

From: Mark Huizer <xaa(at)stack.nl>
Date: Wed Feb 19 1997 - 08:01:28 EST


Hmm...

What is the neat way to handle a termcap lookup??

the man page says to reserve a buffer of 1024 places and use tgetent, ok, perhaps a const in termcap would be nicer? (MAXTERMCAPENTRY or something?)...

and then... some programs seem to put it in an array with tgetstr... any clue how big that buffer should be? 2048 since any code can result in 2 char string? Anything else???

Mark


  • Mark Huizer - xaa@stack.nl - rcbamh@urc.tue.nl -
  • My one regret in life is that I am not someone else (W. Allen) -
Received on Wed Feb 19 05:03:00 1997

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:41:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library