Make Cygwin damons easier to use on Win9x.

Kazuhiro Fujieda
Wed Jun 27 14:59:00 GMT 2001

>>> On Wed, 27 Jun 2001 22:08:40 +0400
>>> egor duda <> said:

> there's a forced AllocConsole() in cygwin inetd to allow some non-cygwin
> applications to be run via ssh or telnet.
> see for
> details. won't your patch break this?

No, my patch effects such applications as become daemons with
setsid(). Inetd running as a service on WinNT/2k never does so.

Anyway, I failed to notice this change of inetd because
I usually use sshd only.

It causes a problem on Win9x. It makes inetd unable to run
without its console window anymore. Inetd opens a console window
even when it is executed via the `run' utility by Charles Wilson.

On Win9x, the commands mentioned in the archived mail (net and
start) work the same either with or without the AllocConsole().
So there is no need of it on Win9x.
  | AIST      Kazuhiro Fujieda <>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

More information about the Cygwin-patches mailing list