Searched refs:WCOLS (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vput.c59 vclrbyte(vtube0, WCOLS * (WECHO - ZERO + 1));
103 if (destcol == WCOLS)
105 destline += destcol / WCOLS;
106 destcol %= WCOLS;
109 i = WCOLS - destcol;
123 destcol = WCOLS - i;
201 vclrbyte(vtube[WECHO], WCOLS);
352 vigoto(WECHO, WCOLS-20);
400 if (x >= WCOLS) {
401 y += x / WCOLS;
[all...]
H A Dex_v.c242 WCOLS = TUBECOLS;
247 columns = WCOLS;
437 WCOLS = columns;
442 WCOLS--;
456 ZERO = lines - TUBESIZE / WCOLS;
481 if (WCOLS == 1000)
485 if (WCOLS > TUBECOLS)
487 if (WLINES >= TUBELINES || WCOLS * (WECHO - ZERO + 1) > TUBESIZE)
492 vclrbyte(atube, WCOLS * (WECHO - ZERO + 1));
496 vtube[i] = atube, atube += WCOLS;
[all...]
H A Dex_vis.h73 * we can't get back). There are WCOLS columns per line.
82 var short WCOLS; variable
294 #define cindent() ((outline - vlinfo[vcline].vliny) * WCOLS + outcol)
H A Dex_vadj.c176 WCOLS = OCOLUMNS;
178 WCOLS = TUBECOLS;
181 WCOLS = TUBECOLS;
191 if (insert_null_glitch && destcol == WCOLS)
388 vclrbyte(vtube[to], WCOLS);
445 destcol = (NONL ? 0 : outcol % WCOLS);
452 destcol = (NONL ? 0 : outcol % WCOLS);
456 vclrbyte(vtube[0], WCOLS);
486 vclrbyte(vtube[to], WCOLS);
826 vclrbyte(vtube[to], WCOLS);
[all...]
H A Dex_subr.c667 OWCOLS = WCOLS;
668 if (WCOLS == 0)
669 WCOLS = columns;
670 if ((mc_wrap) == 1 && (remcols = (WCOLS - (vcntcol % WCOLS))) < cols)
672 WCOLS = OWCOLS;
H A Dex_vwind.c463 d = (column(NOSTR) + WCOLS - 1 + (Putchar == listchar) + insert_null_glitch) / WCOLS;
H A Dex_voper.c212 if (mouse_x > WCOLS)
228 mouse_x += WCOLS * (mouse_y -
235 mouse_x += WCOLS * (mouse_y - 1);
H A Dex_cmds2.c689 vclrbyte(vtube[WECHO], WCOLS);
H A Dex_vops2.c147 for (i = WCOLS - destcol; i > 0; i--) {
155 if (destline == WECHO && destcol < WCOLS-11 && vtube[WECHO][WCOLS-20])
924 vgoto(destline - 1, WCOLS + destcol - 1);
H A Dex_vget.c728 fprintf(trace, "\n%s: basWTOP=%d, basWLINES=%d, WTOP=%d, WBOT=%d, WLINES=%d, WCOLS=%d, WECHO=%d\n",
729 s, basWTOP, basWLINES, WTOP, WBOT, WLINES, WCOLS, WECHO);

Completed in 76 milliseconds