Test a few erroneous conditions when setting the top and bottom margins


git-svn-id: svn+ssh://svnrepo/projects/lousy/trunk@7344 561c3618-0fe6-0310-b5d6-fc65c73fee30
Test when the arguments to the top and bottom margin setting are out of range


git-svn-id: svn+ssh://svnrepo/projects/lousy/trunk@7345 561c3618-0fe6-0310-b5d6-fc65c73fee30
Implement setMode, supporting one mode, Line feed / New line mode.


git-svn-id: svn+ssh://svnrepo/projects/lousy/trunk@7346 561c3618-0fe6-0310-b5d6-fc65c73fee30
Implement the reset mode command, supporting just the linefeed/newline mode for
now


git-svn-id: svn+ssh://svnrepo/projects/lousy/trunk@7347 561c3618-0fe6-0310-b5d6-fc65c73fee30
Factor setMode and resetMode to use a single decoding function


git-svn-id: svn+ssh://svnrepo/projects/lousy/trunk@7348 561c3618-0fe6-0310-b5d6-fc65c73fee30
Make it clearer how terminal modes should be controlled and extended via
inheritance.


git-svn-id: svn+ssh://svnrepo/projects/lousy/trunk@7349 561c3618-0fe6-0310-b5d6-fc65c73fee30
Fix off-by-one error in test


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