tigetstr
if ((lsc_bold = tigetstr("bold")) == (char *)-1)
if ((lsc_underline = tigetstr("smul")) == (char *)-1)
if ((lsc_blink = tigetstr("blink")) == (char *)-1)
if ((lsc_reverse = tigetstr("rev")) == (char *)-1)
if ((lsc_concealed = tigetstr("prot")) == (char *)-1)
if ((lsc_none = tigetstr("sgr0")) == (char *)-1)
if ((lsc_setfg = tigetstr("setaf")) == (char *)-1)
if ((lsc_setbg = tigetstr("setab")) == (char *)-1)
str = tigetstr(ta->ta_name);
if ((str = tigetstr(ta->ta_name)) != NULL) {
extern const char *tigetstr(const char *);
if ((ULenter = tigetstr("smul")) == NULL &&
(!underline_char) && (ULenter = tigetstr("smso")) == NULL)
if ((ULexit = tigetstr("rmul")) == NULL &&
(!underline_char) && (ULexit = tigetstr("rmso")) == NULL)
t_ulon = tigetstr("smul");
t_uloff = tigetstr("rmul");
t_up = tigetstr("cuu1");
t_eol = tigetstr("el");
t_smcup = tigetstr("smcup");
t_rmcup = tigetstr("rmcup");
t_home = tigetstr("home");
} else if (!tigetstr("hts")) {
if ((thisstr = tigetstr(cap)) != (char *)-1) {
const char *value = tigetstr((char *)name);
else if ((p = tigetstr(*_argv)) != (char*) -1) {