How to get to the beginning in irb

I am using OSX. I am using terminal and I use irb. After typing
something I need to do p at the front. Now I need to go back to the
beginning of the line and I hit left arrow key and it takes forever.

I have seen people jump straight to the beginning of the line. What’s
the shortcut command and where can I get the list?

quoth the [email protected]:

I am using OSX. I am using terminal and I use irb. After typing
something I need to do p at the front. Now I need to go back to the
beginning of the line and I hit left arrow key and it takes forever.

I have seen people jump straight to the beginning of the line. What’s
the shortcut command and where can I get the list?

Not sure of a list but ‘home’ and ‘end’ are working for me to get to the
beginning and end of a line respectively.

-d

On May 8, 1:52 am, Joel VanderWerf [email protected] wrote:

beginning and end of a line respectively.

If those don’t work, try Ctl-A and Ctl-E.


vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

Awesome.
ctrl-A and ctl-E worked for me.

Thanks a bunch.

darren kirby wrote:

quoth the [email protected]:

I am using OSX. I am using terminal and I use irb. After typing
something I need to do p at the front. Now I need to go back to the
beginning of the line and I hit left arrow key and it takes forever.

I have seen people jump straight to the beginning of the line. What’s
the shortcut command and where can I get the list?

Not sure of a list but ‘home’ and ‘end’ are working for me to get to the
beginning and end of a line respectively.

If those don’t work, try Ctl-A and Ctl-E.