From: Michele Simionato on
Googling for ways to use the readline library with multiline input I
found out the following stackoverflow answer:

http://stackoverflow.com/questions/161495/is-there-a-nice-way-of-handling-multi-line-input-with-gnu-readline

The solution is to use the rl_bind_key function, but it does not look
like such function is wrapped in Python: what are my options?

Notice that compatibility with pyreadline (which work on Windows)
would be a plus.

TIA,

Michele Simionato