caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Steve Harris <scharris@worldnet.att.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] pipe communication with toplevel
Date: Mon, 5 Aug 2002 22:23:44 -0500	[thread overview]
Message-ID: <E98541A6-A8EB-11D6-98B3-003065A79338@worldnet.att.net> (raw)
In-Reply-To: <20020805114051.A16714@pauillac.inria.fr>

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


      reply	other threads:[~2002-08-06  3:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-04  5:09 Steve Harris
2002-08-05  9:40 ` Xavier Leroy
2002-08-06  3:23   ` Steve Harris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E98541A6-A8EB-11D6-98B3-003065A79338@worldnet.att.net \
    --to=scharris@worldnet.att.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).