Home | History | Annotate | Download | only in rosh

Lines Matching refs:cols

925 void rosh_more_buf(char *buf, int buflen, int rows, int cols, char *scrbuf)
934 (void)cols;
948 elpl = ((bufeol2 - bufeol - 1) / cols);
987 void rosh_more_fd(int fd, int rows, int cols, char *scrbuf)
1008 rosh_more_buf(buf, bufpos, rows, cols, scrbuf);
1024 int rows, cols;
1029 ret = getscreensize(1, &rows, &cols);
1032 ROSH_DEBUG("\tROWS='%d'\tCOLS='%d'\n", rows, cols);
1036 if (!cols)
1037 cols = 75;
1039 ROSH_DEBUG("\tUSE ROWS='%d'\tCOLS='%d'\n", rows, cols);
1041 scrbuf = malloc(rows * ((cols+3)&(INT_MAX - 3)));
1054 rosh_more_fd(fd, rows, cols, scrbuf);