Break out the controlling TTY and slave TTY into their separate classes.
Compiles but untested.


git-svn-id: svn+ssh://svnrepo/projects/tachyon/trunk@6639 561c3618-0fe6-0310-b5d6-fc65c73fee30
Fix reading and writing by remembering to set how much data there is to write
out.


git-svn-id: svn+ssh://svnrepo/projects/tachyon/trunk@6640 561c3618-0fe6-0310-b5d6-fc65c73fee30
Set initial window size after the buffer has been initialized.


git-svn-id: svn+ssh://svnrepo/projects/tachyon/trunk@6641 561c3618-0fe6-0310-b5d6-fc65c73fee30
Hacky way to exit cleanly when the slave pty closes.


git-svn-id: svn+ssh://svnrepo/projects/tachyon/trunk@6642 561c3618-0fe6-0310-b5d6-fc65c73fee30