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 AAA17321; Sun, 23 Feb 2003 00:29:37 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 AAA17247 for ; Sun, 23 Feb 2003 00:29:36 +0100 (MET) Received: from marble.he.net (marble.he.net [216.218.230.2]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h1MNTYH14293 for ; Sun, 23 Feb 2003 00:29:35 +0100 (MET) Received: from ucdavis.edu ([208.227.214.58] (may be forged)) by marble.he.net (8.8.6/8.8.2) with ESMTP id PAA03308 for ; Sat, 22 Feb 2003 15:29:32 -0800 Message-ID: <3E58093E.1020905@ucdavis.edu> Date: Sat, 22 Feb 2003 15:35:26 -0800 From: Issac Trotts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1 MIME-Version: 1.0 To: OCaml List Subject: Re: [Caml-list] pipe puzzle References: <3E570532.6050206@ucdavis.edu> <1045920990.1063.1.camel@ice> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Gerd Stolpmann wrote: >Am Sam, 2003-02-22 um 06.05 schrieb Issac Trotts: > > >>> >>> >>> >>You're right. Even ledit-1.11, which can handle suspend, cannot >>handle (echo "let x=1;;"; ledit) | ocaml. So now I simply use ledit ocaml >>with ledit 1.11 and momentarily forget my wish to have a few commands >>(not inside a module) that always run on startup. >> >> > >You can put these commands into .ocamlinit (see docs about the >toplevel system). > >Gerd > Thanks for the hint. In the source for the toplevel, it says if Sys.file_exists ".ocamlinit" then ignore(use_silently ppf ".ocamlinit") It would be nice if it opened ~/.ocamlinit but it's no big deal because the alias can just be alias o='cp ~/.ocamlinit .ocamlinit; ledit ocaml' So, as usual, OCaml can do what I want. Issac ------------------- 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