Forum: Ruby on Rails ('[', '{', '@') chars missing in command line

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
814930584b65ac3f44aa3878ff9cdb69?d=identicon&s=25 Nara Hari (hariraj)
on 2006-06-05 10:37
Hi,

When I start the ruby console(ruby script/console) the special
characters like ('[', '{', '@') are not working in the command line!

I have created a ".inputrc" file in my user directory with the following
content:
"\M-[": "["
"\M-]": "]"
"\M-{": "{"
"\M-}": "}"
"\M-\\": "\\"
"\M-|": "|"
"\M-@": "@"
"\M-": ""
"\M-\3760": "}"
"\M-\3767": "{"
"\M-\3768": "("
"\M-\3769": ")"
"\M-\e[3~": delete-char

These chars work in a regular command line but not under ruby/console.

Any clues what else is missing?

Thanks, Hari
This topic is locked and can not be replied to.