From: Salvador Sanjuan Date: 2009-08-28T18:38:50+09:00 Subject: Re: # sign does not work as expected form irb Heesob Park wrote: > Hi, > > 2009/8/27 Salvador Sanjuan : >> >> My computer works with Windows XP. >> >> How can I change the way the # sign works+ > > I guess your ruby is 1.8.6 OCI version. > This problem is due to the bug of readline.dll(Readline-4.3-2). > The behavior is "rl_insert_comment". > > Try following: > 1. Create a file named "inpurc" in your ruby binary directory with the > content > "\M-#": "#" > > 2. Create an environment variable in the System Properties->Advanced > Tab->Environment Variables area called INPUTRC and set it to > c:\ruby\bin\inputrc > > Regards, > > Park Heesob Hi Park I tried what you told me and it worked. I had to add the text on a file named inputrc.euro that is in the same directory so other keys will work as well. Thank you very much. Salvador Sanjuan -- Posted via http://www.ruby-forum.com/.