[wellylug] cgi question

David Zanetti dave2 at wetstring.net
Fri Aug 27 08:56:24 NZST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 26 Aug 2004, Matthew wrote:

> Mark Signal wrote:
>
> >Anyone got any ideas on how I could do this?
>
> Is it just about how to update a browser with current content from a server?
>
> If so, by far the easiest way would be to simply <meta> refresh the
> browser all the time on a page that showed the current tail. If you want
> a more efficient way try mod-pubsub.org. It lets you push content to the
> browser (rather than the usual browser polling the server method).

There's a far easier method. Most browsers will display-as-you-load, so if
you're just outputting text, simply set unbuffered output in your language
of choice, and lines will be displayed in the browser as you print them in
your code..

- -- 
David Zanetti           |  (__)
#include <geek/unix.h>  |  ( oo    Mooooooo
http://hairy.geek.nz/   |  /(_O ./
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFBLk56T21+qRy4P+QRAqLRAJ9AzJ97/TzVhWuJZ6MZi5qpJJsE0QCeIdL0
0qvxuiO5C+CJhNmv2QlCCUE=
=h3d5
-----END PGP SIGNATURE-----




More information about the wellylug mailing list