STATUSBAR(8)STATUSBAR(8)

NAME

statusbar, statusmsg – display a bar graph or status message window

SYNOPSIS

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

DESCRIPTION

Statusbar and statusmsg read textual status lines from standard input into a continuously updated bar graph or text message displayed in a new window on the screen. The title is displayed on a line above the bar graph or message. For statusbar, each input line is two space-separated decimal numbers: the numerator and denominator of a fraction.

The programs exit 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 exit  

-t

print an ASCII version of the bar or message to standard output, using backspace to redraw it.  

-w

set the coordinates of the window created  

SOURCE

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