Re: RFC: CLI behave like SH or PERL/RUBY/PYTHON?
| From: | Kristian Koehntopp | Date: | Wed, 23 Oct 2002 08:11:08 +0000 |
| Subject: | Re: RFC: CLI behave like SH or PERL/RUBY/PYTHON? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89967@lists.php.net to get a copy of this message | ||
On Wednesday 23 October 2002 09:41, Edin Kadribasic wrote:
> OTOH, 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