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?
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?
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?
You need not do anything but build your own ruby and move the stock ruby aside (eg sudo mv /usr/bin/ruby /usr/bin/ruby182). OSX ships with libedit and it works fine with no extra configuration options.
···
On Jul 23, 2006, at 5:17 PM, Tom Robinson wrote:
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?
Ruby 1.8.4 from DarwinPorts depends on readline, so it's installed for me. Recently, I found that the readline version from DarwinPorts was updated. I installed it and broke Ruby stuff. I simply deactivated the new one (5.1.x) and reactivated the old one (5.0.x).
Craig
···
On Jul 23, 2006, at 8:24 PM, Elliot Temple wrote:
On Jul 23, 2006, at 5:17 PM, Tom Robinson wrote:
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?
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?
You need not do anything but build your own ruby and move the stock
ruby aside (eg sudo mv /usr/bin/ruby /usr/bin/ruby182). OSX ships
with libedit and it works fine with no extra configuration options.
Ruby 1.8.4 from DarwinPorts depends on readline, so it's installed
for me. Recently, I found that the readline version from DarwinPorts
was updated. I installed it and broke Ruby stuff. I simply
deactivated the new one (5.1.x) and reactivated the old one (5.0.x).
Craig
Ok, I installed readline from Darwin Ports, but as you said its version
5.1. Is it possible to downgrade to an older version with Darwin Ports?
On 7/24/06, Craig Demyanovich <demmer12@fastmail.us> wrote:
On Jul 23, 2006, at 8:24 PM, Elliot Temple wrote:
>
> On Jul 23, 2006, at 5:17 PM, Tom Robinson wrote:
>
>> 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?
>
> i believe you need to install readline
Ruby 1.8.4 from DarwinPorts depends on readline, so it's installed
for me. Recently, I found that the readline version from DarwinPorts
was updated. I installed it and broke Ruby stuff. I simply
deactivated the new one (5.1.x) and reactivated the old one (5.0.x).
You need not do anything but build your own ruby and move the stock
ruby aside (eg sudo mv /usr/bin/ruby /usr/bin/ruby182). OSX ships
with libedit and it works fine with no extra configuration options.