caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Titus Brown <titus@caltech.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] colorized output of ocaml interactive shell
Date: Thu, 31 Mar 2005 14:36:28 -0800	[thread overview]
Message-ID: <20050331223628.GA11607@caltech.edu> (raw)
In-Reply-To: <20050331221916.GA17009@localhost>

-> > > 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.

Or...

http://www.gnu.org/software/src-highlite/source-highlight.html

It only has a CAML mode, but that should be sufficient, no?

--titus


  reply	other threads:[~2005-03-31 22:36 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 ` [Caml-list] " Igor Pechtchanski
2005-03-31 22:19   ` Eric Cooper
2005-03-31 22:36     ` Titus Brown [this message]
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=20050331223628.GA11607@caltech.edu \
    --to=titus@caltech.edu \
    --cc=caml-list@inria.fr \
    /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).