Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] graphics on Mac OS X
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] graphics on Mac OS X
On Sun, Aug 01, 2004 at 02:24:14PM -0400, Michael Benfield wrote:
> # Graphics.open_graph "";;
> Exception: Graphics.Graphic_failure "Cannot open display ".

Does the $DISPLAY environment variable contain the name of the
display?

On my Mac, running in an xterm:

$ echo $DISPLAY 
:0.0

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
PTHRLIB is a library for writing small, efficient and fast servers in C.
HTTP, CGI, DBI, lightweight threads: http://www.annexia.org/freeware/pthrlib/

-------------------
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