Revision 245731844f44b0285e9ab1cadb27c21165bc8ea4 authored by Konstantin Belousov on 23 January 2010, 22:37:34 UTC, committed by Konstantin Belousov on 23 January 2010, 22:37:34 UTC
Reported by:	Michael Butler <imb protected-networks net>
Approved by:	re (bz)
1 parent 68e2384
Raw File
rtermcap.c
#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;
}
back to top