version 1.6, 2000/04/14 18:43:34 |
version 1.7, 2000/04/15 05:22:14 |
|
|
*/ |
*/ |
#ifdef NCURSES_VERSION |
#ifdef NCURSES_VERSION |
wwterm = strdup(_nc_first_name(cur_term->type.term_names)); |
wwterm = strdup(_nc_first_name(cur_term->type.term_names)); |
#else |
#elif !defined(TERMINFO) |
if ((p = strchr(wwtermcap, '|')) && p - wwtermcap == 2) { |
if ((p = strchr(wwtermcap, '|')) && p - wwtermcap == 2) { |
/* Skip the two-character short name. */ |
/* Skip the two-character short name. */ |
for (p = wwtermcap; *p && *p != '|' && *p != ':'; p++) |
for (p = wwtermcap; *p && *p != '|' && *p != ':'; p++) |