This reverts commit 2f26b824. This breaks terminfo in Bash for some reason (i.e. TAB and other special keys).