Lines Matching refs:af
69 char *af = ""; /* AF */ /* ansi foreground */
86 af = "";
146 if ( (af = tgetstr ("AF", &ap)) ) /* set ansi color foreground */
149 snprintf (colortab[i], sizeof colortab[0], "%s", tparm (af, i));
151 else if ( (af = tgetstr ("Sf", &ap)) ) /* or set color foreground */
153 snprintf (colortab[TC_BLACK], sizeof colortab[0], "%s", tparm (af, 0));
154 snprintf (colortab[TC_BLUE], sizeof colortab[0], "%s", tparm (af, 1));
155 snprintf (colortab[TC_GREEN], sizeof colortab[0], "%s", tparm (af, 2));
156 snprintf (colortab[TC_CYAN], sizeof colortab[0], "%s", tparm (af, 3));
157 snprintf (colortab[TC_RED], sizeof colortab[0], "%s", tparm (af, 4));
158 snprintf (colortab[TC_MAGENTA], sizeof colortab[0], "%s", tparm (af, 5));
159 snprintf (colortab[TC_YELLOW], sizeof colortab[0], "%s", tparm (af, 6));
160 snprintf (colortab[TC_WHITE], sizeof colortab[0], "%s", tparm (af, 7));