/src/usr.bin/column/ |
column.c | 68 static int termwidth = 80; /* default terminal width */ variable in typeref:typename:int 88 termwidth = atoi(p); 90 termwidth = win.ws_col; 96 termwidth = atoi(optarg); 131 else if (maxlength >= termwidth) 146 numcols = termwidth / maxlength; 173 numcols = termwidth / maxlength;
|
/src/usr.bin/sed/ |
process.c | 597 static size_t termwidth = (size_t)-1; local in function:lputs 603 termwidth = 60; 604 if (termwidth == (size_t)-1) { 606 termwidth = (size_t)atoi(p); 610 termwidth = win.ws_col; 613 termwidth = 60; 615 if (termwidth == 0) 616 termwidth = 1; 630 if (col + 1 >= termwidth) 641 if (col + width >= termwidth) { [all...] |
/src/bin/ls/ |
print.c | 67 extern int termwidth; 236 if (termwidth < 2 * colwidth) { 261 numcols = termwidth / colwidth; 262 colwidth = termwidth / numcols; /* spread out if possible */ 303 if (termwidth < 2 * colwidth) { 308 numcols = termwidth / colwidth; 309 colwidth = termwidth / numcols; /* spread out if possible */ 352 if (col + 1 + extwidth + (int)p->fts_namelen >= termwidth)
|
ls.c | 83 int termwidth = 80; /* default terminal width */ variable in typeref:typename:int 144 termwidth = win.ws_col; 314 termwidth = atoi(p);
|
/src/bin/kill/ |
kill.c | 272 int termwidth = 80; local in function:printsignals 277 termwidth = atoi(name); 282 termwidth = win.ws_col; 296 if (len > 0 && nl + len + pad >= termwidth) {
|
/src/bin/ps/ |
ps.c | 117 int termwidth; /* width of screen (0 == infinity) */ variable in typeref:typename:int 222 termwidth = 79; 224 termwidth = ws.ws_col - 1; 378 termwidth = UNLIMITED; 379 else if (termwidth < 131) 380 termwidth = 131;
|
extern.h | 41 extern int sumrusage, termwidth, totwidth;
|
print.c | 310 if (SIMPLEQ_NEXT(ve, next) != NULL || termwidth != UNLIMITED) { 312 left = termwidth - (totwidth - v->width); 320 argv = kvm_getenvv2(kd, ki, termwidth); 334 argv = kvm_getargv2(kd, ki, termwidth); 392 if (SIMPLEQ_NEXT(ve, next) != NULL || termwidth != UNLIMITED) { 394 left = termwidth - (totwidth - v->width); 429 if (SIMPLEQ_NEXT(ve, next) != NULL || termwidth != UNLIMITED) { 431 left = termwidth - (totwidth - v->width);
|
keyword.c | 238 if (termwidth && (i += len + 1) > termwidth) {
|
/src/bin/sh/ |
trap.c | 177 int termwidth = 80; local in function:printsignals 180 termwidth = (int)strtol(name, NULL, 10); 185 termwidth = win.ws_col; 200 if (len > 0 && nl + len + pad >= termwidth) {
|