Closed tkchia closed 4 years ago
The proposed changes:
posix_openpt (.)
getpt ()
cfmakeraw (
)
ptsname (.)
Thank you!
Thanks for the tweak. _XOPEN_SOURCE must be set to 600 to fix a warning introduced by the changes. Fixed in 280167b.
_XOPEN_SOURCE
600
Thank you @mfld-fr !
The proposed changes:
posix_openpt (.)
rather thangetpt ()
to get a pseudo-terminal master handle.getpt ()
only exists on Linux and not macOS --- this issue was reported at https://github.com/jbruchon/elks/pull/629#issuecomment-627951344 .cfmakeraw (
...)
andptsname (.)
, at least for newer versions of Ubuntu Linux.Thank you!