remove_termcap_entry (buf, str) char *buf; char *str;
remove_termcap_entry (char *buf, char *str)
remove_termcap_entry (buf, str)    char *buf;    char *str;{    register char *strinbuf;    strinbuf = strindex (buf, str);    if (strinbuf) {        register char *colonPtr = strchr(strinbuf+1, ':');        if (colonPtr) {            while (*colonPtr) {                *strinbuf++ = *colonPtr++;      /* copy down */            }            *strinbuf = '\0';        } else {            strinbuf[1] = '\0';        }    }    return 0;}