aboutsummaryrefslogtreecommitdiffstats
path: root/README.Webinterface
blob: 0f87dff6d0076e0dee07157b0275c80d3a196a78 (plain)
1
2
3
4
5
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { colo
Prerequisits:

- libgd (I used 1.81 for testing), which needs libpng and libz.
    Get it from http://www.boutell.com/gd/
- apache, perl, netscape (I don't know, if other browsers can display
    server pushed images)

The PNG driver in Raster is able to generate PNG-Images.

To display this png file continuously in a web page, follow these instructions:
Copy the sample png.html to an appropriate place under your htdocs.
Copy the sample nph-png perl script into your cgi-bin directory, and adjust
png.html to contain this directory.
Adjust nph-png to contain the path/filename of the outputfile (s. -o option
in README.Raster or 'lcd4linux -h').
Start 'lcd4linux -o /path/filename.png'.

If you are on a slow connection to your webserver you might also adjust the
$DELAY in nph-png or the tick/tack in lcd4linux.conf.

Note: depending on your webservers configuration, you must rename nph-png to
   nph-png.pl or npg-png.cgi.


Please send correction, additions, questions & donations to
Leopold Toetsch <lt@toetsch.at>

Have fun.