Lines Matching defs:ncol
149 int nrow, ncol, nchr; /* current screen geometry */
1005 bios_display_info(&vs.col, &vs.row, &vs.ncol, &vs.nrow);
1006 vs.nchr = vs.ncol * vs.nrow;
1009 cursorat = vs.ncol * vs.row + vs.col;
1048 if (vs.col >= vs.ncol) {
1049 vs.col -= vs.ncol;
1059 vs.col += vs.ncol; /* non-destructive backspace */
1068 crtat += vs.ncol;
1096 if (vs.col >= vs.ncol) {
1126 vs.row = vs.offset / vs.ncol;
1127 vs.col = vs.offset % vs.ncol;
1154 pos -= vs.ncol * cx;
1168 pos += vs.ncol * cx;
1181 cx %= vs.ncol;
1185 if (col >= vs.ncol) {
1186 pos -= vs.ncol;
1187 col -= vs.ncol;
1200 cx %= vs.ncol;
1205 pos += vs.ncol;
1206 col += vs.ncol;
1242 vs.ncol - vs.col);
1253 crtat - vs.col, vs.ncol);
1268 if (cy > vs.ncol)
1269 cy = vs.ncol;
1271 (cx - 1) * vs.ncol + cy - 1;
1280 row = (crtAt - Crtat) / vs.ncol,
1288 wcopy(crtAt + vs.ncol * cx,
1289 crtAt, vs.ncol * (nrow -
1293 crtAt + vs.ncol * cx,
1294 vs.ncol * (nrow - cx) *
1298 crtAt + vs.ncol * (nrow - cx),
1299 vs.ncol * cx);
1311 wcopy(Crtat + vs.ncol * cx,
1312 Crtat, vs.ncol * (vs.nrow -
1316 Crtat + vs.ncol * cx,
1317 vs.ncol * (vs.nrow - cx) *
1321 Crtat + vs.ncol * (vs.nrow - cx),
1322 vs.ncol * cx);
1323 /* crtat -= vs.ncol * cx; XXX */
1330 row = (crtAt - Crtat) / vs.ncol,
1339 crtAt + vs.ncol * cx,
1340 vs.ncol * (nrow - cx) *
1343 memmove(crtAt + vs.ncol * cx,
1345 vs.ncol * (nrow - cx) *
1349 vs.ncol * cx);
1362 Crtat + vs.ncol * cx,
1363 vs.ncol * (vs.nrow - cx) *
1366 memmove(Crtat + vs.ncol * cx,
1368 vs.ncol * (vs.nrow - cx) *
1372 vs.ncol * cx);
1373 /* crtat += vs.ncol * cx; XXX */
1391 vs.row = vs.offset / vs.ncol;
1392 vs.col = vs.offset % vs.ncol;
1451 wcopy(Crtat + vs.ncol, Crtat,
1452 (vs.nchr - vs.ncol) * CHR);
1454 memmove(Crtat, Crtat + vs.ncol,
1455 (vs.nchr - vs.ncol) * CHR);
1458 Crtat + vs.nchr - vs.ncol,
1459 vs.ncol);
1460 crtat -= vs.ncol;