On Tue, Jun 24, 2008 at 01:48, Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> wrote: > On Mon, Jun 23, 2008 at 11:36:02AM -0700, Bernard Li wrote: >> Hi Carlo: >> >> http://ganglia.svn.sourceforge.net/viewvc/ganglia?view=rev&revision=1438 >> >> Do we really want the debug message to be "text/plain"? > >> Previously it is "text/html" (default) > > the default content to use is a webserver configuration, I presume in your > setup is probably text/html which is why you were not able to see the bug. > it is specially annoying if you happen to have something like > "application/octet-stream" instead and I am pretty sure has to be amusing if > it happens to be "audio/x-wav".
That seems like a reasonable reason to force the type ourselves. We know what the output is, and should properly declare it as such. >> and the text are wrapped such that you could >> see the entire command on the screen. Now there is no text-wrapping >> and makes it hard to see the entire command in one go. > > you also couldn't see the bug because your browser was nice enough to format > and wrap an invalid HTML file but that is also specific to your setup. > > if you want to have it formatted and wrapped I would recommend doing that in > the code instead. if that is the case HTML might be better, as it will also > allow for other formatting aids like fonts, bold and colors, but I think the > currently proposed setup is more practical for a debugging flag. A middle ground would be to do *minor* preprocessing on the command, to make the lines wrap cleanly, then wrap it in <pre> tags. -- Jesse Becker GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0 2720 0083 0931 9A2B 06A2 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers