Browse thread
color on linux terminal
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Vu Ngoc San <san.vu-ngoc@u...> |
| Subject: | Re: [Caml-list] color on linux terminal |
print_string "\027[31m Yes it is red";; Markus Weihs a écrit : > 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 > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- --- Vu Ngoc San tel:04 76 63 58 53 Institut Fourier e-mail:San.Vu-Ngoc@ujf-grenoble.fr Universite Grenoble 1, BP 74 http://www-fourier.ujf-grenoble.fr/~svungoc 38402 Saint Martin d'Heres France ---