<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Setting up the Interactive Ruby Shell (IRB) for non-english keyboards on Windows XP</title>
	<atom:link href="http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 09:31:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Daniel</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-2293</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 21 Jul 2008 14:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-2293</guid>
		<description>rman, that worked like a charm. Thanks!

Danish keyboard.</description>
		<content:encoded><![CDATA[<p>rman, that worked like a charm. Thanks!</p>
<p>Danish keyboard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rman</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-2249</link>
		<dc:creator>rman</dc:creator>
		<pubDate>Tue, 29 Apr 2008 08:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-2249</guid>
		<description>You can manipulate the init.rb file (located in $ruby_installtion\lib\ruby\versionxxx\irb)

Scroll down and set the following line to:
 @CONF[:USE_READLINE] = false

(comment the following stuff on the same line: #unless defined?(ReadlineInputMethod))  
Hope this helps</description>
		<content:encoded><![CDATA[<p>You can manipulate the init.rb file (located in $ruby_installtion\lib\ruby\versionxxx\irb)</p>
<p>Scroll down and set the following line to:<br />
 @CONF[:USE_READLINE] = false</p>
<p>(comment the following stuff on the same line: #unless defined?(ReadlineInputMethod))<br />
Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emmanuel Pirsch</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-2203</link>
		<dc:creator>Emmanuel Pirsch</dc:creator>
		<pubDate>Tue, 12 Feb 2008 17:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-2203</guid>
		<description>This solution did not work for me, &lt;a href=&quot;http://epirsch.blogspot.com/2008/02/making-irb-work-properly-under-windows.html&quot; rel=&quot;nofollow&quot;&gt;but changing the &quot;M-&quot; with &quot;\e&quot; in the .inputrc file solved the problem for good&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>This solution did not work for me, <a href="http://epirsch.blogspot.com/2008/02/making-irb-work-properly-under-windows.html" rel="nofollow">but changing the &#8220;M-&#8221; with &#8220;\e&#8221; in the .inputrc file solved the problem for good</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JFred</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-2146</link>
		<dc:creator>JFred</dc:creator>
		<pubDate>Wed, 12 Dec 2007 15:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-2146</guid>
		<description>As long as you&#039;re talking Windows XP.  Start it this way.  Put this into console.cmd:
&lt;code&gt;
@start &quot;rails console&quot; /MAX ruby script\console
&lt;/code&gt;
Then just run &#039;console&#039; from the command line, and it will start up in its own window.

I found that using the --noreadline option makes it work better.  Otherwise history gets confused after you enter a long line.  Tab completion is less important than history, for me.</description>
		<content:encoded><![CDATA[<p>As long as you&#8217;re talking Windows XP.  Start it this way.  Put this into console.cmd:</p>
<pre class="brush: plain; title: ; notranslate">DQpAc3RhcnQgInJhaWxzIGNvbnNvbGUiIC9NQVggcnVieSBzY3JpcHRcY29uc29sZQ0K</pre>
<p>Then just run &#8216;console&#8217; from the command line, and it will start up in its own window.</p>
<p>I found that using the &#8211;noreadline option makes it work better.  Otherwise history gets confused after you enter a long line.  Tab completion is less important than history, for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flip</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-1982</link>
		<dc:creator>flip</dc:creator>
		<pubDate>Mon, 16 Jul 2007 23:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-1982</guid>
		<description>doesn&#039;t work for me :(

checked everything twice:
1. set home-path to a path with .inputrc
2. the .inputrc in the home-path has the above lines and a free line at the end (tried different encodings (dos/unix/utf8))
3. in console.rb i modified the irc-call to
exec &quot;#{options[:irb]} #{libs} --simple-prompt --readline&quot;

if i now start the console, still no special chars like [] are possible. running with --noreadline works well, but i really miss the console functions like to browse with the arrow keys through   the console history.

any idea?

thanks!

cheers,
flip</description>
		<content:encoded><![CDATA[<p>doesn&#8217;t work for me :(</p>
<p>checked everything twice:<br />
1. set home-path to a path with .inputrc<br />
2. the .inputrc in the home-path has the above lines and a free line at the end (tried different encodings (dos/unix/utf8))<br />
3. in console.rb i modified the irc-call to<br />
exec &#8220;#{options[:irb]} #{libs} &#8211;simple-prompt &#8211;readline&#8221;</p>
<p>if i now start the console, still no special chars like [] are possible. running with &#8211;noreadline works well, but i really miss the console functions like to browse with the arrow keys through   the console history.</p>
<p>any idea?</p>
<p>thanks!</p>
<p>cheers,<br />
flip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tayfun</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-271</link>
		<dc:creator>tayfun</dc:creator>
		<pubDate>Thu, 28 Sep 2006 17:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-271</guid>
		<description>Hello,
Thanks for the solution but I find that this does not work for the Turkish keyboard. Can you direct me on how a solution can be found for the Turkish keyboard case? Another .inputrc for example?

[--noreadline works but I want tab completion too]</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Thanks for the solution but I find that this does not work for the Turkish keyboard. Can you direct me on how a solution can be found for the Turkish keyboard case? Another .inputrc for example?</p>
<p>[--noreadline works but I want tab completion too]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michel</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-62</link>
		<dc:creator>Michel</dc:creator>
		<pubDate>Sat, 15 Jul 2006 14:33:10 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-62</guid>
		<description>--noreadline also works with French (AltGr)</description>
		<content:encoded><![CDATA[<p>&#8211;noreadline also works with French (AltGr)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eduardo</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-38</link>
		<dc:creator>eduardo</dc:creator>
		<pubDate>Thu, 29 Jun 2006 14:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-38</guid>
		<description>Spanish keyboard here... easyest workaround I&#039;ve found:
&lt;code&gt;
irb --noreadline
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Spanish keyboard here&#8230; easyest workaround I&#8217;ve found:</p>
<pre class="brush: plain; title: ; notranslate">DQppcmIgLS1ub3JlYWRsaW5lDQo=</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Dittus</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-10</link>
		<dc:creator>Martin Dittus</dc:creator>
		<pubDate>Sat, 25 Mar 2006 16:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-10</guid>
		<description>--noreadline works well for me up to the point where you want to exit irb -- ^C, ^D, ^Z have no effect. So thanks for this .inputrc workaround.

To quickly set up the HOME env variable you can also simply put this in your irb.bat:

&lt;code&gt;set HOME=%HOMEPATH%&lt;/code&gt;

To create .inputrc:

&lt;code&gt;cd %HOMEPATH%
edit .inputrc&lt;/code&gt;

Or do this:

&lt;code&gt;cd %HOMEPATH%
copy con .inputrc&lt;/code&gt;

... then paste Peter&#039;s .inputrc content above (with a right mouse click), make sure you end the input with a blank line, hit ^Z and enter.

10 years time to forget all about DOS, and it just came back in a rush... ;)</description>
		<content:encoded><![CDATA[<p>&#8211;noreadline works well for me up to the point where you want to exit irb &#8212; ^C, ^D, ^Z have no effect. So thanks for this .inputrc workaround.</p>
<p>To quickly set up the HOME env variable you can also simply put this in your irb.bat:</p>
<pre class="brush: plain; title: ; notranslate">c2V0IEhPTUU9JUhPTUVQQVRIJQ==</pre>
<p>To create .inputrc:</p>
<pre class="brush: plain; title: ; notranslate">Y2QgJUhPTUVQQVRIJQ0KZWRpdCAuaW5wdXRyYw==</pre>
<p>Or do this:</p>
<pre class="brush: plain; title: ; notranslate">Y2QgJUhPTUVQQVRIJQ0KY29weSBjb24gLmlucHV0cmM=</pre>
<p>&#8230; then paste Peter&#8217;s .inputrc content above (with a right mouse click), make sure you end the input with a blank line, hit ^Z and enter.</p>
<p>10 years time to forget all about DOS, and it just came back in a rush&#8230; ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-3</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 12 Jan 2006 20:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-3</guid>
		<description>I guess you are supposed to use newlines in the .inputrc content. At least that was how I got it to work. Thanks anyway for pointing out the direction!</description>
		<content:encoded><![CDATA[<p>I guess you are supposed to use newlines in the .inputrc content. At least that was how I got it to work. Thanks anyway for pointing out the direction!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Krantz</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-2</link>
		<dc:creator>Peter Krantz</dc:creator>
		<pubDate>Thu, 12 Jan 2006 18:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-2</guid>
		<description>Ben, that would make special characters work, but tab-completion fail.</description>
		<content:encoded><![CDATA[<p>Ben, that would make special characters work, but tab-completion fail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben St. John</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/comment-page-1/#comment-1</link>
		<dc:creator>Ben St. John</dc:creator>
		<pubDate>Thu, 12 Jan 2006 16:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8080/2005/setting-up-the-interactive-ruby-whell-irb-for-non-english-keyboard-on-windows-xp/#comment-1</guid>
		<description>For me, invoking irb with the --noreadline made things work without requiring the .inputrc file (which windows explorer doesn&#039;t like as a name).

(perhaps setting the INPUTRC environment variable to point the file (whatever it&#039;s name) would also do the trick.

Ben</description>
		<content:encoded><![CDATA[<p>For me, invoking irb with the &#8211;noreadline made things work without requiring the .inputrc file (which windows explorer doesn&#8217;t like as a name).</p>
<p>(perhaps setting the INPUTRC environment variable to point the file (whatever it&#8217;s name) would also do the trick.</p>
<p>Ben</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.peterkrantz.com @ 2012-02-09 07:18:02 -->
