* test/test_curses.rb (TestCurses#run_curses): reap zombie, since
PTY.spawn with block does not wait the sub process but just
detaches.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test_curses.rb (TestCurses#run_curses): default TERM
environment variable which is needed by ncurses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
On Linux, ncurses's initscr aborts with showing
"Error opening terminal: unknown.".
This fix can catch the error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test_curses.rb (TestCurses#run_curses): add sentinel to get rid
of read pty output after the child process terminated, which causes
EIO on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/curses/curses.c (Init_curses): fix implementation function,
crmode should be same as cbreak. [ruby-core:54013] [Bug #8222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e