freebsd-src/release/sysinstall/rtermcap.c

16 lines
188 B
C
Raw Normal View History

#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;
}