glenda.party
term% ls -F
term% cat index.txt
STATUSBAR(8)                System Manager's Manual               STATUSBAR(8)



NAME
       statusbar - display a bar graph status window

SYNOPSIS
       aux/statusbar [ -kt ] [ -w minx,miny,maxx,maxy ] title

DESCRIPTION
       Aux/statusbar  reads textual status lines from standard input, convert‐
       ing them into a continuously updated bar graph displayed in a new  win‐
       dow  on  the  screen.   The  title is displayed on a line above the bar
       graph.  Each input line is two space-separated decimal numbers: the nu‐
       merator and denominator of a fraction.

       Statusbar  exits when it reaches end-of-file on standard input.  Typing
       DEL or control-C will also cause it to exit.

       The options are:

       -k     do not allow typing to cause statusbar to exit

       -t     print an ASCII status bar to standard output, using backspace to
              redraw it

       -w     set the coordinates of the statusbar window created

EXAMPLE
       The  -v  option to hget(1) causes it to print status lines suitable for
       input to statusbar.

       Monitor a long download:

              hget -v -o bigfile http://server.com/bigfile |[2]
                aux/statusbar 'big file download'

SOURCE
       /sys/src/cmd/aux/statusbar.c



                                                                  STATUSBAR(8)