caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* color on linux terminal
@ 2007-01-13 20:29 Markus Weihs
  2007-01-13 20:52 ` [Caml-list] " Daniel de Rauglaudre
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Markus Weihs @ 2007-01-13 20:29 UTC (permalink / raw)
  To: caml-list

Hi,

to get coloured output on a linux terminal, you can do something like

    echo -e "\033[31m This is now red"

How can I do this with OCaml? The following doesn't work

    print_string "\033[31m blabla"


Thanks in advance,

Markus


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-01-21 17:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-13 20:29 color on linux terminal Markus Weihs
2007-01-13 20:52 ` [Caml-list] " Daniel de Rauglaudre
2007-01-13 21:05   ` Markus Weihs
2007-01-13 20:53 ` [Caml-list] " Vu Ngoc San
2007-01-13 20:56 ` Eric Cooper
2007-01-16 18:23   ` Florian Weimer
2007-01-21 17:11   ` Xavier Leroy
2007-01-13 20:56 ` Goulagman
2007-01-13 21:38   ` Philippe Wang
2007-01-13 22:45 ` Christophe TROESTLER

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