Dave Burt
7/19/2006 10:29:00 AM
listrecv@gmail.com wrote:
> I'm getting funny behavior when using irb (readline) on Windows. When
> I go back to a very long line in the history, I can't edit it. After
> hit the left arrow a few times, the cursors moves *up* a line, and not
> left anymore. At that point, I can't figure out what I'm typing, and
> so I have to Ctrl-C.
>
> Does anyone else experience this problem? More importantly, is there a
> way to fix it?
>
> Any ideas or help appreciated.
On Windows, under the cmd.exe shell, you don't need readline for
history, cmd.exe provides it by default. My preference is to run
irb --noreadline. As an added bonus, that means I can paste text with
tabs in it into the irb session.
Cheers,
Dave