alias ri='RI="${RI} -f ansi" LESS="${LESS}-f-R" ri'
Basically it tells ri to spit out ANSI-formatted text and tells less to
not complain about the ANSI escape codes. It still respects any
existing values of $RI and $LESS.
I hope this is useful to someone.
--
"And remember, no matter where you go, there you are."
-- Buckaroo Banzai
Yes! Thank you!
--
Stefan
Very sexy, in bash. Can a *nix guru translate that to tcsh?
Theretically:
alias ri='( setenv RI "$RI -f ansi"; setenv LESS "$LESS -f -R"; ri $* )'
However....it doesn't seem to be working right. Maybe you can play
with it, and figure it out.