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 GAA00644; Sat, 22 Feb 2003 06:00:09 +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 GAA00650 for ; Sat, 22 Feb 2003 06:00:08 +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 h1M507H19983 for ; Sat, 22 Feb 2003 06:00:07 +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 VAA26327 for ; Fri, 21 Feb 2003 21:00:03 -0800 Message-ID: <3E570532.6050206@ucdavis.edu> Date: Fri, 21 Feb 2003 21:05:54 -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: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk POUS Damien wrote: >On Fri, 21 Feb 2003, Issac Trotts wrote: > > > >>I have an alias (called 'o' because I use it often) that does >>the following: >> (echo "let print s = print_string s; print_newline();;"; ledit) | ocaml >>It works just fine except that when I suspend the process, and then >>type >> fg >>it tells me >> Signal 44 >>and kills off my OCaml session. Can someone here shed some light >>on this? >> >> >ledit don't like suspends... the signal kill it, and >then SIGPIPE is sent to Ocaml... > >man ledit says : >KNOWN BUGS > It is not possible to suspend ledit (using the suspend > command, usually ctrl-z). > 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. 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