* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)tc2.c 5.1 (Berkeley) %G%";
* Dummy program to test out termlib.
* Commands are "tcc\n" where t is type (s for string, f for flag,
* or n for number) and cc is the name of the capability.
char *getenv(), *tgetstr();
main(argc
, argv
) char **argv
; {
printf("%s: %d\n",b
,tgetflag(b
));
printf("%s: %d\n",b
,tgetnum(b
));
printf("%s: %s\n",b
,tgetstr(b
,&q
));