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 FAA06143; Tue, 6 Aug 2002 05:23:17 +0200 (MET DST) 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 FAA06373 for ; Tue, 6 Aug 2002 05:23:16 +0200 (MET DST) Received: from mtiwmhc21.worldnet.att.net (mtiwmhc24.worldnet.att.net [204.127.131.49]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g763NFP25606 for ; Tue, 6 Aug 2002 05:23:15 +0200 (MET DST) Received: from localhost ([12.93.228.201]) by mtiwmhc21.worldnet.att.net (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020806032313.ZAXF8052.mtiwmhc21.worldnet.att.net@localhost> for ; Tue, 6 Aug 2002 03:23:13 +0000 Date: Mon, 5 Aug 2002 22:23:44 -0500 Subject: Re: [Caml-list] pipe communication with toplevel Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: Steve Harris To: caml-list@inria.fr Content-Transfer-Encoding: 7bit In-Reply-To: <20020805114051.A16714@pauillac.inria.fr> Message-Id: X-Mailer: Apple Mail (2.482) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Monday, August 5, 2002, at 04:40 AM, Xavier Leroy wrote: >> 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 > > However, the toplevel calls termcap or terminfo functions to try and > underline graphically the error. Maybe these functions have a bug? > Try setting the TERM variable to "dumb" or "none" before starting the > toplevel Good shot, setting TERM to "none" for the toplevel child process fixed the problem. Before, TERM had been unset, which was leading to the crashes (not sure if that's normal or an OS X related bug). Thanks for the advice. Steve ------------------- 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