From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA24521; Fri, 22 Jun 2001 16:53:06 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA24531 for ; Fri, 22 Jun 2001 16:53:05 +0200 (MET DST) Received: from dpt-info.u-strasbg.fr (dpt-info.u-strasbg.fr [130.79.6.1]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f5MEr4f03920 for ; Fri, 22 Jun 2001 16:53:04 +0200 (MET DST) Received: from lambda.u-strasbg.fr (mail@lambda.u-strasbg.fr [130.79.90.63]) by dpt-info.u-strasbg.fr (8.9.3/8.9.3) with ESMTP id QAA21370; Fri, 22 Jun 2001 16:52:04 +0200 Received: from luther by lambda.u-strasbg.fr with local (Exim 3.22 #1 (Debian)) id 15DSMa-0006Kb-00; Fri, 22 Jun 2001 16:56:48 +0200 Date: Fri, 22 Jun 2001 16:56:48 +0200 To: John Max Skaller Cc: caml-list@inria.fr Subject: Re: [Caml-list] Caml toplevel and readline Message-ID: <20010622165648.B24296@lambda.u-strasbg.fr> References: <3B2796C1.9144F7AE@ozemail.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B2796C1.9144F7AE@ozemail.com.au> User-Agent: Mutt/1.3.18i From: Sven LUTHER Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Jun 14, 2001 at 02:37:21AM +1000, John Max Skaller wrote: > I find the ocaml top level 'ocaml' very clumbsy to use, > compared with, say, Python's top level, because it > doesn't understand line editing. Any chance of optionally > building it with gnu_readline? Note : There is also libeditline as an option. It comes under an BSD without ad clause, and as thus is prefectly compatible with the current ocaml code and is source-cod compatible with the basic features of readline. If you want to use libreadline, well, the toplevel parts must be released under a GPL compatible licence, which i suppose will not happen. It could be possible to do some tricks to offer at configuration time the ability to link with libreadline, so that people can built it for themselves, but not distribute it. I don't know how much work this is and if the caml team may be willing to apply a patch providing such. One could imagine a default build using libeditline and a switch for linking against libreadline, but disabled by default, and with a warning about the non distribuability of it. In the end the ledit option seems the more attractive, being written in ocaml and all. I would love to have it included in the base ocaml tarball. Friendly, Sven Luther ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr