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: [Caml-list] pipe communication with toplevel
Date: Sun, 4 Aug 2002 00:09:49 -0500	[thread overview]
Message-ID: <66CAE6AE-A768-11D6-A36A-003065A79338@worldnet.att.net> (raw)

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


             reply	other threads:[~2002-08-04 22:56 UTC|newest]

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

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=66CAE6AE-A768-11D6-A36A-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).