[PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
Hi All, I need two cli switches to handle some special cases to NetWare specific php invocation. In linux and windows where shell and command prompt far live the php interpreter invoked from them. Both shell and command prompt will capture the output of the child php interpreter. In NetWare OS,

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Wez Furlong
Doesn't netware have a standard wait or pause utility for this kind of thing? It feels like PHP is the wrong place to add this kind of option; why should every application that runs on netware include code to open a screen? Why should every application that runs on netware include press-any-key

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
Hi Wez, We have bash ported to NetWare which is new addition to our Netware distro. But still people tend to use System Console to run their programs. Basically this is the requirements from some of Netware customers to use php interpreter for running some cron jobs which does not need any

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Wez Furlong
How about moving this kind of functionality into ext/netware and having a couple of functions that manipulate the netware screens/interactivity stuff? Then the scripts themselves can control exactly what is needed; this feels better to me, as it is more in line with other systems. --Wez On Tue,

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Shane Caraveo
Here is my suggestion, Rather than taking two switches, php should grow a generic switch for this kind of use: php -o param:value;param:value; This allows custom mods to php a way to introduce new options that are not part of the general php distribution, without the need to land grab the

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
Shane, This solution seems interesting. I will give a try. With regards Kamesh Jayachandran On Tue, 26 Oct 2004 08:24:03 -0700, Shane Caraveo [EMAIL PROTECTED] said: Here is my suggestion, Rather than taking two switches, php should grow a generic switch for this kind of use: php -o

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
Wez, Seems interesting but the bit invasive to the scripts they already have. They have to change call my custome ext/netware function I will try this solution too. Thanks With regards Kamesh Jayachandran On Tue, 26 Oct 2004 15:57:47 +0100, Wez Furlong [EMAIL PROTECTED] said: How about moving

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Wez Furlong
Shanes idea is good, but I know that if I was on netware, I'd prefer to have a function to do it, rather than a command line switch. Just my thoughts, --Wez On Tue, 26 Oct 2004 08:33:06 -0700, Kamesh Jayachandran [EMAIL PROTECTED] wrote: Wez, Seems interesting but the bit invasive to the

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Marcus Boerger
Hello Kamesh, i know Netware and still i'd say CLI is definitively not the place to add stuff like this. If you really need this then you may want to do some INI controled user-space magic. Like adding a get-char through auto-append-file. regards marcus Tuesday, October 26, 2004, 4:31:16 PM,

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Derick Rethans
On Tue, 26 Oct 2004, Marcus Boerger wrote: Hello Kamesh, i know Netware and still i'd say CLI is definitively not the place to add stuff like this. If you really need this then you may want to do some INI controled user-space magic. Like adding a get-char through auto-append-file. I also

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Andi Gutmans
I suggest to go with Wez's recommendation of adding ext/netware. You can use -d to change INI values at the command line which can be accessed from the extension. I don't think there's a need for -o Andi At 08:24 AM 10/26/2004 -0700, Shane Caraveo wrote: Here is my suggestion, Rather than taking

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Andi Gutmans
Yep. At 04:35 PM 10/26/2004 +0100, Wez Furlong wrote: Shanes idea is good, but I know that if I was on netware, I'd prefer to have a function to do it, rather than a command line switch. Just my thoughts, --Wez On Tue, 26 Oct 2004 08:33:06 -0700, Kamesh Jayachandran [EMAIL PROTECTED] wrote: Wez,

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
Seems a better option I will give it a try. With regards Kamesh Jayachandran On Tue, 26 Oct 2004 18:40:33 -0700, Andi Gutmans [EMAIL PROTECTED] said: I suggest to go with Wez's recommendation of adding ext/netware. You can use -d to change INI values at the command line which can be accessed