> And how will you solve it in a portable manner? #if !defined(_WIN32) // ideally a more robust configure-based test if (isatty(STDOUT_FILENO)) ;) -Keith