make stty less noisy under jruby
Merge pull request #402 from pritchie/master

make stty less noisy under jruby related to issue #226