Add readline capability to existing interactive program [OT]

Kushal Kumaran kushal.kumaran at gmail.com
Thu Mar 15 01:53:18 EDT 2007


Jacob Rael wrote:
> Hello,
>
> I use an interactive simulator/data plotter called ocean. I get really
> frustrated using it because it does not have basic readline
> capabilities like ctrl-a for beginning of line and ctrl-k to kill the
> rest of the line.
>

I guess the easiest way would be this: http://freshmeat.net/projects/rlwrap/.
If you use Microsoft Windows, a cygwin version is available too,
apparently.

> <snipped>
--
Kushal Kumaran




More information about the Python-list mailing list