Closed williamjcm closed 5 years ago
What shell are you using on windows? I can create a patch for you to test it out, since I don't have a windows machine to verify whether or not it works.
MSYS2 uses Bash as its default shell.
I removed the dependency to fcntl. Since I don't have windows I can't try it out. I would be happy if you could check if this works now.
So, I just tried it with MSYS2, and it works correctly.
Note: I had to build cppman
using the Python packages in MSYS2's msys
repo, as it supports the termios
module. The Python packages in MSYS2's mingw32
and mingw64
repos are built to be 100% compatible with native Windows apps, while the one in msys
is linked against MSYS2's POSIX compatibility/emulation layer, and therefore has access to some POSIX-only Python modules.
That is good news. Also thank you for explaining how you made it work. This is helpful for others.
Currently,
cppman
fails on Windows (I use MSYS2) with the following error:This answer on StackOverflow mentions a cross-platform module that could be used instead of
fcntl
, and could therefore makecppman
compatible (or at least more compatible) with Windows (and by extension MSYS2).