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 AAA02811; Mon, 5 Aug 2002 00:56:33 +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 AAA02416 for caml-list@pauillac.inria.fr; Mon, 5 Aug 2002 00:56:33 +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 HAA26595 for ; Sun, 4 Aug 2002 07:19:11 +0200 (MET DST) Received: from mtiwmhc23.worldnet.att.net (mtiwmhc23.worldnet.att.net [204.127.131.48]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g745JAf14315 for ; Sun, 4 Aug 2002 07:19:10 +0200 (MET DST) Received: from localhost ([12.93.227.116]) by mtiwmhc23.worldnet.att.net (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020804051908.BJYN7441.mtiwmhc23.worldnet.att.net@localhost> for ; Sun, 4 Aug 2002 05:19:08 +0000 Date: Sun, 4 Aug 2002 00:09:49 -0500 Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: [Caml-list] pipe communication with toplevel From: Steve Harris To: caml-list@inria.fr Content-Transfer-Encoding: 7bit Message-Id: <66CAE6AE-A768-11D6-A36A-003065A79338@worldnet.att.net> X-Mailer: Apple Mail (2.482) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I'm doing a graphical ocaml toplevel wrapper for OS X, it's working except when I type in bad syntax, then the ocaml toplevel background process that I'm communicating with quits or dies, I don't know why. I've got the toplevel's standard in,out, and error redirected to pipes that the graphical shell is using for communication with it. The session is fine until bad input is finally typed. Any ideas about why it quits like that? Is it checking isatty() or similar on stdin and deciding there's no human so better to just quit upon error? Sys.interactive is already true here. BTW I'll post it when done in case anybody else is fed up with the terminal and terminal-embedded-emacs on OS X like me :) Steve Harris ------------------- 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