Wrapper around infocmp command, returns terminfo data