Home
last modified time | relevance | path

Searched refs:destcol (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/ucblib/libcurses/
H A Dcr_put.c52 static int outcol, outline, destcol, destline; variable
63 destcol = x; in mvcur()
77 if (destcol >= COLS) { in fgoto()
78 destline += destcol / COLS; in fgoto()
79 destcol %= COLS; in fgoto()
109 c = destcol; in fgoto()
111 destcol = 0; in fgoto()
113 destcol = c; in fgoto()
146 cgp = tgoto(CM, destcol, destline); in fgoto()
155 outcol = destcol; in fgoto()
[all …]
H A Dcr_tty.c59 static int destcol, destline; variable
150 if (tgoto(CM, destcol, destline)[0] == 'O') in setterm()
/titanic_41/usr/src/cmd/vi/port/
H A Dex_put.c333 destline += destcol / columns; in flush1()
334 destcol = 0; in flush1()
338 if (destcol) in flush1()
339 destcol--; in flush1()
343 destcol++; in flush1()
347 destcol += value(vi_TABSTOP) - destcol % value(vi_TABSTOP); in flush1()
351 destline += destcol / columns + 1; in flush1()
352 if (destcol != 0 && destcol % columns == 0) in flush1()
354 destcol = 0; in flush1()
367 if((destcol % columns) + length - 1 >= columns) { in flush1()
[all …]
H A Dex_vput.c54 destcol = 0; in vclear()
101 fprintf(trace, "vclreol(), destcol %d, ateopr() %d\n", destcol, ateopr()); in vclreol()
103 if (destcol == WCOLS) in vclreol()
105 destline += destcol / WCOLS; in vclreol()
106 destcol %= WCOLS; in vclreol()
109 i = WCOLS - destcol; in vclreol()
110 tp = vtube[destline] + destcol; in vclreol()
123 destcol = WCOLS - i; in vclreol()
293 destcol = x; in vigoto()
304 vgoto(destline, destcol); in vcsync()
[all …]
H A Dex_vops2.c145 wchar_t *cp = vtube[destline] + destcol; in ateopr()
147 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()
1107 x = destcol, y = destline;
1135 x = destcol, y = destline;
H A Dex_vadj.c191 if (insert_null_glitch && destcol == WCOLS) in vreopen()
405 int dc = destcol; in vrollup()
416 destline = dl - cnt, destcol = dc; in vrollup()
445 destcol = (NONL ? 0 : outcol % WCOLS); in vmoveitup()
452 destcol = (NONL ? 0 : outcol % WCOLS); in vmoveitup()
H A Dex_tty.h79 var short destcol; /* Where the cursor should be */ variable
H A Dex_cmds2.c321 if (destcol) in fixol()
375 destcol = 0; in next()
H A Dex_vget.c465 int sdl = destline, sdc = destcol;
482 destline = sdl; destcol = sdc;
H A Dex_vwind.c244 destcol = 0; in vclean()
H A Dex_vmain.c1265 int sdc = destcol, sdl = destline;
/titanic_41/usr/src/ucblib/libtermcap/
H A Dtgoto.c76 tgoto(char *CM, int destcol, int destline) in tgoto() argument
103 destcol ^= 0140; in tgoto()
128 which = oncol ? destcol : destline; in tgoto()
185 destcol++; in tgoto()