From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id CBC61BC8C for ; Sun, 16 Jan 2005 12:39:39 +0100 (CET) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0GBddWC008923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 16 Jan 2005 12:39:39 +0100 Received: from [80.229.56.224] (helo=chetara) by ptb-relay02.plus.net with esmtp (Exim) id 1Cq8ks-000A2x-P9 for caml-list@yquem.inria.fr; Sun, 16 Jan 2005 11:39:38 +0000 From: Jon Harrop Organization: University of Cambridge To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] using Graphics wit more than one window Date: Sun, 16 Jan 2005 11:41:49 +0000 User-Agent: KMail/1.7.1 References: <41EA3DB3.3000909@leledy.org> In-Reply-To: <41EA3DB3.3000909@leledy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200501161141.49881.jon@jdh30.plus.com> X-Miltered: at nez-perce with ID 41EA527B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 wrote:01 ocaml:01 ocaml:01 marshalling:01 cheers:01 graph:01 graph:01 graphics:02 graphics:02 perhaps:03 i'd:05 replicate:05 previous:09 instance:09 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: On Sunday 16 January 2005 10:10, Philippe Lel=E9dy wrote: > As a teacher I'd like to be able to open an Ocaml Graphics window on each > of my students display. It's not possible with one instance of Ocaml, > because Graphics.open_graph does 2 actions, opening a socket with an X11 > server and opening a window on this server -- further instance of > open_graph will only do the second action with the previous opened socket. > > Perhaps will I have to rely on another mechanism to replicate windows over > displays. Marshalling is very handy as a way to botch things like this together. Cheers, Jon.