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 CAA08468; Tue, 29 Jun 2004 02:14:11 +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 CAA08212 for ; Tue, 29 Jun 2004 02:14:10 +0200 (MET DST) Received: from guri.is.scarlet.be (guri.is.scarlet.be [193.74.71.22]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i5T0E9EV016767 for ; Tue, 29 Jun 2004 02:14:09 +0200 Received: from (u212-239-128-69.dialup.planetinternet.be [212.239.128.69]) by guri.is.scarlet.be with ESMTP id i5T0E6b05812; Tue, 29 Jun 2004 02:14:06 +0200 Received: from poincare ([127.0.0.1] helo=localhost ident=trch) by poincare with esmtp (Exim 3.36 #1 (Debian)) id 1Bf354-0003Hv-00; Mon, 28 Jun 2004 22:50:22 +0200 Date: Mon, 28 Jun 2004 22:50:22 +0200 (CEST) Message-Id: <20040628.225022.51876618.Christophe.Troestler@umh.ac.be> To: yyu08@yahoo.com Cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Why I cannot open a graph with a specific title From: Christophe TROESTLER In-Reply-To: <20040628195734.426.qmail@web90102.mail.scd.yahoo.com> References: <20040628195734.426.qmail@web90102.mail.scd.yahoo.com> Organization: Universite de Mons-Hainaut X-URL: http://www.umh.ac.be/math/an/ X-Spook: Fortezza bootleg ASLET 9705 Samford Road BCCI number key InfoSec munitions ANDVT CISU X-Mailer-URL: http://www.mew.org/ X-Operating-System: GNU/Linux (http://www.linux.org/) X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Mailer: Mew version 4.0.61 on Emacs 21.3.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 40E0B451.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 troestler:01 troestler:01 foo:01 foo:01 chris:01 christophe:01 christophe:01 ocaml:01 exception:02 unix:02 wrote:03 let:04 graph:05 graph:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, 28 Jun 2004, Andy Yang wrote: > > let _ = open_graph "hello";; > Ocaml will report "Fatal error: exception > Graphics.Graphic_failure("Cannot open display hello"). Please read the manual: open_graph "foo:0" connects to the display foo:0 and creates a window with the default geometry open_graph "foo:0 300x100+50-0" connects to the display foo:0 and creates a window 300 pixels wide by 100 pixels tall, at location (50,0) open_graph " 300x100+50-0" connects to the default display and creates a window 300 pixels wide by 100 pixels tall, at location (50,0) open_graph "" connects to the default display and creates a window with the default geometry. (this is specific to Unix). Cheers, ChriS ------------------- 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