Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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