note 30652 added to ref.ncurses

From: Date: Tue, 25 Mar 2003 01:18:35 +0000
Subject: note 30652 added to ref.ncurses
Groups: php.notes 
Request: Send a blank email to php-notes+get-45774@lists.php.net to get a copy of this message
In the example above, if you run resize from a C shell it will output the sizes in C shell syntax, run resize with -u to force Bourne syntax: The $win parameter is just for future compatibility. function ncurses_getmaxyx($win, &$y, &$x) { exec("/usr/X11R6/bin/resize -u", $output); $cols = explode("=", $output[0]); $rows = explode("=", $output[1]); $x = intval($cols[1]); $y = intval($rows[1]); } -- http://www.php.net/manual/en/ref.ncurses.php http://master.php.net/manage/user-notes.php?action=edit+30652 http://master.php.net/manage/user-notes.php?action=delete+30652 http://master.php.net/manage/user-notes.php?action=reject+30652

« previous php.notes (#45774) next »