Irb and tab key in Mac OS X


#1

Not sure if this is a readline issue or an irb issue, so I’ll venture
the question here. When I run irb (in Mac OS X v10.3, with Ruby
v1.8.2) and press the tab key, I get a print-out of the current
directory. Is it possible to re-map the tab key in irb to insert a
tab (or some # of spaces) at the prompt?

Also, just curious, where does the name irb come from? I’m guessing
“Interactive RuBy”, but given the language’s Japanese origin, I could
be wrong.

Thanks a bunch.

-Rich


#2

Nevermind on the first question, just found the solution in the list
archives.


#3

You are correct, sir!

~ ryan ~