I am using Terminal on Snow Leopard.
On the command line, if I typed foo.bar.baz.bang.quuz.quux , when I press option-B, it moves the cursor back word by word - it stops in each period, because it counts the period of word boundaries. Similarly, the -F option moves forward word by word.
In irb (0.9.5, ruby ββ1.8.7), the -B and -F options also have this behavior, but this period is no longer considered a word boundary, which makes these shortcuts much less useful.
How can i change this?
EDIT: Curious and curious: on an EC2 instance that has the same versions of irb and ruby, the period is considered as a word boundary.
lawrence
source share