From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <775b8d19050413170155776984@mail.gmail.com> Date: Thu, 14 Apr 2005 10:01:36 +1000 From: Bruce Ellis To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Common code - isatty In-Reply-To: <200504132352.j3DNqJJ19726@augusta.math.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200504132352.j3DNqJJ19726@augusta.math.psu.edu> Topicbox-Message-UUID: 39358f2e-ead0-11e9-9d60-3106f5b1d025 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 wrote: > "Ronald G. Minnich" 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 the= re, > > > it may be overused like in unix. > > > > good call. don't do it. We're fighting a lot of isatty() stupidity on o= ur > > clusters, and it's a nightmare. I agree that it would get overused ... >=20 > Or put it into libidiot.h just so there's only one copy of it. >=20 > Oh, you think I'm joking? >=20 > - Dan C. >=20 >