TERMINFO to TERMCAP conversion.

Peter da Silva peter at ficc.uu.net
Wed Apr 11 07:37:53 AEST 1990


One of the other advantages of TERMCAP is that you can do the equivalent of:

	putenv("TERMCAP", another_termcap_format_file);
	tgetent(buffer, some_name);
	stuff = tgetstr("zx", &area);

That is, the routines make up a general property-list type capability
that you can use in all sorts of ways. Consider printcap/modemcap/etc...
-- 
 _--_|\  `-_-' Peter da Silva. +1 713 274 5180. <peter at ficc.uu.net>.
/      \  'U`
\_.--._/
      v



More information about the Comp.unix.questions mailing list