On Thu, 31 Mar 2005, David MENTRE wrote:
> Hello,
>
> I will do a presentation on OCaml soon. I would like to show some
> example of interactive sessions in the OCaml interactive environment,
> ocaml launched in an XTerm. Does anybody know a program/shell
> script/whatever that can produce a nice colorized output (e.g. types)?
> Any advice?
You could try using the VIm syntax highlighting mode. You can pipe text
into VIm -- see $VIM/macros/less.sh.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT