Return to screen.c CVS log | Up to [local] / src / usr.bin / less |
version 1.8, 2001/11/19 19:02:14 | version 1.9, 2003/04/05 01:03:35 | ||
---|---|---|---|
|
|
||
if ((term = getenv("TERM")) == NULL) | if ((term = getenv("TERM")) == NULL) | ||
term = DEFAULT_TERM; | term = DEFAULT_TERM; | ||
if (tgetent(termbuf, term) <= 0) | if (tgetent(termbuf, term) <= 0) | ||
strcpy(termbuf, "dumb:hc:"); | strlcpy(termbuf, "dumb:hc:", sizeof termbuf); | ||
hard = tgetflag("hc"); | hard = tgetflag("hc"); | ||