Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] pipe communication with toplevel
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Steve Harris <scharris@w...>
Subject: Re: [Caml-list] pipe communication with toplevel
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