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