Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13521 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58318 invoked by uid 1010); 26 Oct 2004 13:19:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55326 invoked from network); 26 Oct 2004 13:18:22 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by pb1.pair.com with SMTP; 26 Oct 2004 13:18:22 -0000 Received: from web1.messagingengine.com (web1.internal [10.202.2.210]) by frontend1.messagingengine.com (Postfix) with ESMTP id 748F3C34706; Tue, 26 Oct 2004 09:18:21 -0400 (EDT) Received: by web1.messagingengine.com (Postfix, from userid 99) id C93F427BF; Tue, 26 Oct 2004 09:18:21 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) To: internals@lists.php.net, helly@php.net, edink@php.net Date: Tue, 26 Oct 2004 06:18:21 -0700 X-Sasl-Enc: eFR40bLyjK5XC9jcKmrFIw 1098796701 Message-ID: <1098796701.32385.207284415@webmail.messagingengine.com> Subject: Can someone allocate 2 command line switches for php cli on NetWare? From: kameshj@fastmail.fm ("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, php cli for that matter most programs are not invoked from environments like shell/command prompt. They are invoked directly from System Console which is in some sense similar to "init" of Linux. This makes the program to have their own Screen. Upon exit of the program the screen will close and the user can not see the output anymore. To solve this issue we have 'pressanykey' prompt under ifdef for NetWare in php cli code before calling exit.. This introduces another problem of scripts to always wait for user to press any key before closing the screen. So we need a command line switch to conditionally prompting for user's attention 'pressanykey'. Another command line switch we need is to conditionally open or not to open the screen at all. Currently I could see g, j, k, o, p, t,u, x, y not being used. Can I make use of any two of them? With regards Kamesh Jayachandran