FreeBSD-5.3/usr.sbin/sysinstall/rtermcap.c

Compare this file to the similar file:
Show the results in this format:

#include <stdio.h>
#include <termcap.h>

int
main(int argc, char **argv)
{
	char	buf[4096];
	int	i;

	if (argc < 2)
		return 1;
	i = tgetent(buf, argv[1]);
	printf("%s",buf);
	return 0;
}