downspeed net
- Download speed in kilobytes
+ Download speed in KiB
downspeedf net
- Download speed in kilobytes with one decimal
+ Download speed in KiB with one decimal
downspeedgraph net (height),(width) (gradient colour 1) (gradient
upspeed net
- Upload speed in kilobytes
+ Upload speed in KiB
upspeedf net
- Upload speed in kilobytes with one decimal
+ Upload speed in KiB with one decimal
upspeedgraph net (height),(width) (gradient colour 1) (gradient colour
- 2008-03-31 conky(1)
+ 2008-05-06 conky(1)
\\$2 \(la\\$1\(ra\\$3
..
.if \n(.g .mso www.tmac
-.TH conky 1 2008-03-31 "" ""
+.TH conky 1 2008-05-06 "" ""
.SH NAME
conky \- A system monitor for X originally based on the torsmo code, but more kickass. It just keeps on given'er. Yeah.
.SH SYNOPSIS
.TP
\fB\*(T<\fBdownspeed\fR\*(T>\fR \*(T<\fBnet\fR\*(T>
-Download speed in kilobytes
+Download speed in KiB
.TP
\fB\*(T<\fBdownspeedf\fR\*(T>\fR \*(T<\fBnet\fR\*(T>
-Download speed in kilobytes with one decimal
+Download speed in KiB with one decimal
.TP
\fB\*(T<\fBdownspeedgraph\fR\*(T>\fR \*(T<\fBnet (height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T>
.TP
\fB\*(T<\fBupspeed\fR\*(T>\fR \*(T<\fBnet\fR\*(T>
-Upload speed in kilobytes
+Upload speed in KiB
.TP
\fB\*(T<\fBupspeedf\fR\*(T>\fR \*(T<\fBnet\fR\*(T>
-Upload speed in kilobytes with one decimal
+Upload speed in KiB with one decimal
.TP
\fB\*(T<\fBupspeedgraph\fR\*(T>\fR \*(T<\fBnet (height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T>
<firstname>Brenden</firstname>
<surname>Matthews</surname>
</author>
- <date>2008-03-31</date>
+ <date>2008-05-06</date>
</refentryinfo>
<refmeta>
int i, i2, pos, width_of_s;
int max = 0;
int added;
- char space[2];
if (s[0] == '\0') {
return;
pos = 0;
added = 0;
- snprintf(space, 2, " ");
#ifdef X11
- max = ((text_width - width_of_s) / get_string_width(space));
+ max = ((text_width - width_of_s) / get_string_width(" "));
#endif /* X11 */
/* This code looks for tabs in the text and coverts them to spaces.
* The trick is getting the correct number of spaces, and not going