From: bnewton at networkmerchants dot com Operating system: gentoo Linux 2006 PHP version: 5.2.0 PHP Bug Type: ncurses related Bug description: ncurses_instr() is broken
Description: ------------ ncurses_instr appears to be broken. It returns a random number of lowercase q's without waiting for actual user input. Reproduce code: --------------- $name = 0; ncurses_init(); ncurses_addstr("Enter Your Name"); ncurses_move(1,0); ncurses_instr($name); ncurses_move(2,0); ncurses_addstr(" Hello $name"); ncurses_getch(); ncurses_end(); Expected result: ---------------- Enter Your Name Bill Hello Bill Actual result: -------------- Enter Your Name Bill Hello qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq number of q's vary from execution to execution typically over one hundred -- Edit bug report at http://bugs.php.net/?id=40225&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40225&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40225&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40225&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40225&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40225&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40225&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40225&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40225&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40225&r=support Expected behavior: http://bugs.php.net/fix.php?id=40225&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40225&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40225&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40225&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40225&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40225&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40225&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40225&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40225&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40225&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40225&r=mysqlcfg