i am admittedly feeling ornery tonight but anyone asking am i connected to a terminal is probably asking the wrong question. isatty is pretty unreliable over network connections. (unreliable in that typically it always says no for network connections regardless of teh state on the far side.)