Hi,
I wonder if PHP supports PTY? I see old codes (from 2004 to 2010) using
proc_open with $descriptors = [[0 => 'pty']] for example. When I try, I
have an error because PTY seems to not be supported. ./configure does
not propose me to --enable-pty as I have seen in some related posts.
Thanks for the help,
Best regards.
--
Ivan Enderlin
Developer of Hoa
http://hoa-project.net/
PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis)
http://disc.univ-fcomte.fr/ and http://www.inria.fr/
Member of HTML and WebApps Working Group of W3C
http://w3.org/
On Wed, Jan 30, 2013 at 11:51 AM, Ivan Enderlin @ Hoa <
ivan.enderlin@hoa-project.net> wrote:
Hi,
I wonder if PHP supports PTY? I see old codes (from 2004 to 2010) using
proc_open with $descriptors = [[0 => 'pty']] for example. When I try, I
have an error because PTY seems to not be supported. ./configure does not
propose me to --enable-pty as I have seen in some related posts.
Hi,
based on http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#653 and
http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#64 (notice the
0 &&) I would say it isn't supported anymore.
wez turned that off 9 years ago:
https://github.com/php/php-src/commit/bd818c0118ba406d82f901d4f97a134727440df4
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
On Wed, Jan 30, 2013 at 11:51 AM, Ivan Enderlin @ Hoa <
ivan.enderlin@hoa-project.net> wrote:Hi,
I wonder if PHP supports PTY? I see old codes (from 2004 to 2010) using
proc_open with $descriptors = [[0 => 'pty']] for example. When I try, I
have an error because PTY seems to not be supported. ./configure does not
propose me to --enable-pty as I have seen in some related posts.Hi,
Hi,
based on http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#653 and
http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#64 (notice the
0 &&) I would say it isn't supported anymore.
Yup, I have seen this condition after sending the email.
wez turned that off 9 years ago:
https://github.com/php/php-src/commit/bd818c0118ba406d82f901d4f97a134727440df4
But why? Are arguments always valid today?
Thanks.
--
Ivan Enderlin
Developer of Hoa
http://hoa-project.net/
PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis)
http://disc.univ-fcomte.fr/ and http://www.inria.fr/
Member of HTML and WebApps Working Group of W3C
http://w3.org/
On Wed, Jan 30, 2013 at 12:45 PM, Ivan Enderlin @ Hoa <
ivan.enderlin@hoa-project.net> wrote:
On Wed, Jan 30, 2013 at 11:51 AM, Ivan Enderlin @ Hoa <
ivan.enderlin@hoa-project.net> wrote:Hi,
I wonder if PHP supports PTY? I see old codes (from 2004 to 2010) using
proc_open with $descriptors = [[0 => 'pty']] for example. When I try, I
have an error because PTY seems to not be supported. ./configure does not
propose me to --enable-pty as I have seen in some related posts.Hi,
Hi,
based on http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.
c#653 http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#653and
http://lxr.php.net/xref/PHP_**TRUNK/ext/standard/proc_open.**c#64http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#64 (notice the
0 &&) I would say it isn't supported anymore.Yup, I have seen this condition after sending the email.
wez turned that off 9 years ago:
https://github.com/php/php-**src/commit/*bd818c0118ba406d82f901d4f97a13
*4727440df4https://github.com/php/php-src/commit/bd818c0118ba406d82f901d4f97a134727440df4But why? Are arguments always valid today?
Thanks.
from the previous commits it seems that we had some kind of proc_open build
issue and didn't managed to solve it without removing that:
http://git.php.net/?p=php-src.git;a=history;f=ext/standard/proc_open.c;h=2041d3481ff389e9b2f17d3073176bfdffb0494a;hb=bd818c0118ba406d82f901d4f97a134727440df4
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
On Wed, Jan 30, 2013 at 12:45 PM, Ivan Enderlin @ Hoa <
ivan.enderlin@hoa-project.net> wrote:On Wed, Jan 30, 2013 at 11:51 AM, Ivan Enderlin @ Hoa <
ivan.enderlin@hoa-project.net> wrote:Hi,
I wonder if PHP supports PTY? I see old codes (from 2004 to 2010) using
proc_open with $descriptors = [[0 => 'pty']] for example. When I try, I
have an error because PTY seems to not be supported. ./configure does
not
propose me to --enable-pty as I have seen in some related posts.Hi,
Hi,
based on http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.
c#653 http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#653and
http://lxr.php.net/xref/PHP_**TRUNK/ext/standard/proc_open.**c#64http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#64 (notice the
0 &&) I would say it isn't supported anymore.Yup, I have seen this condition after sending the email.
wez turned that off 9 years ago:
https://github.com/php/php-**src/commit/**bd818c0118ba406d82f901d4f97a13
**4727440df4https://github.com/php/php-src/commit/bd818c0118ba406d82f901d4f97a134727440df4But why? Are arguments always valid today?
Thanks.
from the previous commits it seems that we had some kind of proc_open
build issue and didn't managed to solve it without removing that:--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
and for the record, it seems that the whole feature lived less than a month
and a half, so it isn't something that we properly tested or announced.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
wez turned that off 9 years ago:
https://github.com/php/php-**src/commit/*bd818c0118ba406d82f901d4f97a13
*4727440df4https://github.com/php/php-src/commit/bd818c0118ba406d82f901d4f97a134727440df4But why? Are arguments always valid today?
Thanks.
from the previous commits it seems that we had some kind of proc_open build
issue and didn't managed to solve it without removing that:
http://git.php.net/?p=php-src.git;a=history;f=ext/standard/proc_open.c;h=2041d3481ff389e9b2f17d3073176bfdffb0494a;hb=bd818c0118ba406d82f901d4f97a134727440df4
But is it possible to have PTY support today in PHP? These commits are
from 2004, we are in 2013 now. Maybe new solutions are conceivable.
Best regards.
--
Ivan Enderlin
Developer of Hoa
http://hoa-project.net/
PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis)
http://disc.univ-fcomte.fr/ and http://www.inria.fr/
Member of HTML and WebApps Working Group of W3C
http://w3.org/
On Mon, Feb 4, 2013 at 3:58 PM, Ivan Enderlin @ Hoa <
ivan.enderlin@hoa-project.net> wrote:
wez turned that off 9 years ago:
https://github.com/php/php-src/commit/
bd818c0118ba406d82f901d4f97a13***https://github.com/php/php-**src/commit/**bd818c0118ba406d82f901d4f97a13*
4727440df4<https://github.com/php/php-src/commit/
bd818c0118ba406d82f901d4f97a13*4727440df4https://github.com/php/php-src/commit/bd818c0118ba406d82f901d4f97a134727440df4But why? Are arguments always valid today?
Thanks.
from the previous commits it seems that we had some kind of proc_open
build
issue and didn't managed to solve it without removing that:
http://git.php.net/?p=php-src.git;a=history;f=ext/standard/
proc_open.c;h=2041d3481ff389e9b2f17d3073176bfdffb0494a;hb=**
bd818c0118ba406d82f901d4f97a13**4727440df4http://git.php.net/?p=php-src.git;a=history;f=ext/standard/proc_open.c;h=2041d3481ff389e9b2f17d3073176bfdffb0494a;hb=bd818c0118ba406d82f901d4f97a134727440df4But is it possible to have PTY support today in PHP? These commits are
from 2004, we are in 2013 now. Maybe new solutions are conceivable.Best regards.
Sure, I was just saying that we didn't had a working and mature solution
back then which we removed later, but added something which was broken,
tried to fix it, but give up and removed.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
But is it possible to have PTY support today in PHP? These commits are
from 2004, we are in 2013 now. Maybe new solutions are conceivable.
Sure, I was just saying that we didn't had a working and mature solution
back then which we removed later, but added something which was broken,
tried to fix it, but give up and removed.
Great. Do I open a bug?
Regards.
--
Ivan Enderlin
Developer of Hoa
http://hoa-project.net/
PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis)
http://disc.univ-fcomte.fr/ and http://www.inria.fr/
Member of HTML and WebApps Working Group of W3C
http://w3.org/
On Mon, Feb 4, 2013 at 7:32 PM, Ivan Enderlin @ Hoa <
ivan.enderlin@hoa-project.net> wrote:
But is it possible to have PTY support today in PHP? These commits are
from 2004, we are in 2013 now. Maybe new solutions are conceivable.
Sure, I was just saying that we didn't had a working and mature solution
back then which we removed later, but added something which was broken,
tried to fix it, but give up and removed.Great. Do I open a bug?
sure, albeit I think that it would infinitely increase the chances to have
this implemented if we could find somebody to actually cook up a patch.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
On Mon, Feb 4, 2013 at 7:32 PM, Ivan Enderlin @ Hoa <
ivan.enderlin@hoa-project.net> wrote:But is it possible to have PTY support today in PHP? These commits are
from 2004, we are in 2013 now. Maybe new solutions are conceivable.
Sure, I was just saying that we didn't had a working and mature solution
back then which we removed later, but added something which was broken,
tried to fix it, but give up and removed.Great. Do I open a bug?
sure, albeit I think that it would infinitely increase the chances to have
this implemented if we could find somebody to actually cook up a patch.
Certainly. I am coming on IRC to look for someone because I don't have
enough skills to do such a contribution.
Regards.
--
Ivan Enderlin
Developer of Hoa
http://hoa-project.net/
PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis)
http://disc.univ-fcomte.fr/ and http://www.inria.fr/
Member of HTML and WebApps Working Group of W3C
http://w3.org/