caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: David MENTRE <dmentre@linux-france.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] colorized output of ocaml interactive shell
Date: Thu, 31 Mar 2005 16:38:57 -0500 (EST)	[thread overview]
Message-ID: <Pine.GSO.4.61.0503311636130.5077@slinky.cs.nyu.edu> (raw)
In-Reply-To: <87d5tf5xtf.fsf@linux-france.org>

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


  reply	other threads:[~2005-03-31 21:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31 21:07 David MENTRE
2005-03-31 21:38 ` Igor Pechtchanski [this message]
2005-03-31 22:19   ` [Caml-list] " Eric Cooper
2005-03-31 22:36     ` Titus Brown
2005-04-04 14:44 ` Olivier Grisel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.61.0503311636130.5077@slinky.cs.nyu.edu \
    --to=pechtcha@cs.nyu.edu \
    --cc=caml-list@inria.fr \
    --cc=dmentre@linux-france.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).