Mike Hearn <mike at navi.cx> writes: [...] > I don't know how to tell if a console is available or not though. isatty(STDOUT_FILENO) is probably pretty close to the right way to do this. -----ScottG.