[Bug 322214] Re: php (via libedit using_history()) incorrectly opens stdin
Bug Watch Updater
322214 at bugs.launchpad.net
Tue Mar 12 08:06:47 UTC 2013
** Changed in: libedit (Debian)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libedit in Ubuntu.
https://bugs.launchpad.net/bugs/322214
Title:
php (via libedit using_history()) incorrectly opens stdin
Status in “libedit” package in Ubuntu:
Fix Released
Status in “php5” package in Ubuntu:
Invalid
Status in “libedit” package in Debian:
Fix Released
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libedit/+bug/322214/+subscriptions
More information about the foundations-bugs
mailing list