<?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"
	>
<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>A blog about technology, visualization, music and unmanned vehicle experiments</description>
	<pubDate>Sat, 06 Sep 2008 01:35:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Daniel</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/#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-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-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="http://epirsch.blogspot.com/2008/02/making-irb-work-properly-under-windows.html" rel="nofollow"&gt;but changing the "M-" with "\e" 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-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're talking Windows XP.  Start it this way.  Put this into console.cmd:
&lt;code&gt;
@start "rails console" /MAX ruby script\console
&lt;/code&gt;
Then just run 'console' 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:<br />
<pre><code>
@start "rails console" /MAX ruby script\console
</code></pre><br />
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-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'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 "#{options[:irb]} #{libs} --simple-prompt --readline"

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 <img src='http://www.peterkrantz.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </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-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-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-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'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:<br />
<pre><code>
irb --noreadline
</code></pre></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Dittus</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/#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'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>
<p><code>set HOME=%HOMEPATH%</code></p>
<p>To create .inputrc:</p>
<p><pre><code>cd %HOMEPATH%
edit .inputrc</code></pre></p>
<p>Or do this:</p>
<p><pre><code>cd %HOMEPATH%
copy con .inputrc</code></pre></p>
<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; <img src='http://www.peterkrantz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/#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>
</channel>
</rss>
