Searched refs:termwidth (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10.1/text_cmds-88/column/
H A Dcolumn.c69 static int termwidth = 80; /* default terminal width */ variable
92 termwidth = atoi(p);
94 termwidth = win.ws_col;
100 termwidth = atoi(optarg);
143 else if (maxlength >= termwidth)
158 numcols = termwidth / maxlength;
186 numcols = termwidth / maxlength;
/macosx-10.10.1/text_cmds-88/sed/
H A Dprocess.c525 static int termwidth = -1; local
531 termwidth = 60;
532 if (termwidth == -1) {
534 termwidth = atoi(p);
537 termwidth = win.ws_col;
539 termwidth = 60;
554 if (col + 1 >= termwidth)
561 if (col + width >= termwidth) {
569 if (col + 2 >= termwidth) {
576 if (col + 4 * clen >= termwidth) {
[all...]
/macosx-10.10.1/adv_cmds-158/ps/
H A Dextern.h46 extern int showthreads, sumrusage, termwidth, totwidth;
H A Dps.c111 int termwidth; /* Width of the screen (0 == infinity). */ variable
235 termwidth = atoi(cols);
240 termwidth = 79;
242 termwidth = ws.ws_col - 1;
306 termwidth = UNLIMITED; /* 4990408 */
437 termwidth = UNLIMITED;
438 else if (termwidth < 131)
439 termwidth = 131;
469 termwidth = UNLIMITED;
1155 s = fmt_argv((*fn)(kd, ki->ki_p, termwidth), com
[all...]
H A Dkeyword.c217 if (termwidth && (i += len + 1) > termwidth) {
H A Dprint.c354 if (termwidth == UNLIMITED) {
360 left = termwidth - (totwidth - v->width);
/macosx-10.10.1/file_cmds-242/ls/
H A Dls.c99 int termwidth = 80; /* default terminal width */ variable
165 termwidth = 80;
167 termwidth = atoi(p);
170 termwidth = win.ws_col;
177 termwidth = atoi(p);
H A Dprint.c455 extern int termwidth;
462 (p->fts_link ? 2 : 0) >= (unsigned)termwidth) {
479 extern int termwidth;
526 if (termwidth < 2 * colwidth) {
530 numcols = termwidth / colwidth;

Completed in 97 milliseconds