TRACE(("...removed_termcap_entry('%s', '%s')\n", str, base))
TRACE(("...removed_termcap_entry('%s', '%s')\n", str, base));
remove_termcap_entry (char *buf, char *str){    char *base = buf;    char *first = base;    int count = 0;    size_t len = strlen(str);    TRACE(("*** remove_termcap_entry('%s', '%s')\n", str, buf))    while (*buf != 0) {	if (!count && !strncmp(buf, str, len)) {	    while (*buf != 0) {		if (*buf == '\\')		    buf++;		else if (*buf == ':')		    break;		if (*buf != 0)		    buf++;	    }	    while ((*first++ = *buf++) != 0)		;	    TRACE(("...removed_termcap_entry('%s', '%s')\n", str, base))	    return;	} else if (*buf == '\\') {	    buf++;	} else if (*buf == ':') {	    first = buf;	    count = 0;	} else if (!isspace(*buf)) {	    count++;	}	if (*buf != 0)	    buf++;    }    TRACE(("...cannot remove\n"))}