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