Lines Matching full:col
72 static int col, maxcol; variable
127 (void)strcpy(termcap, "dumb:os:col#80:cr=^M:sf=^J:am:"); in main()
167 if (col == buflen) { in filter()
185 if (col > 0) in filter()
186 col--; in filter()
190 col = (col+8) & ~07; in filter()
191 if (col > maxcol) in filter()
192 maxcol = col; in filter()
196 col = 0; in filter()
246 if (obuf[col].c_char || obuf[col].c_width < 0) { in filter()
247 while (col > 0 && obuf[col].c_width < 0) in filter()
248 col--; in filter()
249 w = obuf[col].c_width; in filter()
251 obuf[col++].c_mode |= UNDERL | mode; in filter()
252 if (col > maxcol) in filter()
253 maxcol = col; in filter()
256 obuf[col].c_char = '_'; in filter()
257 obuf[col].c_width = 1; in filter()
260 col++; in filter()
261 if (col > maxcol) in filter()
262 maxcol = col; in filter()
277 if (obuf[col].c_char == '\0') { in filter()
278 obuf[col].c_char = c; in filter()
280 obuf[col + i].c_mode = mode; in filter()
281 obuf[col].c_width = w; in filter()
283 obuf[col + i].c_width = -1; in filter()
284 } else if (obuf[col].c_char == '_') { in filter()
285 obuf[col].c_char = c; in filter()
287 obuf[col + i].c_mode |= UNDERL|mode; in filter()
288 obuf[col].c_width = w; in filter()
290 obuf[col + i].c_width = -1; in filter()
291 } else if ((wint_t)obuf[col].c_char == c) { in filter()
293 obuf[col + i].c_mode |= BOLD|mode; in filter()
295 w = obuf[col].c_width; in filter()
297 obuf[col + i].c_mode = mode; in filter()
299 col += w; in filter()
300 if (col > maxcol) in filter()
301 maxcol = col; in filter()
422 col = 0; in initbuf()
432 oldcol = col; in fwd()
435 col = oldcol; in fwd()