note 27653 added to ref.ncurses

From: Date: Sat, 14 Dec 2002 04:56:10 +0000
Subject: note 27653 added to ref.ncurses
Groups: php.notes 
Request: Send a blank email to php-notes+get-40899@lists.php.net to get a copy of this message
actually *that* example does not work... here is one that I took and trimmed down from the ncurses examples. I will do some more and post them here.. <? ncurses_init(); ############################################## ncurses_noecho(); $large = ncurses_newwin(20, 60, 2, 10); $small = ncurses_newwin(10, 30, 7, 25); ncurses_refresh(); ncurses_wrefresh($large); ncurses_wrefresh($small); ncurses_mvwaddstr($small, 5, 5, " Test String "); ncurses_wrefresh($small); ncurses_getch(); ############################################## ncurses_end(); // Clean up, and quit ?> This is from PHP 4.3.0RC0 compiled with the following flags.. ./configure --prefix=/wwwroot/php --with-config-file-path=/wwwroot/php --with-mysql --enable-pcntl --with-tsrm-pthreads --enable-sysvsem --enable-sysvshm --with-curl --enable-bcmath --enable-sigchild --enable-sockets --with-ncurses -- http://www.php.net/manual/en/ref.ncurses.php http://master.php.net/manage/user-notes.php?action=edit+27653 http://master.php.net/manage/user-notes.php?action=delete+27653 http://master.php.net/manage/user-notes.php?action=reject+27653

« previous php.notes (#40899) next »