I have a program that must run differently in xwindows then it would on a linux console.  I was wondering if there&#39;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?<br>
<br>Thanks,<br><br>Richard<br>