check that $stdin responds_to :noecho instead of checking RUBY_VERSION