NCurses test.
send(byte[]) extracted to TerminalOutputStream
Small refactoring.
Test renamed.
Don't throw exception on EOF.