Dan! Stop being so blunt and correct! 20 years ago it became clear that there was no bloody way to determine if a program was being run interactively.
Given that ... the various hacks are convenient. e.g. "rc" rather than "rc -i" but still ... It is a cesspool. brucee On 4/14/05, Dan Cross <[EMAIL PROTECTED]> wrote: > "Ronald G. Minnich" <[email protected]> writes: > > On Wed, 13 Apr 2005, Russ Cox wrote: > > > i'm hesitant to put it in a library because most programs (e.g., ls) > > > should not behave differently when running on a console. if it's there, > > > it may be overused like in unix. > > > > good call. don't do it. We're fighting a lot of isatty() stupidity on our > > clusters, and it's a nightmare. I agree that it would get overused ... > > Or put it into libidiot.h just so there's only one copy of it. > > Oh, you think I'm joking? > > - Dan C. > >
