diff --git a/doc/rrdcgi.1 b/doc/rrdcgi.1
index 99f62fae49e37f5cd8b5579d7eb9770c33e778a2..ed28c913ded02b4b8d5067ba996265908f811397 100644 (file)
--- a/doc/rrdcgi.1
+++ b/doc/rrdcgi.1
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
+.\" Automatically generated by Pod::Man 2.1801 (Pod::Simple 3.05)
.\"
.\" Standard preamble:
.\" ========================================================================
.\"
.\" Standard preamble:
.\" ========================================================================
-.de Sh \" Subsection heading
-.br
-.if t .Sp
-.ne 5
-.PP
-\fB\\$1\fR
-.PP
-..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
. ds R" ''
'br\}
.\"
. ds R" ''
'br\}
.\"
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" If the F register is turned on, we'll generate index entries on stderr for
-.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
-.if \nF \{\
+.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
-.\"
-.\" For nroff, turn off justification. Always turn off hyphenation; it makes
-.\" way too many mistakes in technical documents.
-.hy 0
-.if n .na
+.el \{\
+. de IX
+..
+.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
.\" ========================================================================
.\"
.IX Title "RRDCGI 1"
.\" ========================================================================
.\"
.IX Title "RRDCGI 1"
-.TH RRDCGI 1 "2008-12-22" "1.3.7" "rrdtool"
+.TH RRDCGI 1 "2008-12-22" "1.3.8" "rrdtool"
+.\" For nroff, turn off justification. Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
.SH "NAME"
rrdcgi \- Create web pages containing RRD graphs based on templates
.SH "SYNOPSIS"
.SH "NAME"
rrdcgi \- Create web pages containing RRD graphs based on templates
.SH "SYNOPSIS"
.IP "\fB\-\-filter\fR" 8
.IX Item "--filter"
Assume that rrdcgi is run as a filter and not as a cgi.
.IP "\fB\-\-filter\fR" 8
.IX Item "--filter"
Assume that rrdcgi is run as a filter and not as a cgi.
-.Sh "Keywords"
+.SS "Keywords"
.IX Subsection "Keywords"
.IP "\s-1RRD::CV\s0 \fIname\fR" 8
.IX Item "RRD::CV name"
.IX Subsection "Keywords"
.IP "\s-1RRD::CV\s0 \fIname\fR" 8
.IX Item "RRD::CV name"
.IP "\s-1RRD::GOODFOR\s0 \fIseconds\fR" 8
.IX Item "RRD::GOODFOR seconds"
Specify the number of seconds this page should remain valid. This will prompt
.IP "\s-1RRD::GOODFOR\s0 \fIseconds\fR" 8
.IX Item "RRD::GOODFOR seconds"
Specify the number of seconds this page should remain valid. This will prompt
-the rrdcgi to output a Last\-Modified, an Expire and if the number of
+the rrdcgi to output a Last-Modified, an Expire and if the number of
seconds is \fInegative\fR a Refresh header.
.IP "\s-1RRD::INCLUDE\s0 \fIfilename\fR" 8
.IX Item "RRD::INCLUDE filename"
seconds is \fInegative\fR a Refresh header.
.IP "\s-1RRD::INCLUDE\s0 \fIfilename\fR" 8
.IX Item "RRD::INCLUDE filename"
@@ -254,7 +253,7 @@ number of the \fB\s-1PRINT\s0\fR argument. This first \fB\s-1PRINT\s0\fR has \fI
.IX Item "RRD::INTERNAL <var>"
This tag gets replaced by an internal var. Currently these vars are known:
\&\s-1VERSION\s0, \s-1COMPILETIME\s0.
.IX Item "RRD::INTERNAL <var>"
This tag gets replaced by an internal var. Currently these vars are known:
\&\s-1VERSION\s0, \s-1COMPILETIME\s0.
-These vars represent the compiled-in values.
+These vars represent the compiled-in values.
.SH "EXAMPLE 1"
.IX Header "EXAMPLE 1"
The example below creates a web pages with a single \s-1RRD\s0 graph.
.SH "EXAMPLE 1"
.IX Header "EXAMPLE 1"
The example below creates a web pages with a single \s-1RRD\s0 graph.
\& <RRD::GRAPH demo.png \-\-lazy \-\-title="Temperatures"
\& DEF:cel=demo.rrd:exhaust:AVERAGE
\& LINE2:cel#00a000:"D. Celsius">
\& <RRD::GRAPH demo.png \-\-lazy \-\-title="Temperatures"
\& DEF:cel=demo.rrd:exhaust:AVERAGE
\& LINE2:cel#00a000:"D. Celsius">
-.Ve
-.PP
-.Vb 3
+\&
\& </P>
\& </BODY>
\& </HTML>
\& </P>
\& </BODY>
\& </HTML>
a form which sets \s-1RRD_NAME\s0. \s-1RRD_NAME\s0 is then used to select which \s-1RRD\s0
you want to use as source for your graph.
.PP
a form which sets \s-1RRD_NAME\s0. \s-1RRD_NAME\s0 is then used to select which \s-1RRD\s0
you want to use as source for your graph.
.PP
-.Vb 15
+.Vb 10
\& #!/usr/local/bin/rrdcgi
\& <HTML>
\& <HEAD><TITLE>RRDCGI Demo</TITLE></HEAD>
\& #!/usr/local/bin/rrdcgi
\& <HTML>
\& <HEAD><TITLE>RRDCGI Demo</TITLE></HEAD>
\& \-\-title "Temperatures for "<RRD::CV::QUOTE RRD_NAME>
\& DEF:cel=<RRD::CV::PATH RRD_NAME>.rrd:exhaust:AVERAGE
\& LINE2:cel#00a000:"D. Celsius">
\& \-\-title "Temperatures for "<RRD::CV::QUOTE RRD_NAME>
\& DEF:cel=<RRD::CV::PATH RRD_NAME>.rrd:exhaust:AVERAGE
\& LINE2:cel#00a000:"D. Celsius">
-.Ve
-.PP
-.Vb 3
+\&
\& </P>
\& </BODY>
\& </HTML>
\& </P>
\& </BODY>
\& </HTML>
This example shows how to handle the case where the \s-1RRD\s0, graphs and
cgi-bins are separate directories
.PP
This example shows how to handle the case where the \s-1RRD\s0, graphs and
cgi-bins are separate directories
.PP
-.Vb 14
+.Vb 10
\& #!/.../bin/rrdcgi
\& <HTML>
\& <HEAD><TITLE>RRDCGI Demo</TITLE></HEAD>
\& #!/.../bin/rrdcgi
\& <HTML>
\& <HEAD><TITLE>RRDCGI Demo</TITLE></HEAD>
\& <H1>RRDCGI test Page</H1>
\& <RRD::GRAPH
\& /.../web/pngs/testhvt.png
\& <H1>RRDCGI test Page</H1>
\& <RRD::GRAPH
\& /.../web/pngs/testhvt.png
-\& \-\-imginfo \(aq<IMG SRC=/.../pngs/%s WIDTH=%lu HEIGHT=%lu >\(aq
+\& \-\-imginfo \*(Aq<IMG SRC=/.../pngs/%s WIDTH=%lu HEIGHT=%lu >\*(Aq
\& \-\-lazy \-\-start \-1d \-\-end now
\& DEF:http_src=/.../rrds/test.rrd:http_src:AVERAGE
\& AREA:http_src#00ff00:http_src
\& \-\-lazy \-\-start \-1d \-\-end now
\& DEF:http_src=/.../rrds/test.rrd:http_src:AVERAGE
\& AREA:http_src#00ff00:http_src