If this is covered in some README, try not to flame me
too much! Just please point me in the right direction...
Recently I've been compiling/porting X-window based
scientific software to Mac OSX.
I downloaded and compiled the laterst and greatest
XFREE86 via CVS. XWindows, xterm, the xclock all come
However, it seems that the statement
display = XOpenDisplay(NULL)
does not return a server handle when X is running,
whereas specifying the value of the $DISPLAY
environment variable in the source code brought up the
window just fine.
display = XOpenDisplay(":0.0")
(my $DISPLAY is ":0.0" - I assume this is the default
The software comiled and ran fine after this change,
but this seems non-standard based on a number of
X-Window books I have consulted. Any ideas?
Any help would be appreciated.