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

/freebsd-10.0-release/sbin/camcontrol/
H A Dprogress.h51 int32_t ttywidth; /* width of tty in columns */ member in struct:progress_t
H A Dprogress.c76 prog->ttywidth = winsize.ws_col;
78 prog->ttywidth = DEFAULT_TTYWIDTH;
143 barlength = MIN(sizeof(buf) - 1, (unsigned)prog->ttywidth) - BAROVERHEAD - strlen(prog->prefix);
/freebsd-10.0-release/contrib/tnftp/src/
H A Dprogressbar.h50 GLOBAL int ttywidth; /* width of tty */ variable
H A Dprogressbar.c233 barlength = MIN((int)(sizeof(buf) - 1), ttywidth) - BAROVERHEAD;
H A Dutil.c903 columns = ttywidth / width;
928 * Update the global ttywidth value, using TIOCGWINSZ.
938 ttywidth = winsize.ws_col;
940 ttywidth = 80;
/freebsd-10.0-release/usr.bin/tabs/
H A Dtabs.c75 static int ttywidth(void);
150 cols = ttywidth();
224 ttywidth(void) function
/freebsd-10.0-release/usr.bin/who/
H A Dwho.c54 static int ttywidth(void);
243 ncols = ttywidth();
294 ttywidth(void) function
/freebsd-10.0-release/usr.bin/w/
H A Dw.c92 static int ttywidth; /* width of tty */ variable
311 ttywidth = 79;
313 ttywidth = ws.ws_col - 1;
314 argwidth = ttywidth - WUSED;

Completed in 77 milliseconds