On Thu, Dec 04, 2003 at 08:54:31PM -0500, Ari Kahn wrote:
> I have an Xwindows program (consed) that I would like to execute from perl.
> Of course OSX is not Xwindows so executing it outside of an xwindows
> terminal will not work because I get "Error: Can't open display: "
> I need to find a way to somehow tell consed to run in an Xwindows
> environment if the Xwindows server is running.

Set the DISPLAY environment variable to something appropriate.

-- 
David Cantrell |  Degenerate  | http://www.cantrell.org.uk/david

Never attribute to malice that which can be explained by stupidity
    -- Hanlon's Razor

Stupidity maintained long enough is a form of malice
    -- Richard Bos's corollary

Reply via email to