Version française
Home     About     Download     Resources     Contact us    
Browse thread
colorized output of ocaml interactive shell
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Cooper <ecc@c...>
Subject: Re: [Caml-list] colorized output of ocaml interactive shell
On Thu, Mar 31, 2005 at 04:38:57PM -0500, Igor Pechtchanski wrote:
> 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.

Or you can run an OCaml subshell in Emacs, and get its colorizing.

-- 
Eric Cooper             e c c @ c m u . e d u