From: Charles Calvert Date: 2010-11-13T07:45:17+09:00 Subject: Re: irb misbehaviour with arrow keys on Windows On Sun, 7 Nov 2010 06:40:24 -0500, Marvin G端lker wrote in <1bd588b2e9da2312f444bc5e3dc291d5@ruby-forum.com>: >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. >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. Datapoint: I'm unable to reproduce this. Environment: ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32] (installed using executable installer downloaded from RubyInstaller.org) Windows XP SP3, 32 bit default command shell (cmd.exe) -- Charles Calvert | Software Design/Development Celtic Wolf, Inc. | Project Management http://www.celticwolf.com/ | Technical Writing (703) 580-0210 | Research