On Sep 28, 2006, at 11:49 PM, Vincent Fourmond wrote:

>   I'm recently in a shell scripting mood, and I came up with some  
> small
> code that makes ri output look a fair deal nicer (at least on my box).
> If you put the following function definition in your shell's init  
> script
> (such as .bashrc or .zshrc) and use ril instead of ri, you'll be  
> pleased ;-)
>
> ril () {
>         ri -T -f ansi "$@" | less -r
> }
>
>   I wish a good day (or night) to all of you...

Why not just set the RI and PAGER environment variables?

-- 
Eric Hodel - drbrain / segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com