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?
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?
On Tue Sep 23 21:40:14 2008, Ruby F. 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.
Fred P. wrote:
On Tue Sep 23 21:40:14 2008, Ruby F. 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!
On Sep 23, 2008, at 5:31 PM, Ruby F. 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?
q?
If you have a ‘:’ prompt, you’re in less (or your configured PAGER
program).
-Rob
Try putting this line in your .bash_profile:
alias ri=‘ri -f ansi -T’
Much nicer behavior and display in Terminal. m.
I just put it in my .profile but didn’t notice any difference.
On Sep 23, 2008, at 18:14 PM, matt neuburg wrote:
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
Ruby F. [email protected] wrote:
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs