From: Bryan O. <br...@bi...> - 2002-09-12 03:40:23
|
That explains why I'm also seeing the console show up, which I neglected to mention in my earlier email. Unfortunately I've never compiled AquaTk, and don't have time for the overhead of getting that first compile working. But perhaps I can try later. Fortunately for me, for the time being we don't officially support MacOSX with our product so it's not a pressing matter. Thanks for the quick sleuthing. On Wednesday, September 11, 2002, at 10:29 PM, Daniel A. Steffen wrote: > Bryan, > > On Thursday, Sep 12, 2002, at 13:17 Australia/Sydney, Bryan Oakley > wrote: > >> I've noticed some strange behavior with AquaTk related to stdin. > > I suspect this is due to the following code in tkMacOSXAppInit.c: > [snip] > if stdin is a pipe, I bet ttyname(0) returns NULL... > > try commenting that bit out and rebuilding wish > > probably we need a better way to detect when stdin is unavailable, > e.g. by testing feof(stdin) |