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

/freebsd-current/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;
146 barlength = MIN(sizeof(buf) - 1, (unsigned)prog->ttywidth) -
156 tmp_prefix_len = MIN(sizeof(buf) - 1,(unsigned)prog->ttywidth) -
/freebsd-current/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-current/usr.bin/tabs/
H A Dtabs.c74 static int ttywidth(void);
149 cols = ttywidth();
223 ttywidth(void) function
/freebsd-current/usr.bin/who/
H A Dwho.c53 static int ttywidth(void);
245 ncols = ttywidth();
296 ttywidth(void) function
/freebsd-current/usr.bin/w/
H A Dw.c83 static size_t ttywidth; /* width of tty */ variable
372 ttywidth = 79;
374 ttywidth = ws.ws_col - 1;
375 argwidth = ttywidth - WUSED;

Completed in 81 milliseconds