Re: RFC: CLI behave like SH or PERL/RUBY/PYTHON?
| From: | George Schlossnagle | Date: | Wed, 23 Oct 2002 14:50:25 +0000 |
| Subject: | Re: RFC: CLI behave like SH or PERL/RUBY/PYTHON? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90000@lists.php.net to get a copy of this message | ||
I'm not a big fan of doing things the smart way. How hard is it to just set ob_implicit_flush() on and off? If you want it off, just set it off (or on, as the default ends up set) at the head of your script.
George
On Wednesday, October 23, 2002, at 04:11 AM, Kristian Koehntopp wrote:
On Wednesday 23 October 2002 09:41, Edin Kadribasic wrote:// Principal ConsultantOTOH, having implicit_flush turned on makes writing interactive command line programs easier. Some programs (like pear installer) might even depend on it.The proper way around this, as I see it, is to flush at the end of line, and before each read operation on an interactive tty. This would give you the performance of implicit_flush off with the proper interactive behaviour. I'd like to call this "implicit_flush = smart". Kristian -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php // George Schlossnagle
// OmniTI, Inc http://www.omniti.com// (c) 240.460.5234 (e) george@omniti.com // 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0