New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows not supported, right? #47
Comments
Right, it will never support Windows as Windows doesn't have pseudo-terminal, select() and other unix capabilities. The information about the supported systems is now on the homepage: http://asciinema.org |
@sickill is it possible to support cygwin? |
@noisy cygwin doesn't support UNIX-like pseudo-terminal so it's unlikely to make it work on Windows. All UNIX family systems (Linux, *BSD, Mac OS X), have PTYs, but Windows is a completely different OS. |
@sickill What about https://github.com/rprichard/winpty? |
@masaeedu feel free to experiment with it. I'm fine with someone maintaining a friendly Windows fork of asciinema. However, at this moment I'm not interested in merging any Windows specific changes into the main repository. asciicast format is documented, so as long as recording on Windows produces compatible asciicast file, the web player should be able to replay it. |
@masaeedu There is Windows fork by @mattn - https://github.com/mattn/asciinema/tree/windows |
I was wrong saying "it will never support Windows" :) |
March 28 2018, |
@sickill Windows 10 now has an official console api, which should make Windows support require far less code. Does that change anything? |
@mikemaccana thank for bringing this up! I think this could open the way for native Windows support. I just skimmed through the linked article, but it looks promissing 👍 |
@sickill Have you taken a look at winpty? It's README claims to work on Windows XP and later. |
This port for Windows works great: https://github.com/Watfaq/PowerSession-rs. It would be nice if Asciinema would officially support Windows. |
A quick pip install test from the Github repo reveals that asciicinema doesn't work out of the box on Windows, even though it does install an .exe to the Python Scripts folder. On my Win7 machine It fails with
ImportError: No module named termios
.A little searching reveals there (probably) isn't a Windows equivalent,
http://stackoverflow.com/questions/933745/what-is-the-windows-equivalent-to-the-capabilities-defined-in-sys-select-h-and-t, and that therefore asciicinema is likely not supposed to work on Windows.
It would be good if the Readme states what operating systems asciicinema is intended for / known to work on.
The text was updated successfully, but these errors were encountered: