This unifies the mswindows and tty event loops under cygwin. gnuclient -nw
does the right thing if you have a mswindows frame up. I get messages in
both echo areas currently - I don't know whether this is supposed to
happen. GUEL (Grand Unified Event Loop) is a larger leap away.
andy
1999-02-16 Andy Piper <andy(a)xemacs.org>
* event-tty.c (tty_find_console_from_fd): rename from
find_console_from_fd.
(emacs_tty_next_event): use tty_find_console_from_fd.
* event-msw.c (emacs_mswindows_select_console): ignore selection
of mswindows consoles otherwise do the unixoid thig.
(emacs_mswindows_unselect_console): ditto.
* console-tty.h: declare tty_find_console_from_fd();
* event-msw.c (mswindows_need_event): always use select if we have
a msg based select. If tty events are pending, process them.