From: Luis Lavena Date: 2008-05-09T04:25:17+09:00 Subject: Re: windows prompt, how to write [ ] ? On 8 mayo, 16:11, globalrev 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, -- Luis Lavena