Home
last modified time | relevance | path

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

/freebsd/sbin/camcontrol/
H A Dprogress.c76 prog->ttywidth = winsize.ws_col; in progress_init()
78 prog->ttywidth = DEFAULT_TTYWIDTH; in progress_init()
146 barlength = MIN(sizeof(buf) - 1, (unsigned)prog->ttywidth) - in progress_draw()
156 tmp_prefix_len = MIN(sizeof(buf) - 1,(unsigned)prog->ttywidth) - in progress_draw()
H A Dprogress.h51 int32_t ttywidth; /* width of tty in columns */ member
/freebsd/usr.bin/tabs/
H A Dtabs.c74 static int ttywidth(void);
149 cols = ttywidth(); in main()
223 ttywidth(void) in ttywidth() function
/freebsd/usr.bin/who/
H A Dwho.c53 static int ttywidth(void);
245 ncols = ttywidth(); in quick()
296 ttywidth(void) in ttywidth() function
/freebsd/usr.bin/w/
H A Dw.c83 static size_t ttywidth; /* width of tty */ variable
377 ttywidth = 79; in main()
379 ttywidth = ws.ws_col - 1; in main()
380 argwidth = ttywidth - WUSED; in main()
/freebsd/contrib/tnftp/src/
H A Dprogressbar.h50 GLOBAL int ttywidth; /* width of tty */ variable
H A Dutil.c903 columns = ttywidth / width; in list_vertical()
938 ttywidth = winsize.ws_col; in setttywidth()
940 ttywidth = 80; in setttywidth()
H A Dprogressbar.c233 barlength = MIN((int)(sizeof(buf) - 1), ttywidth) - BAROVERHEAD;