Re: Console Work

From: Date: Wed, 15 Aug 2001 16:14:28 +0000
Subject: Re: Console Work
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-63296@lists.php.net to get a copy of this message

> My last 'feature request' is that of either a select () ability (I see 4.0.6
> has a function called select in ext/standard/file.c (and ext/sockets/???.c) but
> I have not played with it), or another ability to read from files / fifos /
> character devices in a non-blocking way. Particularly, /dev/modem work is to my
> knowledge impossible at present

oh ya, socket_select in the sockets module is a full implementation of the C select
 
> To round up, an ncurses module would be nice, a select function like that in C
/ext/ncurses

> would be sex (!), a fork function (like that in C..). Thanks for your time
> taken reading the e-mail, and thanks for a bloody brilliant language (I have
> used it for web work too). If PHP had the above functionality, I can't see much
> left that stops it from being a rather complete and feature-packed general
> shell scripting language! (doh! signal handling would be nice too!)
> 
> Cherio,
> 
> -dw
> 
> PS> Another thing I noticed, I wrote a diary.php script that allows me 'ninja
> speed' access to an OpenSSL'd diary in a very secure way. The code behind it is
> relatively tight, yet when I run it strace'd, I notice that there are a good 50
> or so getuid ()'s before the EDITOR is exec'd. The speed at which the program
> runs is fine, but I was just wondering if it might indicate an underlying
> problem, or is that just the nature of interpreted languages (not very
> optimal)! On request, I'll make diary.php available, I intend sticking it on a
> public site soon anyway.
> 
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
> 



Thread (4 messages)

« previous php.dev (#63296) next »