tigetnum
int tigetnum(const char *);
cols = tigetnum("cols");
else if ((((n = tigetnum(p)) != -1 && n != -2 ) ||
win.ws_col = tigetnum("lines");
win.ws_row = tigetnum("cols");