WIndows #68
Replies: 6 comments
-
I installed in Windows cmd via pip, but got the following errors. I think the key problem is
reference: |
Beta Was this translation helpful? Give feedback.
-
I think currently fcntl is one (the only?) roadblock for getting asciinema to run on your mentioned OS. Searching for fcntl I found two places in the source code where it is used: https://github.com/asciinema/asciinema/blob/c94e898ec14c35db294974d4c3370fb154eba298/asciinema/pty.py#L36-L43 At line 36 it is just used to get the terminal window size, if it's not possible it uses the 24x80 dimension. This buffer size is set in line 43. I think this operations should be supported by the alternate PTY and could easily replaced. The more serious part lies in line 150. There the piping gets set to NonBlock mode. But according to this post on stackoverflow there is a workaround: https://stackoverflow.com/q/34504970. Maybe somebody is willing to try? |
Beta Was this translation helpful? Give feedback.
-
I would love windows support! |
Beta Was this translation helpful? Give feedback.
-
FWIW, as mentioned in #48 @sickill would you mind adding this info to the readme? (or you can also use terminalizer which is cross-platform and directly outputs GIFs) |
Beta Was this translation helpful? Give feedback.
-
Now on rust: https://github.com/Watfaq/PowerSession-rs |
Beta Was this translation helpful? Give feedback.
-
Duplicate of asciinema/asciinema#47 |
Beta Was this translation helpful? Give feedback.
-
Now before you just close this issue, I do undertand why you did not want to support windows terminals. However the new OFFICAL Terminal from windows is goint to have a proper PTY support. So implementing this in windows should be possible.
Beta Was this translation helpful? Give feedback.
All reactions