Simon Strandgaard wrote:
> 
> In the terminal there seems to be problem with the arrow keys.
> When pressing arrow_left then I see ^[[D in the terminal.
> pressing CTRL-A doesn't work neither.
> I suspect the escape sequences isn't being read correct.
> 
> What is the solution for this?
> 
> 
> btw: I am learning about Cocoa on mac and figured it would be
> interesting to write a GUI frontend for IRB.  Something like this:
> http://aeditor.rubyforge.org/data/mac_irb1.png
> 
> I wonder how I can establish communication with irb.
> I am in paticular curious to how/if the freeride team has done it.

In FreeRIDE, we are using Martin DeMello's FXIrb:

  http://rubyforge.org/projects/fxirb/

You could take a look and see what he is doing.

Curt