|
PHP5中文手册
Ncurses Terminal Screen Control Functions简介ncurses (new curses) is a free software emulation of curses in System V Rel 4.0 (and above). It uses terminfo format, supports pads, colors, multiple highlights, form characters and function key mapping. Because of the interactive nature of this library, it will be of little use for writing Web applications, but may be useful when writing scripts meant using PHP from the command line. Warning
本扩展模块是实验性的。本模块的行为,包括其函数的名称以及其它任何关于此模块的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本扩展模块风险自担。 Ncurses is available for the following platforms:
需求You need the ncurses libraries and headerfiles. Download the latest version from the » ftp://ftp.gnu.org/pub/gnu/ncurses/ or from an other GNU-Mirror. 安装To get these functions to work, you have to compile the CGI or CLI version of PHP with --with-ncurses[=DIR]. 运行时配置本扩展模块在 php.ini 中未定义任何配置选项。 资源类型This extension defines window, panel and pad resources. 预定义常量以下常量由本扩展模块定义,因此只有在本扩展模块被编译到 PHP 中,或者在运行时被动态加载后才有效。 Error codesOn error ncurses functions return NCURSES_ERR. Colors
Keys
Mouse
Table of Contents
|