- /*
- * The termcap file generally has a two-character name first in each
- * entry followed by more descriptive names. If we ended up with the
- * first one, we switch to the second one for setting or reporting
- * information.
- */
- p = strpbrk(tcapbuf, "|:");
- if (p && *p != ':' && !strncmp(ttype, tcapbuf, p - tcapbuf)) {
- t = ++p;