shithub: riscv

ref: c613e336df8eed2b952acf2cb28e865e92e2daf7
dir: /sys/man/8/statusbar/

View raw version
.TH STATUSBAR 8
.SH NAME
statusbar, statusmsg \- display a bar graph or status message window
.SH SYNOPSIS
.B aux/statusbar
[
.B -kt
]
[
.B -w
.I minx,miny,maxx,maxy
] [
.I title
]
.br
.B aux/statusmsg
[
.B -kt
]
[
.B -w
.I minx,miny,maxx,maxy
] [
.I title
]
.SH DESCRIPTION
.I Statusbar
and
.I 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
.I title
is displayed on a line above the bar graph or message.
For
.I statusbar,
each input line is two space-separated decimal numbers:
the numerator and denominator of a fraction.
.PP
The programs exit when it reaches end-of-file on standard input.
Typing
.SM DEL
or control-C
will also cause it to exit.
.PP
The options are:
.TP
.B -k
do not allow typing to cause exit
.TP
.B -t
print an ASCII version of the bar or message to standard output, using
backspace to redraw it. 
.TP
.B -w
set the coordinates of the window created
.PD
.SH SOURCE
.B /sys/src/cmd/aux/statusbar.c
.br
.B /sys/src/cmd/aux/statusmsg.c