Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[ANN] coThreads 0.10
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-21 (16:32)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: readline license (was: [ANN] coThreads 0.10)
>>>Another *famous* example is 'readline()', the code that
>>>does line editing for bash. Why is Ocaml's top level
>>>so crappy, with no editing? Because of readline()'s GPL
>>Surely that's not a good reason anymore; there are non-GPL
>>workalikes to readline().
> Well one might ask Inria why they don't use it?

(Just an aside: please say "the Caml development team" rather than
"Inria", these are two different things.)

So, yes, readline being GPL is a serious obstacle to using it within
the OCaml toplevel.  More details in this old thread:

This said, rlwrap works pretty well and I don't see many advantages to
linking directly with readline.

- Xavier Leroy