https://github.com/ludwigschwardt/python-gnureadline