Home
last modified time | relevance | path

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

/freebsd-12.1/sbin/camcontrol/
H A Dprogress.c78 prog->ttywidth = winsize.ws_col; in progress_init()
80 prog->ttywidth = DEFAULT_TTYWIDTH; in progress_init()
148 barlength = MIN(sizeof(buf) - 1, (unsigned)prog->ttywidth) - in progress_draw()
158 tmp_prefix_len = MIN(sizeof(buf) - 1,(unsigned)prog->ttywidth) - in progress_draw()
H A Dprogress.h53 int32_t ttywidth; /* width of tty in columns */ member
/freebsd-12.1/usr.bin/tabs/
H A Dtabs.c77 static int ttywidth(void);
152 cols = ttywidth(); in main()
226 ttywidth(void) in ttywidth() function
/freebsd-12.1/usr.bin/who/
H A Dwho.c56 static int ttywidth(void);
245 ncols = ttywidth(); in quick()
296 ttywidth(void) in ttywidth() function
/freebsd-12.1/usr.bin/w/
H A Dw.c98 static int ttywidth; /* width of tty */ variable
387 ttywidth = 79; in main()
389 ttywidth = ws.ws_col - 1; in main()
390 argwidth = ttywidth - WUSED; in main()
/freebsd-12.1/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;