CO
tputs(CL, CO, addbuf); /* put CL in buffer */
static int CO; /* number of columns */
tputs(CD, CO - curr, addbuf);
CO = tgetnum("co"); /* get number of columns */
if (CO == -1)
CO = 65;
if (LI < 24 || CO < 72 || !(CL && UP && ND))
extern int CO, LI; /* usually COLNO and ROWNO+2 */
bufr = alloc(CO);
bufr[CO - 1] = 0;
while (fgets(bufr, CO - 1, fp) && (!strip || *bufr == '\t') && !got_intrup) {
lth = CO - maxlen - 2; /* Use full screen width */
int CO, LI; /* used in pri.c and whatis.c */
CO = columns;
if (CO < COLNO || LI < ROWNO + 2)
if (tlx + (int)strlen(s) > CO)
if (tlx + 8 > CO)
n0 + (int)strlen(toplines) + 3 < CO - 8 && /* leave room for
if (n0 >= CO) {
for (n = 0; n < CO; n++)
for (n = 0; n < CO - 1; n++)
n0 = CO - 2;
if (curx == CO)
int CO, LI, last, bottom, ch, length, number, trail;
CO = COLS;
last = CO - 1;
if (!(ip = malloc((size_t)(LI * CO * sizeof(short)))))
ip += CO;
for (ip = ref[0], n = LI * CO; --n >= 0;)
for (x = CO; --x >= 0;) {
if (CO)