Ledit (was Re: [Caml-list] how to use a module) (fwd)
Hal Daume III
hdaume@ISI.EDU
Tue, 1 Jul 2003 11:58:03 -0700 (PDT)
There was some discussion about something like this a while ago...would
this solve our problems?
--
Hal Daume III | hdaume@isi.edu
"Arrest this man, he talks in maths." | www.isi.edu/~hdaume
---------- Forwarded message ----------
Date: Tue, 1 Jul 2003 14:49:22 -0400
From: Neel Krishnaswami <neelk@alum.mit.edu>
To: Matt Gushee <mgushee@havenrock.com>
Cc: caml-list@pauillac.inria.fr
Subject: Re: Ledit (was Re: [Caml-list] how to use a module)
Matt Gushee writes:
>
> Okay, then, I have some questions about ledit:
>
> How do you use it? I have actually tried ledit 2 or 3 times, but if
> I invoke the 'ledit' executable that is created, e.g.
>
> $ ./ledit
>
> I get ... something ... some sort of shell-like environment, I
> guess. But all it does is echo whatever I type. And when I read your
> post, I downloaded it again to be sure, but the same thing happened
> again. I also tried making a custom toplevel with ledit, but the
> result seems to be identical to the plain ledit executable.
Do this
$ ledit ocaml
in order to get line editing in the ocaml toplevel. The really cool
thing about ledit is that it adds line editing to *any* program.
--
Neel Krishnaswami
neelk@alum.mit.edu
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners