if (a->attr != battr)
if ((a->attr &~ DATTR_MASK) != (battr &~ DATTR_MASK))
static int termchars_equal_override(termchar *a, termchar *b,				    unsigned long bchr, unsigned long battr){    /* FULL-TERMCHAR */    if (a->chr != bchr)	return FALSE;    if (a->attr != battr)	return FALSE;    while (a->cc_next || b->cc_next) {	if (!a->cc_next || !b->cc_next)	    return FALSE;	       /* one cc-list ends, other does not */	a += a->cc_next;	b += b->cc_next;	if (a->chr != b->chr)	    return FALSE;    }    return TRUE;}