Problems caused by STDIN set to non-blocking mode
When this happens, run bash from the command line, then exit (to return the first bash). Should work again. Somewhat interesting details here: https://stackoverflow.com/questions/19895185/bash-shell-read-error-0-resource-temporarily-unavailable.