# Can not put @ when debuging with Windows XP Home Edition

**URL:** <https://www.ruby-forum.com/t/can-not-put-when-debuging-with-windows-xp-home-edition/178364>\
**Category:** Ruby\
**Created:** [November 3, 2009, 3:28pm UTC](https://www.ruby-forum.com/t/can-not-put-when-debuging-with-windows-xp-home-edition/178364 "2009-11-03T15:28:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![xarc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df788c/32.png) [@xarc](https://www.ruby-forum.com/u/xarc)\
**Post date:** [November 3, 2009, 3:28pm UTC](https://www.ruby-forum.com/t/can-not-put-when-debuging-with-windows-xp-home-edition/178364/1 "2009-11-03T15:28:12Z")

</div>

Hello, I have problems when I debug, buy only with a Laptop with XP Home  
Edition

Here is my problem: when I debug I cann hot print @, [] {… special  
characters.

(see attached image)

I have been looking for solutions in google… but I only found some  
similar issues about the ruby console (IRB), this is another problem but  
already solved, and nothing about debugging.

Does anybody know anything about it

thanks in advance

sorry for my english, now, i’m going to put this in spanish forum 🙂

---

<div class="post-metadata">

**Author:** ![xarc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df788c/32.png) [@xarc](https://www.ruby-forum.com/u/xarc)\
**Post date:** [November 3, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/can-not-put-when-debuging-with-windows-xp-home-edition/178364/2 "2009-11-03T20:56:05Z")

</div>

On Nov 3, 3:39 pm, Albert C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> already solved, and nothing about debugging.
> 
> Does anybody know anything about it
> 
> thanks in advance
> 
> sorry for my english, now, i’m going to put this in spanish forum 🙂

Hello Albert,

The issue you’re facing is related to extended escape codes/sequences  
shown in international keyboards.

Based in your last comment, I assume you have an spanish keyboard.

Depending on the version of Ruby you’re using, you should generate a  
file named “.inputrc” and store it in your profile/HOME folder.

The file should look like this:

“M-[”: “[”  
“M-]”: “]”  
“M-{”: “{”  
“M-}”: “}”  
"M-": ""  
“M-|”: “|”  
“M-@”: “@”  
“M-~”: “~”

You can learn more about this here:

> **[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...

Also, I recommend you install RubyInstaller “preview2” version (soon  
will be RC1)

> **[RubyInstaller for Windows](https://rubyinstaller.org/)**
>
> The easy way to install Ruby on Windows This is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important...

That specific distribution of Ruby uses a pure-ruby version of the  
readline library, which works across keyboards without the issue shown  
in your case.

HTH,

---

<div class="post-metadata">

**Author:** ![xarc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df788c/32.png) [@xarc](https://www.ruby-forum.com/u/xarc)\
**Post date:** [November 3, 2009, 9:44pm UTC](https://www.ruby-forum.com/t/can-not-put-when-debuging-with-windows-xp-home-edition/178364/3 "2009-11-03T21:44:57Z")

</div>

Luis L. wrote:

> On Nov 3, 3:39ï¿½pm, Albert C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > already solved, and nothing about debugging.
> > 
> > Does anybody know anything about it
> > 
> > thanks in advance
> > 
> > sorry for my english, now, i’m going to put this in spanish forum 🙂
> 
> Hello Albert,
> 
> The issue you’re facing is related to extended escape codes/sequences  
> shown in international keyboards.
> 
> Based in your last comment, I assume you have an spanish keyboard.
> 
> Depending on the version of Ruby you’re using, you should generate a  
> file named “.inputrc” and store it in your profile/HOME folder.
> 
> The file should look like this:
> 
> “M-[”: “[”  
> “M-]”: “]”  
> “M-{”: “{”  
> “M-}”: “}”  
> "M-": ""  
> “M-|”: “|”  
> “M-@”: “@”  
> “M-~”: “~”
> 
> You can learn more about this here:
> 
> [Setting up the Interactive Ruby Shell (IRB) for non-english keyboards on Windows XP | Peter Krantz](http://www.peterkrantz.com/2005/irb-for-nonen-keyboards/)
> 
> Also, I recommend you install RubyInstaller “preview2” version (soon  
> will be RC1)
> 
> [http://rubyinstaller.org/](http://rubyinstaller.org/)
> 
> That specific distribution of Ruby uses a pure-ruby version of the  
> readline library, which works across keyboards without the issue shown  
> in your case.
> 
> HTH,

Hi, I saw this link of peter krantz, but doesn’t work. And in windows, I  
can’t create a file without name (.inputrc) so I created “inputrc” and  
another “inputrc.inputrc”, but doesn’t work either.

So I think there isn’t solution, maybe wait for de “preview2” you said

thanks

---

<div class="post-metadata">

**Author:** ![xarc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df788c/32.png) [@xarc](https://www.ruby-forum.com/u/xarc)\
**Post date:** [November 3, 2009, 10:06pm UTC](https://www.ruby-forum.com/t/can-not-put-when-debuging-with-windows-xp-home-edition/178364/4 "2009-11-03T22:06:22Z")

</div>

> Hi, I saw this link of peter krantz, but doesn’t work. And in windows, I  
> can’t create a file without name (.inputrc) so I created “inputrc” and  
> another “inputrc.inputrc”, but doesn’t work either.

Yes you can. You can’t do it with (Right Click)-\>New but you can open  
Notepad and save a file called .inputrc

> So I think there isn’t solution, maybe wait for de “preview2” you said
> 
> ## thanks
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

–  
Paul S.  
[http://www.nomadicfun.co.uk](http://www.nomadicfun.co.uk)

removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![xarc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df788c/32.png) [@xarc](https://www.ruby-forum.com/u/xarc)\
**Post date:** [November 3, 2009, 10:57pm UTC](https://www.ruby-forum.com/t/can-not-put-when-debuging-with-windows-xp-home-edition/178364/5 "2009-11-03T22:57:26Z")

</div>

Albert C.Ã wrote:

> Paul S. wrote:
> 
> > > Hi, I saw this link of peter krantz, but doesn’t work. And in windows, I  
> > > can’t create a file without name (.inputrc) so I created “inputrc” and  
> > > another “inputrc.inputrc”, but doesn’t work either.
> > 
> > Yes you can. You can’t do it with (Right Click)-\>New but you can open  
> > Notepad and save a file called .inputrc
> > 
> > > So I think there isn’t solution, maybe wait for de “preview2” you said
> > > 
> > > ## thanks
> > > 
> > > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> > 
> > –  
> > Paul S.  
> > [http://www.nomadicfun.co.uk](http://www.nomadicfun.co.uk)
> > 
> > removed\_email\_address@domain.invalid
> 
> OK, this is done, but I can’t write “@”, and i have followed all  
> instruccions of peter’s web
> 
> ???

Â¡Â¡Â¡ FINALLY I could. in that file changing M for e:

.inputrc:

“\e[”: “[”  
“\e]”: “]”  
“\e{”: “{”  
“\e}”: “}”  
"\e": ""  
“\e|”: “|”  
“\e@”: “@”  
“\e~”: “~”

thanks to all

---

<div class="post-metadata">

**Author:** ![xarc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df788c/32.png) [@xarc](https://www.ruby-forum.com/u/xarc)\
**Post date:** [November 3, 2009, 10:59pm UTC](https://www.ruby-forum.com/t/can-not-put-when-debuging-with-windows-xp-home-edition/178364/6 "2009-11-03T22:59:03Z")

</div>

Albert C.Ã wrote:

> Paul S. wrote:
> 
> > > Hi, I saw this link of peter krantz, but doesn’t work. And in windows, I  
> > > can’t create a file without name (.inputrc) so I created “inputrc” and  
> > > another “inputrc.inputrc”, but doesn’t work either.
> > 
> > Yes you can. You can’t do it with (Right Click)-\>New but you can open  
> > Notepad and save a file called .inputrc
> > 
> > > So I think there isn’t solution, maybe wait for de “preview2” you said
> > > 
> > > ## thanks
> > > 
> > > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> > 
> > –  
> > Paul S.  
> > [http://www.nomadicfun.co.uk](http://www.nomadicfun.co.uk)
> > 
> > removed\_email\_address@domain.invalid
> 
> OK, this is done, but I can’t write “@”, and i have followed all  
> instruccions of peter’s web
> 
> ???

Â¡Â¡Â¡ FINALLY I could. in that file changing M for e, and HOME variable is  
created in user and system environtment (may can affect)

.inputrc:

“\e[”: “[”  
“\e]”: “]”  
“\e{”: “{”  
“\e}”: “}”  
"\e": ""  
“\e|”: “|”  
“\e@”: “@”  
“\e~”: “~”

thanks to all

---

<div class="post-metadata">

**Author:** ![xarc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/df788c/32.png) [@xarc](https://www.ruby-forum.com/u/xarc)\
**Post date:** [November 3, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/can-not-put-when-debuging-with-windows-xp-home-edition/178364/7 "2009-11-03T22:21:53Z")

</div>

Paul S. wrote:

> > Hi, I saw this link of peter krantz, but doesn’t work. And in windows, I  
> > can’t create a file without name (.inputrc) so I created “inputrc” and  
> > another “inputrc.inputrc”, but doesn’t work either.
> 
> Yes you can. You can’t do it with (Right Click)-\>New but you can open  
> Notepad and save a file called .inputrc
> 
> > So I think there isn’t solution, maybe wait for de “preview2” you said
> > 
> > ## thanks
> > 
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> –  
> Paul S.  
> [http://www.nomadicfun.co.uk](http://www.nomadicfun.co.uk)
> 
> removed\_email\_address@domain.invalid

OK, this is done, but I can’t write “@”, and i have followed all  
instruccions of peter’s web

???
