# Irb on windows @{\[ etc

**URL:** <https://rubytalk.org/t/irb-on-windows-etc/24919>\
**Category:** ruby-talk\
**Created:** [15 February 2006 08:57 UTC](https://rubytalk.org/t/irb-on-windows-etc/24919 "2006-02-15T08:57:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BA\_Baracus](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@BA\_Baracus](https://rubytalk.org/u/BA_Baracus)\
**Post date:** [15 February 2006 08:57 UTC](https://rubytalk.org/t/irb-on-windows-etc/24919/1 "2006-02-15T08:57:51Z")

</div>

Just to set set things straight (once more)...

Im currently stuck at a win32 machine...

unable to write @{[ in irb...

I know that there's a solution, but several searches couldnt help me...

Please obi-wan!

Mikkel Bruun

[www.strongside.dk](http://www.strongside.dk) - Football Portal(DK)  
[nflfeed.helenius.org](http://nflfeed.helenius.org) - Football News(DK)  
[ting.minline.dk](http://ting.minline.dk) - Buy Old Stuff!(DK)

> **···**
>
> --  
> Posted with [http://DevLists.com](http://DevLists.com). Sign up and save your time!

---

<div class="post-metadata">

**Author:** ![Ville\_Mattila](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@Ville\_Mattila](https://rubytalk.org/u/Ville_Mattila)\
**Post date:** [15 February 2006 09:08 UTC](https://rubytalk.org/t/irb-on-windows-etc/24919/2 "2006-02-15T09:08:28Z")

</div>

See the [http://www.rubywiki.de/wiki/FAQ](http://www.rubywiki.de/wiki/FAQ), its in german but the  
solution is quite obvious.

- Ville

---

<div class="post-metadata">

**Author:** ![David\_Vallner](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@David\_Vallner](https://rubytalk.org/u/David_Vallner)\
**Post date:** [16 February 2006 00:48 UTC](https://rubytalk.org/t/irb-on-windows-etc/24919/3 "2006-02-16T00:48:03Z")

</div>

Dňa Streda 15 Február 2006 09:57 Mikkel Bruun napísal:

> Just to set set things straight (once more)...
> 
> Im currently stuck at a win32 machine...
> 
> unable to write @{[ in irb...
> 
> I know that there's a solution, but several searches couldnt help me...
> 
> Please obi-wan!
> 
> Mikkel Bruun
> 
> www.strongside.dk - Football Portal(DK)  
> nflfeed.helenius.org - Football News(DK)  
> ting.minline.dk - Buy Old Stuff!(DK)

You really, really, really want a US layout for coding. The pinky strain of  
using AltGr for those characters gets painful real soon.

David Vallner

---

<div class="post-metadata">

**Author:** ![BA\_Baracus](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@BA\_Baracus](https://rubytalk.org/u/BA_Baracus)\
**Post date:** [15 February 2006 14:58 UTC](https://rubytalk.org/t/irb-on-windows-etc/24919/4 "2006-02-15T14:58:58Z")

</div>

Bookmarked! Thanks a bunch...

Mikkel Bruun

www.strongside.dk - Football Portal(DK)  
nflfeed.helenius.org - Football News(DK)  
ting.minline.dk - Buy Old Stuff!(DK)

> **···**
>
> On Wednesday, February 15, 2006, at 6:08 PM, Ville Mattila wrote:
> 
> > See the [http://www.rubywiki.de/wiki/FAQ](http://www.rubywiki.de/wiki/FAQ), its in german but the  
> > solution is quite obvious.
> > 
> > - Ville
> 
> --  
> Posted with [http://DevLists.com](http://DevLists.com). Sign up and save your time!

---

<div class="post-metadata">

**Author:** ![Phil\_Duby](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@Phil\_Duby](https://rubytalk.org/u/Phil_Duby)\
**Post date:** [16 February 2006 01:48 UTC](https://rubytalk.org/t/irb-on-windows-etc/24919/5 "2006-02-16T01:48:27Z")

</div>

"Ville Mattila" \<mulperi@cc.hut.fi\> wrote in message  
news:d5hphtwh.fsf@cc.hut.fi...

> See the [http://www.rubywiki.de/wiki/FAQ](http://www.rubywiki.de/wiki/FAQ), its in german but the  
> solution is quite obvious.
> 
> - Ville

Just to help those of use who (only) understand english, feed that URL to:

> **[Google Translate](https://translate.google.com/)**
>
> Google's service, offered free of charge, instantly translates words, phrases, and web pages between English and over 100 other languages.

It actually does an almost understandable translation. Sample:

Why don't function into irb under Windows some keys?

This is an error in the software: Indications, for which the AltGr key is  
needed, cannot be entered. The exact circumstances of the error are not  
admit (it steps probably only with Windows 2000 and XP on), but he can be  
repaired, as in a listing (for example into own files ) a file inputrc with  
following contents is put on:

> **···**
>
> --  
> Phil  
> remove all of the (at)'s to send email

---

<div class="post-metadata">

**Author:** ![Peter\_Krantz](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@Peter\_Krantz](https://rubytalk.org/u/Peter_Krantz)\
**Post date:** [16 February 2006 08:29 UTC](https://rubytalk.org/t/irb-on-windows-etc/24919/6 "2006-02-16T08:29:15Z")

</div>

For english instructions on getting irb to work with non-english  
keyboards on Windows XP see:

> **[Setting up the Interactive Ruby Shell (IRB) for non-english keyboards on...](https://www.peterkrantz.com/2005/irb-for-nonen-keyboards/)**
>
> For some reason it is difficult to use the \[\] and {} characters when using IRB with a non-english keyboard on Windows XP. To get it working together with tab completion:
> Create a new environment variable called “HOME” and set it to your user home...

Regards,

Peter

> **···**
>
> On 2/16/06, Phil Duby \<newshoundat@atphriendly.atnet\> wrote:
> 
> > "Ville Mattila" \<mulperi@cc.hut.fi\> wrote in message  
> > news:d5hphtwh.fsf@cc.hut.fi...  
> > \> See the [http://www.rubywiki.de/wiki/FAQ](http://www.rubywiki.de/wiki/FAQ), its in german but the  
> > \> solution is quite obvious.  
> > \>  
> > \> - Ville
> > 
> > Just to help those of use who (only) understand english, feed that URL to:
> > 
> > [http://www.google.com/language\_tools?hl=en](http://www.google.com/language_tools?hl=en)
> > 
> > It actually does an almost understandable translation. Sample:
> > 
> > Why don't function into irb under Windows some keys?
> > 
> > This is an error in the software: Indications, for which the AltGr key is  
> > needed, cannot be entered. The exact circumstances of the error are not  
> > admit (it steps probably only with Windows 2000 and XP on), but he can be  
> > repaired, as in a listing (for example into own files ) a file inputrc with  
> > following contents is put on:
> > 
> > --  
> > Phil  
> > remove all of the (at)'s to send email

---

<div class="post-metadata">

**Author:** ![Alex\_Combas](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@Alex\_Combas](https://rubytalk.org/u/Alex_Combas)\
**Post date:** [16 February 2006 08:39 UTC](https://rubytalk.org/t/irb-on-windows-etc/24919/7 "2006-02-16T08:39:33Z")

</div>

Hello,  
Perhaps slightly offtopic  
but the msys shell does not seem  
to work properly with irb.

In cmd.exe you get a normal prompt  
after starting irb, but with msys you get  
no prompt at all, exactly as if you start  
ruby with no command line args.

Occasionally irb crashes in msys, and I  
think its due to the output issue in some way.

Anyone have some experience with this?  
Thanks,

> **···**
>
> --  
> Alex Combas  
> [http://noodlejunkie.blogspot.com/](http://noodlejunkie.blogspot.com/)
