Closed RedCatsInAHouse closed 1 year 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.
You can install Ubuntu for Windows and run:
sudo apt install asciinema
Related:
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. 😁
I ported a Windows version running based on the ConPTY (tty for Windows basically) https://github.com/ibigbug/PowerSession and record is working now
I ported a Windows version running based on the ConPTY (tty for Windows basically) ibigbug/PowerSession and record is working now
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.
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.
Closing this given Windows 7 reached EOL.
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.