Path: utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!alice!andrew From: andrew@alice.UUCP (Andrew Hume) Newsgroups: comp.lang.c Subject: Re: How do you tell if stdin/stdout is a terminal? Summary: but but but ... Keywords: stdin/stdout, unix, C, redirected I/O Message-ID: <11188@alice.UUCP> Date: 15 Aug 90 05:23:55 GMT References: <12210@hydra.gatech.EDU> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 7 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.)