Hi!
i wrote a program called "ttyfier" which allows starting any
win32 console application (or attaching to the existing one) and
work with it via cygwin's tty interface. basically, this means
that you can start any console application (including dos programs
in ntvdm) on remote machine via Corinna's port of openssh and work
with it interactively (a-la pcAnywhere).
i'll announce it shortly in cygwin list and post it on my home page.
this program requires, however, a small support feature from
cygwin1.dll, which is implemented in this patch. Sending \033[2000h
sequence to cygwin console makes it switch to "raw-win32" mode, where
every win32 keyboard event is translated to \033{x;y;z;t;u;vK sequence
where in x, y, z, t, u and v the fields of KEY_EVENT_RECORD are
encoded. \033[2000l turns raw-win32 mode off.
Egor. mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19
raw-win32-keyboard-mode.diff
raw-win32-keyboard-mode.ChangeLog