irb backspacing

S

Steve Mallett

Is it just my irb installation (on OSX) that doesn't support backspace?

If it's not just me is there a tweak?


Steve Mallett
http://open5ource.net

".. doctrine is the expression of enlightenment; it does not produce
it."
-Christmas Humphreys, Teach Yourself Zen
 
O

Ollivier Robert

[courtesy cc of this posting sent to cited author via email]

Is it just my irb installation (on OSX) that doesn't support backspace?

If it's not just me is there a tweak?

Install readline (either manually or through fink/darwinports) and
recompile Ruby to take this into account.

I ended up compiling 1.8.0 :)
 
G

Gennady

Did you try to use backspace at the shell command prompt (what shell, btw)?
I bet backspace does not work there either. Check stty setting for erase
(stty -a).

Backspacing must work in irb even without readline modue enabled as it is
performed by the tty driver.

Gennady.

----- Original Message -----
From: "Ollivier Robert" <[email protected]>
Newsgroups: comp.lang.ruby
To: "ruby-talk ML" <[email protected]>
Sent: Wednesday, July 30, 2003 6:47 AM
Subject: Re: irb backspacing

[courtesy cc of this posting sent to cited author via email]

Is it just my irb installation (on OSX) that doesn't support backspace?

If it's not just me is there a tweak?

Install readline (either manually or through fink/darwinports) and
recompile Ruby to take this into account.

I ended up compiling 1.8.0 :)
 
O

Ollivier Robert

Backspacing must work in irb even without readline modue enabled as it is
performed by the tty driver.

I know but I assumed the original poster wanted the full thing with
readline.

I compiled 1.8 for several reasons anyway:
- I use 1.8 everywhere
- Apple's bundle is not complete and lacks libruby.a/dylib and a few other
things.

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

irb in cygwin 1
irb problem 1
irb weirdness 5
IRB is dying on me 6
Driving irb from IO.popen 5
irb: require returns false? 1
self in irb versus script 3
require 'rubygems' fails (works in irb) 1

Members online

Forum statistics

Threads
473,792
Messages
2,569,639
Members
45,351
Latest member
RoxiePulli

Latest Threads

Top