Lines Matching +full:5 +full:bg
46 #define MAX_ESC_PAR 5
51 u_short bg; /* background color */ member
140 tcp->dflt_std_color.bg = (SC_NORM_ATTR >> 4) & 0x0f; in scterm_init()
142 tcp->dflt_rev_color.bg = (SC_NORM_REV_ATTR >> 4) & 0x0f; in scterm_init()
247 tcp->esc = 5; in scterm_scan_esc()
419 case 5: /* blink */ in scterm_scan_esc()
455 case 40: case 41: /* set ansi bg color */ in scterm_scan_esc()
459 tcp->cur_color.bg = ansi_col[n - 40]; in scterm_scan_esc()
462 case 49: /* restore bg color back to normal */ in scterm_scan_esc()
464 tcp->cur_color.bg = tcp->std_color.bg; in scterm_scan_esc()
497 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc()
511 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc()
515 case 5: /* set ansi reverse background */ in scterm_scan_esc()
516 tcp->rev_color.bg = ansi_col[tcp->param[1] & 0x0f]; in scterm_scan_esc()
525 tcp->rev_color.bg = (tcp->param[1] >> 4) & 0x0f; in scterm_scan_esc()
616 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc()
631 tcp->rev_color.bg = tcp->param[0] & 0x0f; in scterm_scan_esc()
657 } else if (tcp->esc == 5) { /* seen ESC ( */ in scterm_scan_esc()
720 vi->mv_norm.back = tcp->std_color.bg; in scterm_ioctl()
722 vi->mv_rev.back = tcp->rev_color.bg; in scterm_ioctl()
744 tcp->dflt_std_color.bg = (color >> 4) & 0x0f; in scterm_default_attr()
746 tcp->dflt_rev_color.bg = (rev_color >> 4) & 0x0f; in scterm_default_attr()
804 tcp->cur_color.bg : tcp->rev_color.fg) | in mask2attr()
806 tcp->cur_color.fg : tcp->rev_color.bg) << 4); in mask2attr()
808 attr = tcp->cur_color.fg | (tcp->cur_color.bg << 4); in mask2attr()