Revert "Fix for https://code.google.com/p/shellinabox/issues/detail?id=202"

This reverts commit b103c1e15f4f9c7c2635f2b0071980ed1a284117. This one
messes up keys like <TAB> and <F-KEYS>.