https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112017-05-15T14:24:10ZRuby Issue Tracking SystemRuby master - Bug #13556: MinGW readline Alt / Meta keyshttps://redmine.ruby-lang.org/issues/13556?journal_id=648282017-05-15T14:24:10ZMSP-Greg (Greg L)
<ul></ul><p>After discovering that Meta/Alt key combinations can also be done via an [ESC] then [key] press, I've verified that all Meta/Alt combinations work with the readline package when done via [ESC]. So, it may be that readline.c is not recognizing the windows Alt key. Then again, it may be in the MinGW/MSYS2 package. As stated before, I'm not a c type...</p> Ruby master - Bug #13556: MinGW readline Alt / Meta keyshttps://redmine.ruby-lang.org/issues/13556?journal_id=658132017-07-16T23:43:29ZMSP-Greg (Greg L)
<ul></ul><p>Re-addressing this with a current build, the same issue exists. As mentioned previously, this issue will only exhibit itself when used with a MinGW build that uses the MSYS2/MinGW <code>readline</code> package. <code>readline</code> has been problematic in the past on windows, but that was with versions 6 and earlier. This is probably the reason the readline-rb gem exists, and why it has been installed on windows builds.</p>
<p>I am not familiar with how <code>readline</code> works in a OSX/*nix env, so I don't even know if I'd use it if it worked perfectly under windows. Given that IRB is currently problematic, I test anything requiring more than a line or two with an rb file and make use of the history in the windows command window.</p>
<p>So, if anyone familiar with <code>readline</code>, that can also run a windows build, and is comfortable using my build at <a href="https://dl.bintray.com/msp-greg/ruby_windows/" class="external">BinTray</a> (which generates the last section of output in <a href="https://ci.appveyor.com/project/MSP-Greg/appveyor-ruby" class="external">appveyor-ruby</a>), feel free to check how IRB behaves.</p>
<p>Otherwise, this can be closed.</p> Ruby master - Bug #13556: MinGW readline Alt / Meta keyshttps://redmine.ruby-lang.org/issues/13556?journal_id=821582019-10-18T00:28:40Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul>