|Info||Videos||View files (5)||Download .zip||Reputation||Support forum (1)||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2013-07-24 (0 years ago)||Not yet rated by the users||Total: 298 This week: 2||All time: 6,517 This week: 858|
|kmd 0.1||Public Domain||4||Console|
It can initialized the ncurses extension to use the current shell optionally using a given shell history file and outputting a given screen file.
The class provides functions to move the position of the cursor and display text on the screen.
Sub-classes may extend the base class to define how to handle the use of certain keys like return, tab or escape, so sub-classes can define the output to display the screen as result of actions triggered by those keys.
|kmd.php||Class||ncurses commandline class|
|sample-kmd-basic.php||Example||basic sample, just to instanciate the class|
|sample-kmd-php.php||Example||rewrite of php -a, php interactive shell|
|sample-kmd-shell.php||Example||wrapping linux console for education or joke purpose.|
|sample-kmd-sybase.php||Appl.||Microsoft sql server commandline client|
Prize: One subscription to the PDF edition of the PHP Architect magazine
|Command line shell applications often use the ncurses extension to read the user input and format the output to the shell terminal.
This class can help developing ncurses based applications by providing means to define how to interact with the user when he uses common keys like return, tab, escape and the cursor keys.
|Version Control||Unique User Downloads||Download Rankings|
|This week:||2||This week:||858|