ID:               48125
 User updated by:  scot at wilcoxon dot org
 Reported By:      scot at wilcoxon dot org
 Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: Linux Ubuntu 9.04
 PHP Version:      5.2.9
 New Comment:

Documentation is needed of the option which makes php be compatible
with pipes.  I suspect Readline is performing initialization of the
terminal despite no input being performed.  The --interactive option
probably forces such behavior, but the man page did not indicate the
opposite of --interactive (--nointeractive did not change the problem).


Previous Comments:
------------------------------------------------------------------------

[2009-05-01 17:13:10] j...@php.net

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.



------------------------------------------------------------------------

[2009-04-30 20:57:46] scot at wilcoxon dot org

Description:
------------
When php-cli is sending output to "less" it becomes necessary to press
ENTER after commands.  It happens both locally and through SSH.

Reproduce code:
---------------
---
>From manual page: features.commandline
---
php -r 'print_r(get_defined_constants());' | less

Expected result:
----------------
Output from command with ":" at bottom.  Pressing "n" should start a
new page.

Actual result:
--------------
Output from command with ":" at bottom.  Pressing "n" does nothing
until ENTER is pressed.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48125&edit=1

Reply via email to