Hi! How can I find out if my program is running unde X or Windows instead of a console / DOS prompt? I'm willing to have two interfaces that are chosen based on where the user can see graphics or not (I'm disregarding the use of framebuffer). TIA, -- Godoy. <godoy@metalab.unc.edu>