Kane wrote:
gabriele renzi wrote:
look in the archives for problems with irb and readline on win32,
basically you need to set up a proper .inputrc file or run irb with
–noreadline.
Sorry I don’t have some urls at hand.
Really, --noreadline fix the problerm. It’s stange but its walk.
Thanks !
Hi, here is the solution (at least for french keyboards) :
- create a file called .inputrc containing :
“\M-[”: “[”
“\M-]”: “]”
“\M-{”: “{”
“\M-}”: “}”
“\M-\”: “\”
“\M-|”: “|”
“\M-@”: “@”
“\M-~”: “~”
I personally put this file at c:\Documents and Settings\Lionel.inputrc
- set an environment variable INPUTRC pointing to the full path of
.inputrc. In my case :
INPUTRC=%HOMEPATH%.inputrc
You can access to the environment variables under Windows XP in the
Advanced tab of the System control panel. You can also declare it for
your console session running by typing
SET INPUTRC=%HOMEPATH%.inputrc
Then, readline behaves correctly and accepts these important characters.
Cheers