This seems to be the same bug as has been noted here in Ubuntu:

https://launchpad.net/bugs/322214

I recently spent some time tracking down what happens in libedit vs.
readline and it seems that libedit always takes control of stdin during
php's module init phase call to using_history(), even if later it
decides that it shouldn't enable editting because stdout is not a
terminal.

I forwarded a patch along to the netbsd tech-userlevel mailing list,

http://mail-index.netbsd.org/tech-userlevel/2011/01/26/msg004486.html

It can also be seen as a patch to the ubuntu package here:

https://code.launchpad.net/~clint-fewbar/ubuntu/natty/libedit/fix-tty-handling/+merge/47591

I don't think it would be wise to patch libedit without upstream
accepting said patch. But the initial reaction is positive.




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to