newcol
col = newcol((unsigned char) es->cbuf[cur++], col);
ci = newcol((unsigned char)*wb, ci);
static int newcol(int, int);
unsigned newcol;
newcol = p->column + cols;
if (newcol < p->column) {
p->column = newcol;
newcol = (column + TAB) & ~(TAB - 1);
if (start == 0 || newcol < start) {
column = newcol;
while (column < newcol)
u_long column, newcol, start, stop;
vtresize(int force, int newrow, int newcol)
if (newrow < 1 || newcol < 1)
colchanged = (newcol != ncol);
TRYREALLOC(video[i].v_text, newcol);
TRYREALLOC(blanks.v_text, newcol);
ncol = newcol;
int newrow = 0, newcol = 0;
newcol = winsize.ws_col;
if ((newrow <= 0 || newcol <= 0) &&
((newrow = lines) <= 0 || (newcol = columns) <= 0)) {
newcol = 80;
if (vtresize(1, newrow, newcol) != TRUE)
newcol = oldcol;
newcol = oldcol + sw;
newcol = oldcol < sw ? 0 : oldcol - sw;
if (newcol == oldcol) {
ADD_SPACE_RET(sp, bp, blen, newcol + len);
for (; newcol >= O_VAL(sp, O_TABSTOP); ++newidx) {
newcol -= O_VAL(sp, O_TABSTOP);
for (; newcol > 0; --newcol, ++newidx)
size_t blen, len, newcol, newidx, oldcol, oldidx, sw;