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 WAA28609; Thu, 14 Jun 2001 22:42:07 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA28745 for caml-list@pauillac.inria.fr; Thu, 14 Jun 2001 22:42:06 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA27375 for ; Thu, 14 Jun 2001 21:45:18 +0200 (MET DST) Received: from localhost.localdomain ([210.23.147.229]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f5EJjFj13140 for ; Thu, 14 Jun 2001 21:45:15 +0200 (MET DST) Received: from ozemail.com.au (IDENT:root@localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.8.7) with ESMTP id FAA25008; Fri, 15 Jun 2001 05:43:45 +1000 Message-ID: <3B2913F0.C1EFFD6F@ozemail.com.au> Date: Fri, 15 Jun 2001 05:43:44 +1000 From: John Max Skaller X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Jacques Garrigue CC: caml-list@inria.fr Subject: Re: [Caml-list] Caml toplevel and readline References: <3B2796C1.9144F7AE@ozemail.com.au> <20010614154525K.garrigue@kurims.kyoto-u.ac.jp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Jacques Garrigue wrote: > > From: John Max Skaller > > > 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? > > No. Gnu-readline is a well-known example of library released under the > GPL, which makes it incompatible with the caml toplevel, which is > covered by the QPL :-) So much for 'free software'. :-( But how come Python uses it? Python is (effectively) public domain! > But there are plenty of external alternatives: using emacs, I don't... I know it's probably better than vim, but not enough to bother switching. > using ocamlbrowser's shell, .. messy .. it does weird things, like most X windows software :-( I hit up arrow, the cursor moves up. Why? I cut and paste a line, I get 'bad character' errors. >using ledit. > ledit is a tool written in camlp4 by Daniel de Raglaudre > which allows line editing on any program. > http://cristal.inria.fr/~ddr/index-english.html I've tried that and couldn't get it to work. That goes for about half the C/Ocaml packages I've tried, including, of all things, CamlImages. > Linking the editing code of ledit with the toplevel might also be an > option. Only if it is done in the standard distribution, or in CDK (I'm using the CDK distribution). I don't want to patch around, and then have my fiddling undone by the next distribution I build. -- John (Max) Skaller, mailto:skaller@maxtal.com.au 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 checkout Vyper http://Vyper.sourceforge.net download Interscript http://Interscript.sourceforge.net ------------------- 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