Searched refs:COLS (Results 1 - 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/ucblib/libcurses/
H A Dinitscr.c64 fprintf(outf, "LINES = %d, COLS = %d\n", LINES, COLS);
66 if ((curscr = newwin(LINES, COLS, 0, 0)) == ERR)
76 stdscr = newwin(LINES, COLS, 0, 0);
H A Dcr_put.c77 if (destcol >= COLS) {
78 destline += destcol / COLS;
79 destcol %= COLS;
81 if (outcol >= COLS) {
82 l = (outcol + 1) / COLS;
84 outcol %= COLS;
351 if (destcol - outcol > 4 && i < COLS && (BC || BS)) {
403 * the case where col > COLS, even if ts does not divide COLS.
411 if (col >= COLS) {
[all...]
H A Dinsch.c44 if (win->_cury == LINES - 1 && win->_y[LINES-1][COLS-1] != ' ')
H A Dtstp.c44 (void) mvcur(0, COLS - 1, LINES - 1, 0);
H A Dcr_tty.c103 fprintf(outf, "SETTERM: LINES = %d, COLS = %d\n", LINES, COLS);
119 if (COLS == 0)
120 COLS = win.ws_col;
129 if (COLS == 0)
130 COLS = tgetnum("co");
131 if (COLS <= 4)
132 COLS = 80;
135 fprintf(outf, "SETTERM: LINES = %d, COLS = %d\n", LINES, COLS);
[all...]
H A Dmvwin.c36 if (by + win->_maxy > LINES || bx + win->_maxx > COLS)
H A Dcurses.ext32 extern int _tty_ch, LINES, COLS;
H A Dcurses.c39 COLS, /* number of columns allowed on screen */ variable
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dripoffline.c81 (*_ripstruct[i].initfunction) (newwin(1, COLS,
82 ((flag = _ripstruct[i].line) > 0) ? 0 : LINES, 0), COLS);
H A Dmvwin.c52 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS ||
H A Dcurses.c50 int LINES, COLS, TABSIZE, COLORS, COLOR_PAIRS; variable
H A Dnewscreen.c75 int old_lines = LINES, old_cols = COLS, retcode;
193 COLS = SP->csize = csize > 0 ? csize : columns;
200 fprintf(outf, "LINES = %d, COLS = %d\n", LINES, COLS);
203 if ((curscr = SP->cur_scr = newwin(LINES, COLS, 0, 0)) == NULL)
221 if (!(SP->virt_scr = newwin(LINES, COLS, 0, 0)))
237 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0);
257 if ((SP->std_scr = newwin(LINES, COLS, 0, 0)) == NULL) {
261 COLS
[all...]
H A Drestart.c93 COLS = columns;
H A Dsetcurscreen.c63 COLS = SP->csize;
H A Dslk_start.c156 if ((win = newwin(1, COLS, LINES - 1, 0)) == NULL)
163 if ((len = (COLS - 1) / (num + 1)) > LABLEN) {
227 if ((spread = (COLS - (n + 1))/(_ngroups - 1)) <= 0)
229 left = (COLS-(n + 1)) % (_ngroups - 1);
H A Dstart_col.c114 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0);
H A Dwclrtoeol.c99 int endx = COLS /
100 BITSPERBYTE + (COLS %BITSPERBYTE ? 1 : 0);
H A Dquick_echo.c66 (SPy > ((LINES + SP->Yabove) - 1)) || (SPx > (COLS - 1)) ||
H A Dinit_pair.c90 for (j = 0; j < COLS; j++) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dinit_disp.c80 my_win.x_ncols = COLS;
86 rem_win.x_ncols = COLS;
92 line_win = newwin(1, COLS, my_win.x_nlines, 0);
H A Ddisplay.c165 if (win->x_col == COLS-1) {
183 if (win->x_col == COLS-1) /* wraparound */
207 if (win->x_col == COLS-3) {
218 if (win->x_col == COLS-2) {
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c255 if (COLS < last)
256 last = COLS;
260 nptr = &newscr->_line[row][COLS];
261 for (tail = COLS; 0 < tail; --tail) {
273 tail = COLS;
341 if (COLS <= col && LINES-1 <= row
389 if (ceol_standout_glitch && col < COLS
413 for (tail = col; tail < COLS; ++tail, ++optr)
422 if (tail < COLS) {
430 __m_cc_erase(curscr, row, tail, row, COLS
[all...]
/illumos-gate/usr/src/tools/cscope-fast/
H A Ddisplay.c40 #include <curses.h> /* COLS and LINES */
124 if (COLS < MINCOLS) {
165 (void) move(0, COLS - (int)sizeof (helpstring));
179 (void) move(0, COLS - (int)sizeof (depthstring) - 2);
205 width = COLS - selectlen - numlen - 2;
244 (void) printw("%-.*s\n", COLS - 3, file);
328 (void) move(screenline, COLS - width);
534 i = (COLS - 5) / 3;
536 i = (COLS - 7) / 5;
H A Dcommand.c234 getaline(newpat, COLS - sizeof (appendprompt), c,
255 if (getaline(newpat, COLS - sizeof (readprompt), '\0',
278 COLS - sizeof (pipeprompt), '\0', NO) == 0) {
391 COLS - sizeof (selectionprompt), commandc,
401 if (getaline(newpat, COLS - fldcolumn - 1, commandc,
412 COLS - sizeof (toprompt), '\0', NO);
594 COLS - sizeof (selectionprompt), c,
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c242 int tail = COLS;
245 return (COLS);
249 nptr = &newscr->_line[row][COLS];
310 for (i = region.col; i < COLS - region.size; i++) {
325 if (tail < COLS) {
334 (void) __m_cc_erase(curscr, row, tail, row, COLS - 1);
369 regions[nRegions - 1].size = COLS - regions[nRegions - 1].col;
431 for (col = 0; col < COLS; col++) {
439 for (col = deletePoint; col < COLS - deleteCount;
465 for (old_cmp = -1; col + bestDeleteCount < COLS; co
[all...]

Completed in 104 milliseconds

12