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 RAA10610; Thu, 2 May 2002 17:19:38 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA10707 for ; Thu, 2 May 2002 17:19:37 +0200 (MET DST) Received: from mbx.unige.ch (mbx.unige.ch [129.194.8.72]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g42FJaD02238 for ; Thu, 2 May 2002 17:19:36 +0200 (MET DST) Received: from CONVERSION-DAEMON.mbx.unige.ch by mbx.unige.ch (PMDF V6.1-1 #38753) id <0GVH00A01P8O41@mbx.unige.ch> for caml-list@inria.fr; Thu, 02 May 2002 17:19:36 +0200 (MEST) Received: from localhost.localdomain ([129.194.114.34]) by mbx.unige.ch (PMDF V6.1-1 #38753) with ESMTP id <0GVH007KNP8NI0@mbx.unige.ch> for caml-list@inria.fr; Thu, 02 May 2002 17:19:35 +0200 (MEST) Date: Thu, 02 May 2002 17:19:35 +0200 From: =?ISO-8859-1?Q?Jos=E9?= Manuel Nunes Subject: Re: [Caml-list] Graphics without open_graph? In-reply-to: <20020502143627.A569@ice.gerd-stolpmann.de> To: caml list Message-id: <1020352775.484.54.camel@sophnee> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.0.3 Content-type: text/plain; CHARSET=us-ascii Content-transfer-encoding: 7BIT References: <1020332791.483.46.camel@sophnee> <20020502.124404.115933918.Jun.Furuse@inria.fr> <20020502143627.A569@ice.gerd-stolpmann.de> X-Comment: This message was scanned against viruses by mbx.unige.ch. Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, 2002-05-02 at 14:36, Gerd Stolpmann wrote: > ... > > I guess that you want to use drawing functions (lines, circles...) > > available inside Graphics, without opening the graphic window, and > > obtain results as some graphic file format. > > > > If my guess is correct, unfortunatelly, the drawing function of the > > Graphics library highly depends on those of the window system (X on > > Unix, for example). Using these functions without windowing systems is > > impossible at this moment. > >... > One way out would be a virtual X11 server that is not connected to any > hardware device but has a "screen" that only exists in memory (e.g. > http://www.xfree.org/4.2.0/Xvfb.1.html). A quick test shows that it really > works: > Thanks a lot! There is even a convenient script xvfb-run (at least on debian) that allows a command to be run inside such a X virtual server. ------------------- 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