Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/vi/port/
H A Dex_vput.c59 vclrbyte(vtube0, WCOLS * (WECHO - ZERO + 1)); in vclear()
103 if (destcol == WCOLS) in vclreol()
105 destline += destcol / WCOLS; in vclreol()
106 destcol %= WCOLS; in vclreol()
109 i = WCOLS - destcol; in vclreol()
123 destcol = WCOLS - i; in vclreol()
201 vclrbyte(vtube[WECHO], WCOLS);
352 vigoto(WECHO, WCOLS-20); in vshowmode()
400 if (x >= WCOLS) { in vgoto()
401 y += x / WCOLS; in vgoto()
[all …]
H A Dex_v.c242 WCOLS = TUBECOLS; in oop()
247 columns = WCOLS; in oop()
437 WCOLS = columns; in setwind()
442 WCOLS--; in setwind()
456 ZERO = lines - TUBESIZE / WCOLS; in setwind()
481 if (WCOLS == 1000) in vok()
485 if (WCOLS > TUBECOLS) in vok()
487 if (WLINES >= TUBELINES || WCOLS * (WECHO - ZERO + 1) > TUBESIZE) in vok()
492 vclrbyte(atube, WCOLS * (WECHO - ZERO + 1)); in vok()
496 vtube[i] = atube, atube += WCOLS; in vok()
H A Dex_vadj.c176 WCOLS = OCOLUMNS; in vreopen()
178 WCOLS = TUBECOLS; in vreopen()
181 WCOLS = TUBECOLS; in vreopen()
191 if (insert_null_glitch && destcol == WCOLS) in vreopen()
388 vclrbyte(vtube[to], WCOLS); in vadjAL()
445 destcol = (NONL ? 0 : outcol % WCOLS); in vmoveitup()
452 destcol = (NONL ? 0 : outcol % WCOLS); in vmoveitup()
456 vclrbyte(vtube[0], WCOLS); in vmoveitup()
486 vclrbyte(vtube[to], WCOLS); in vscroll()
826 vclrbyte(vtube[to], WCOLS); in vadjDL()
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_vis.h82 var short WCOLS; variable
294 #define cindent() ((outline - vlinfo[vcline].vliny) * WCOLS + outcol)
H A Dex_vwind.c463 d = (column(NOSTR) + WCOLS - 1 + (Putchar == listchar) + insert_null_glitch) / WCOLS; in vdepth()
H A Dex_vops2.c147 for (i = WCOLS - destcol; i > 0; i--) { in ateopr()
155 if (destline == WECHO && destcol < WCOLS-11 && vtube[WECHO][WCOLS-20]) in ateopr()
924 vgoto(destline - 1, WCOLS + destcol - 1); in back1()
H A Dex_voper.c212 if (mouse_x > WCOLS) in operate()
228 mouse_x += WCOLS * (mouse_y - in operate()
235 mouse_x += WCOLS * (mouse_y - 1); in operate()
H A Dex_cmds2.c689 vclrbyte(vtube[WECHO], WCOLS); in vnfl()
H A Dex_vget.c729 s, basWTOP, basWLINES, WTOP, WBOT, WLINES, WCOLS, WECHO);