Searched refs:termwidth (Results 1 - 10 of 10) sorted by relevance
/netbsd-current/usr.bin/column/ |
H A D | column.c | 68 static int termwidth = 80; /* default terminal width */ variable 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;
|
/netbsd-current/usr.bin/sed/ |
H A D | process.c | 597 static size_t termwidth = (size_t)-1; local 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) 637 if (col + width >= termwidth) { [all...] |
/netbsd-current/bin/ls/ |
H A D | print.c | 67 extern int termwidth; 234 if (termwidth < 2 * colwidth) { 259 numcols = termwidth / colwidth; 260 colwidth = termwidth / numcols; /* spread out if possible */ 301 if (termwidth < 2 * colwidth) { 306 numcols = termwidth / colwidth; 307 colwidth = termwidth / numcols; /* spread out if possible */ 352 if (col + 1 + extwidth + (int)p->fts_namelen >= termwidth)
|
H A D | ls.c | 83 int termwidth = 80; /* default terminal width */ variable 144 termwidth = win.ws_col; 314 termwidth = atoi(p);
|
/netbsd-current/bin/kill/ |
H A D | kill.c | 272 int termwidth = 80; local 277 termwidth = atoi(name); 282 termwidth = win.ws_col; 296 if (len > 0 && nl + len + pad >= termwidth) {
|
/netbsd-current/bin/ps/ |
H A D | ps.c | 117 int termwidth; /* width of screen (0 == infinity) */ variable 222 termwidth = 79; 224 termwidth = ws.ws_col - 1; 378 termwidth = UNLIMITED; 379 else if (termwidth < 131) 380 termwidth = 131;
|
H A D | extern.h | 41 extern int sumrusage, termwidth, totwidth;
|
H A D | 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);
|
H A D | keyword.c | 238 if (termwidth && (i += len + 1) > termwidth) {
|
/netbsd-current/bin/sh/ |
H A D | trap.c | 174 int termwidth = 80; local 177 termwidth = (int)strtol(name, NULL, 10); 182 termwidth = win.ws_col; 197 if (len > 0 && nl + len + pad >= termwidth) {
|
Completed in 179 milliseconds