Re: Add readline capability to existing interactive program [OT]

2007-03-14 Thread Kushal Kumaran
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:

Add readline capability to existing interactive program

2007-03-14 Thread Jacob Rael
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 was thinking this might be easy to add with Python. Do something like