I just started using irb on my Mac. When I press the Up arrow I should
see the previously entered line, right? Instead it writes “^[[A” to the
prompt. I’ve tried Terminal.app, iTerm, and xterm within X11, all do the
same thing. Any ideas?