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