Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to get to the beginning in irb

0 views
Skip to first unread message

flex...@gmail.com

unread,
May 8, 2008, 1:30:22 AM5/8/08
to
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?

darren kirby

unread,
May 8, 2008, 1:48:42 AM5/8/08
to
quoth the flex...@gmail.com:

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
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

Joel VanderWerf

unread,
May 8, 2008, 1:52:17 AM5/8/08
to
darren kirby wrote:
> quoth the flex...@gmail.com:
>> 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.

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

flex...@gmail.com

unread,
May 8, 2008, 7:56:14 AM5/8/08
to
On May 8, 1:52 am, Joel VanderWerf <vj...@path.berkeley.edu> wrote:
> darren kirby wrote:
> > quoth the flexa...@gmail.com:

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

Thanks a bunch.

0 new messages