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 UAA24334; Tue, 1 Jul 2003 20:42:13 +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 UAA24279 for ; Tue, 1 Jul 2003 20:42:10 +0200 (MET DST) Received: from h00045a4799d6.ne.client2.attbi.com (h00045a4799d6.ne.client2.attbi.com [65.96.179.155]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h61Ig9j15217 for ; Tue, 1 Jul 2003 20:42:09 +0200 (MET DST) Received: by h00045a4799d6.ne.client2.attbi.com (Postfix, from userid 500) id 727402D725; Tue, 1 Jul 2003 14:49:22 -0400 (EDT) From: Neel Krishnaswami MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16129.55218.322812.63249@h00045a4799d6.ne.client2.attbi.com> Date: Tue, 1 Jul 2003 14:49:22 -0400 To: Matt Gushee Cc: caml-list@pauillac.inria.fr Subject: Re: Ledit (was Re: [Caml-list] how to use a module) In-Reply-To: <20030701182910.GP4225@swordfish> References: <004d01c33f46$2f16f480$fdbf0950@zofo> <20030701014954.GN4225@swordfish> <87el1aedv5.dlv@wanadoo.fr> <20030701182910.GP4225@swordfish> X-Mailer: VM 7.04 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Spam: no; 0.00; neel:01 krishnaswami:01 neelk:01 ledit:01 caml-list:01 gushee:01 invoke:01 ocaml:01 toplevel:01 writes:01 module:03 identical:03 executable:03 seems:05 guess:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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