Ruby Fan <jody.glidden / gmail.com> wrote:

> Fred Phillips wrote:
> > On Tue Sep 23 21:40:14 2008, Ruby Fan wrote:
> >> Hi,
> >> I've been avoiding using ri for my docs because when I type it I can't
> >> seem to exit out of it without closing terminal.
> >> 
> >> I've tried all the usual suspects like ctrl-c, ctrl-d, esc.  Any ideas
> >> on what I might be doing wrong?
> > 
> > ri uses less(1), press q to exit.
> 
> That was it.  Thanks!

Try putting this line in your .bash_profile:

alias ri='ri -f ansi -T'

Much nicer behavior and display in Terminal. m.

-- 
matt neuburg, phd = matt / tidbits.com, http://www.tidbits.com/matt/
Leopard - http://www.takecontrolbooks.com/leopard-customizing.html
AppleScript - http://www.amazon.com/gp/product/0596102119
Read TidBITS! It's free and smart. http://www.tidbits.com