chuck icon indicating copy to clipboard operation
chuck copied to clipboard

termio.h is obsolete

Open barak opened this issue 2 years ago • 1 comments

There is logic to use either termio.h or termios.h, but (a) the case on architecture is done multiple times, both for the #include and later for the usage, and (b) according to termio(7)

The termio interface is now obsolete: POSIX.1-1990 standardized ... termios.

so termios.h should be used in preference to termio.h wherever possible.

This issue breaks building ChucK on a couple Debian architectures, namely Hurd and kfreebsd, where an attempt to include termio.h fails because it does not exist, but termios.h is available. See build log for details.

barak avatar May 21 '22 21:05 barak

Pull request #228 addresses this issue.

barak avatar May 23 '22 13:05 barak