From: Luis Lavena Date: 2010-11-08T06:53:51+09:00 Subject: Re: irb misbehaviour with arrow keys on Windows On Nov 7, 8:40 am, Marvin Gülker wrote: > Hi there, > > It seems that irb has problems with the arrow keys on Windows. Steps to > reproduce: > > 1. Start up CMD. > 2. Type "irb" and press return > 3. Type "abc" and *do not* press return > 4. Press the right arrow key > 5. Now try typing "defg" - the characters don't show up anymore. If you > press return followed by the up arrow key, the whole sequence you typed, > including the mysteriously invisible characters, shows up. > > I'm using ruby 1.9.2p0 (2010-08-18) [i386-mingw32] on Windows Vista > 32-bit, installed by extracting the 7z archive provided by the > RubyInstaller team to C:\Rubies\ruby-1.9.2-p0-i386-mingw32. Of course I > added the bin\ subdirectory to my PATH variable. What codepage (chcp) are you using? I'm not been able to reproduce this, as responded to this thread already. > I don't know wheather in matters, but I don't have the RubyInstaller's > devkit installed, but a separate MinGW+MSYS installation in C:\MinGW > which is up-to-date. > Not unless you're running inside a bash terminal, but even that should not affect it. -- Luis Lavena