Windows prompt, how to write?

using the ruby prompt in windows, how do i write [ ]? altgr+8 doesnt
work…

On 8 mayo, 16:11, globalrev [email protected] wrote:

using the ruby prompt in windows, how do i write [ ]? altgr+8 doesnt
work…

What keyboard distribution you have?

Euro keybs (spanish, french and other from oriental europe) requires
a .inputrc file that maps AltGr keys with the correct escape code.

Download this file:

http://rubyinstaller.rubyforge.org/svn/trunk/installer-win2/local-sources/Patch-186/bat-files/inputrc.euro

And rename it to .inputrc

Place it where you have HOME defined, and IRB should start accepting
it.

HTH,