[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Readline history bug on Windows

h3raLd

2/16/2008 2:49:00 PM

I just wanted to know if anyone had any idea on how to solve a rather
unpleasant bug involving the readline library on Windows.
I'm using readline in a Ruby program of mine and apparently whenever I
try to re-edit a long line I previously typed in, the cursor goes up
instead of left and the text gets garbled.

Apparently it is a known problem:

http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/e70c06bd07e5bf88/b9e480f26723c72c?lnk=gst&q=irb+readline+windows#b9e480...

but afaik no one came up with a solution yet. People tried to disable
cmd.exe's history but this didn't solve the problem, so here's another
idea: is there any way toselectively disable readline's history on
Windows so that it is then possible to use readline for just tab
completion as history is already provided by default by cmd.exe?

Thanks in advance,

Fabio