p. As a programmer you are often assigned to write programs for system administration tasks. By default, command line applications in PHP lack aesthetics. By taking advantage of the ncurses functions you can create a friendly user interface for the application that will be generally uniform across the various terminal types.
p. PHP is a highly flexible and extensible language and can be used to augment your existing shell/Perl scripting solutions or replace them; so ncurses functionality is a natural progression for PHP.
p. This tutorial will give you a kick-start towards writing decent looking command-line applications that benefit the user as well as the writer. I will focus on the ‘meat’ of what is needed and hopefully give you a framework for adding ncurses functionality into your PHP application.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed