[quote=āGrantā]Will any MinGW or Cygwin help with getting this supported in Windows?
Why doesnāt this work on Windows? the Pyte library should be cross platform[/quote]
Pyte is not a problem. Actually w/o it this whole thing would probably never happen!
I want SublimePTY to be real terminal emulator/console on all three platforms. The main reason behind that, is that if you donāt emulate terminal good enough, some programs behave differently.
Doing this on osx and linux is mostly the same and well documented (blog.nelhage.com/2009/12/a-brief ā¦ o-termios/) thatās why I am working on it first and with good results.
Attaching and controlling a windows console is a different thing altogether. One Example: a single windows process can have only ONE console attached, so if you want to control many, you need to spawn child processes and because they need to detach from parent console and create a new one for themselves, you canāt communicate with them through STDIO (AFAIK). So, you have to communicate through something else, Conque uses shared memory (actually, 4 shared memory blocks per subprocess) but itās a mess. I would love to use 0MQ, but unfortunately it crashes sublime, so itās either bare sockets or something like Pyro4.
Iāll probably take a look if bash.exe ran in the way SublimeREPL does it is usable as a POSIX/VT100 compatible shell. But itās a workaround and ultimately I would like to avoid that.