blob: 99878dd518289c0970fffa0117226492d4c7f0f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
.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
|