English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
color on linux terminal
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-01-21 (17:11)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: [Caml-list] color on linux terminal
> This is my biggest "pet peeve" about OCaml.  It uses *decimal* escapes
> for characters,

Hexadecimal is also supported ("\x1b[31m blabla") and highly recommended.

> not octal like everywhere else in the UNIX and C-influenced universe.

Well, how many fingers do you have? :-)  Octal is a left-over from the
PDP-11 days and should have been abandoned a long time ago.

- Xavier Leroy