in reply to Re^3: How to detect X?
in thread How to detect X?

My point isn't that other applications would set or use DISPLAY. It just means that DISPLAY could be set (from someone's profile) even if X isn't running.

Just like that PERL5LIB is set if I run a Python program. Nothing but Perl is using PERL5LIB as far as I know, but that doesn't imply that if PERL5LIB is set, I'm running perl.

Replies are listed 'Best First'.
Re^5: How to detect X?
by jdporter (Paladin) on Feb 22, 2005 at 16:42 UTC
    How DISPLAY is used and how PERL5LIB is used are not at all analogous.