Skip to content
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

Closed
maphew opened this issue Oct 29, 2013 · 13 comments
Closed

Windows not supported, right? #47

maphew opened this issue Oct 29, 2013 · 13 comments

Comments

@maphew
Copy link

maphew commented Oct 29, 2013

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.

@ku1ik
Copy link
Contributor

ku1ik commented Nov 25, 2013

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

@ku1ik ku1ik closed this as completed Nov 25, 2013
@noisy
Copy link

noisy commented Jun 10, 2015

@sickill is it possible to support cygwin?

@ku1ik
Copy link
Contributor

ku1ik commented Jul 5, 2015

@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.

@masaeedu
Copy link

masaeedu commented May 4, 2017

@sickill What about https://github.com/rprichard/winpty?

@ku1ik ku1ik reopened this May 4, 2017
@ku1ik ku1ik closed this as completed May 4, 2017
@ku1ik
Copy link
Contributor

ku1ik commented May 4, 2017

@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.

@ku1ik
Copy link
Contributor

ku1ik commented May 4, 2017

@masaeedu There is Windows fork by @mattn - https://github.com/mattn/asciinema/tree/windows

@ku1ik
Copy link
Contributor

ku1ik commented Jun 3, 2017

I was wrong saying "it will never support Windows" :)
It seems it now installs and works perfectly fine under Win10 (WSL): https://asciinema.org/a/123255

@amistele
Copy link

March 28 2018,
I tried a pip install of asciinema on Windows 10, and encountered the termios error. Is this still resolvable, or where do i go to fork a compatible version?

@mattn
Copy link

mattn commented Mar 29, 2018

@amistele see #150

@mikemaccana
Copy link

@sickill Windows 10 now has an official console api, which should make Windows support require far less code. Does that change anything?

@ku1ik
Copy link
Contributor

ku1ik commented Nov 16, 2018

@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 👍

@kiedtl
Copy link

kiedtl commented Feb 13, 2019

@sickill Have you taken a look at winpty? It's README claims to work on Windows XP and later.

@rollingmoai
Copy link

This port for Windows works great: https://github.com/Watfaq/PowerSession-rs. It would be nice if Asciinema would officially support Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants