Subject: | fileevent not working on macOS |
On macOS (10.13), the call to ioctl() from Tcl::pTk::Widget::_FE_helper returns undef (i.e. the OS ioctl returns -1), and $! (errno) is set to "Inappropriate ioctl for device".
Because of this, all tests fail for both t/fileevent.t and t/fileevent2.t.
fileevent seems to work fine on Windows and Linux though. I did notice in the comments that there were other ideas for improving/reimplementing fileevent at some point. One thing that would be nice is to not rely on a (large) polling interval, since it leads to a somewhat "jerky" appearance in certain applications (such as the serial terminal in the program I'm working on).
Because of this, all tests fail for both t/fileevent.t and t/fileevent2.t.
fileevent seems to work fine on Windows and Linux though. I did notice in the comments that there were other ideas for improving/reimplementing fileevent at some point. One thing that would be nice is to not rely on a (large) polling interval, since it leads to a somewhat "jerky" appearance in certain applications (such as the serial terminal in the program I'm working on).