svn: /php/php-src/trunk/ NEWS sapi/cli/php_cli.c sapi/cli/php_cli_readline.c sapi/cli/php_cli_readline.h

From: Date: Thu, 20 May 2010 20:55:33 +0000
Subject: svn: /php/php-src/trunk/ NEWS sapi/cli/php_cli.c sapi/cli/php_cli_readline.c sapi/cli/php_cli_readline.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-62675@lists.php.net to get a copy of this message
johannes Thu, 20 May 2010 20:55:33 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=299537 Log: - Improved CLI Interactive readline shell (Johannes) . Added cli.pager ini setting to set a pager for output. . Added cli.prompt ini settingto configure the shell prompt. . Added shortcut #inisetting=value to change ini settings at run-time. . Don't terminate shell on fatal errors. A pager can be a an shell command which will receive the command output on its STDIN channel php > #cli.pager=less php > phpinfo(); (output will appear in the pager) php > #cli.pager=grep -i readline php > phpcredits(); Readline => Thies C. Arntzen php > #cli.pager= (output appears again direct on the terminal) A prompt can contain a few escape sequences like php > #cli.prompt=\e[032m\v \e[031m\b \e[34m\> \e[0m 5.3.99-dev php > //Colorful prompt with version number A prompt can also contaian PHP code in backticks php > #cli.prompt=echo gethostname(); \b \> guybrush php > Changed paths: U php/php-src/trunk/NEWS U php/php-src/trunk/sapi/cli/php_cli.c U php/php-src/trunk/sapi/cli/php_cli_readline.c U php/php-src/trunk/sapi/cli/php_cli_readline.h

Attachment: [text/x-diff] svn-diffs-299537.txt
« previous php.cvs (#62675) next »