From: Eric Hodel Date: 2008-09-24T16:07:40+09:00 Subject: Re: Exiting ri on a mac terminal On Sep 23, 2008, at 18:14 PM, matt neuburg wrote: > Ruby Fan 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. Better: export RI=-T -f ansi