From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Wed, 13 Apr 2005 20:00:11 -0400 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Common code - isatty In-Reply-To: <042d01c54084$8438e8b0$9efb7d50@kilgore> 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> <042d01c54084$8438e8b0$9efb7d50@kilgore> Topicbox-Message-UUID: 392ff212-ead0-11e9-9d60-3106f5b1d025 > i agree, but for some unix things you need isatty(). i remember > asking this question some years ago during a Python port. for unix things you should use ape. > not sure i'd use fd2path() tho, but that's just me. fd2path is the right answer. =20 would you add a system call instead? russ