That was it! I had this section wrapped inside of table for positioning on the page. Thanks all.
-trey -----Original Message----- From: Gerald Richter [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 22, 2001 1:45 AM To: Webb, Trey Cc: [EMAIL PROTECTED] Subject: Re: Embperl and buffered output hey, > Thanks for the reply. I went ahead and set those but still no dice. > It just sits there until things are completed and then displays the whole > page. Any other ideas? > Make sure optEarlyHttpHeader and dbgFlushOutput are really set by inserting [+ $optEarlyHttpHeader +] [+ $dbgFlushOutput +] in your page. Both must be 1, otherwise it can't work. Depending on the browser you use, it will not always directly display the output (for example it will not work inside tables). Sometimes it helps to add a longish comment: <!-- ---------------------------------------------------------------- --> or even longer. I use the above settings without problems in 1.3.x (again 2.0 will not work, but you can use 1.x compatibility mode to get this in 2.0) Gerald P.S. Please answer also to the list > -----Original Message----- > From: Gerald Richter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 21, 2001 11:42 PM > To: Webb, Trey; [EMAIL PROTECTED] > Subject: Re: Embperl and buffered output > > > > I am trying to have the results of a ping displayed in the browser window > in > > realtime. I read somewhere that embperl buffers the page before sending > it. > > I ahve tried to disable this by setting EMBPERL_OPTIONS to include the > > optEarlyHttpHeader, I also tried to use optRedirectStdout. Neither seemed > to > > work. I get the page displayed after everything the ping is done. Any > ideas > > on what I am doing wrong? Sample is below. > > > > open( PING, "/usr/sbin/ping -I 1 $fdat{ ip } 100 5|" ) ; > > while ( <PING> ) { > > print OUT "$_<BR>\n"; > > } > > close(PING); > > > > In 1.3.x set optEarlyHttpHeader in EMBPERL_OPTIONS and dbgFlushOutput in > EMBPERL_DEBUG (the second one could also be set inside the page or turned on > and off during the page, using $dbgFlushOutput=1) > > 2.0 currently doesn't support this, because it works totaly different > internaly. I am currently thinking about how to get this working with 2.0. > This will be part of one of the next releases > > Gerald > > P.S. $| has _no_ effect when printing to OUT. (dbgFlushOutput does the same > for Embperls output stream) > > ------------------------------------------------------------- > Gerald Richter ecos electronic communication services gmbh > Internetconnect * Webserver/-design/-datenbanken * Consulting > > Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz > E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 > WWW: http://www.ecos.de Fax: +49 6133 925152 > ------------------------------------------------------------- > > ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
