Public bug reported:

Binary package hint: php5

PHP appears to be opening stdin improperly. You can see the behavior by
running:

$ php -i | less

Notice how less does not redraw the screen correctly, and pressing the
up or down arrow keys results in ^[OB being written to the bottom of the
screen. I think that this is because of a race condition between php and
less. The following command does not have the problem:

$ php -i < /dev/null | less

This has been reproduced on Ubuntu 8.10 Intrepid as well as a clean
Ubuntu 8.04 Hardy machine (with php-cli installed first, of course). It
could not be reproduced on Debian 4.0 etch, or a minimal, clean build of
PHP 5.2 off of the CVS source tree (on intrepid). I suspect one of
Ubuntu's patches is causing this problem, but I don't know which.

The PHP package version is 5.2.6-2ubuntu4

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
php incorrectly opens stdin
https://bugs.launchpad.net/bugs/322214
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to