[sf-perl] determining console or xwindows mode

Richard Reina gatorreina at gmail.com
Sun Feb 28 18:22:06 PST 2010

I have a program that must run differently in xwindows then it would on a
linux console.  I was wondering if there's a function to determine if a
program is running in a linux console or in xwindows so that upon execute
it  can make the necessary accommodations?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20100228/1fffe3ca/attachment.html>

More information about the SanFrancisco-pm mailing list