> It seems like windows console > programs work with screen buffers, something like using curses.
This is the case for a few windows commands but many, even the majority don't use windows console functions, they just read from stdin and writ to stdout so you can run then via a pipe. I do this all the time as I have a Plna9 desktop but have a cpu(1) like command dos(1) which opens a session to a windows box for command line access; I write embedded code which is crosscompiled using gcc on windows. I wil describe this more if you like and you can have the code but I'am on holiday for a week. -Steve
