version 1.3, 1997/02/25 00:04:25 |
version 1.4, 2001/11/19 19:02:18 |
|
|
tttgetstr(str) |
tttgetstr(str) |
char *str; |
char *str; |
{ |
{ |
register struct tt_str *s; |
struct tt_str *s; |
|
|
if ((str = tgetstr(str, &tt_strp)) == 0) |
if ((str = tgetstr(str, &tt_strp)) == 0) |
return 0; |
return 0; |
|
|
ttxgetstr(str) |
ttxgetstr(str) |
char *str; |
char *str; |
{ |
{ |
register struct tt_str *s; |
struct tt_str *s; |
char buf[100]; |
char buf[100]; |
char *bufp = buf; |
char *bufp = buf; |
|
|
|
|
tttgoto(s, col, row) |
tttgoto(s, col, row) |
struct tt_str *s; |
struct tt_str *s; |
{ |
{ |
register char *p = s->ts_str; |
char *p = s->ts_str; |
|
|
ttputs(tgoto(p, col, row)); |
ttputs(tgoto(p, col, row)); |
for (p += s->ts_n; *--p == 0;) |
for (p += s->ts_n; *--p == 0;) |
|
|
} |
} |
|
|
ttstrcmp(a, b) |
ttstrcmp(a, b) |
register struct tt_str *a, *b; |
struct tt_str *a, *b; |
{ |
{ |
int n, r; |
int n, r; |
|
|