diff options
Diffstat (limited to 'sbin/sysinstall/rtermcap.c')
-rw-r--r-- | sbin/sysinstall/rtermcap.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sbin/sysinstall/rtermcap.c b/sbin/sysinstall/rtermcap.c new file mode 100644 index 0000000..3f18e8b --- /dev/null +++ b/sbin/sysinstall/rtermcap.c @@ -0,0 +1,14 @@ +#include <stdio.h> +#include <termcap.h> + +int +main(int argc, char **argv) +{ + char buf[4096]; + int i; + + i = tgetent(buf, argv[1]); + + printf("%s",buf); + return 0; +} |