asciinema / discussions

Public open-ended discussions about asciinema
https://github.com/orgs/asciinema/discussions
1 stars 2 forks source link

Unable to figure out how to open and set up on Windows 7 #48

Closed RedCatsInAHouse closed 1 year ago

RedCatsInAHouse commented 6 years ago

I am just lost on what to download or what to do I need a tutorial on downloading for windows please I would love to use this software and try to improve it.

amistele commented 6 years ago

@RedCatsInAHouse So there is some supposed theoretical way to get it to work on windows that everyone keeps alluding to in the other issues, but after spending some time one it, I've been completely unable to figure it out. Disappointingly, no one really seems interested in trying to make it clearer or figuring it out or actually adding support for Windows, since from all that I can tell it doesn't actually exist.

kenorb commented 6 years ago

You can install Ubuntu for Windows and run:

sudo apt install asciinema

Related:

kilobyte commented 5 years ago

WSL is available only for Windows 10, and doesn't work well with native Windows programs (as opposed to other Linux ones emulated via WSL).

But there is a way: starting WinXP (and earlier regional editions) there's an API called "MSAA" that allows you to set hooks for operations on a console. It's not a neat stream of ANSI codes (as programs can sort-of-mmap the console memory and manipulate it directly, which triggers the hooks) but it's easy to write updates the Unix way — all you need are cursor movements, SGR and scrolling.

In the old days we had to go uphill in the snow both ways and poll+diff the screen, but that's no more. 😁

ibigbug commented 4 years ago

I ported a Windows version running based on the ConPTY (tty for Windows basically) https://github.com/ibigbug/PowerSession and record is working now

rollingmoai commented 1 year ago

I ported a Windows version running based on the ConPTY (tty for Windows basically) ibigbug/PowerSession and record is working now

New repo: https://github.com/Watfaq/PowerSession-rs

kilobyte commented 1 year ago

Note that ConPTY is available only in recentlish point releases of Windows 10; AFAIK released to the masses in 2020 while Win10 itself is from 2015. Such a restriction is probably fine, but should be described. A lot of people still use Win7 etc (at least, I receive bug reports from them).

On the other hand, the new way gives nice clean code. Here's how I implemented a pty using WinXP and Win98 APIs.

rollingmoai commented 1 year ago

Windows 7 has reached its end of life. People shouldn't use it anymore in the first place and I do think Win7 users have been dwindling over the years, which makes for less motivation to support this use case.

ku1ik commented 1 year ago

Closing this given Windows 7 reached EOL.