Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <3.0.5.32.20030416203609.007fc5c0@incoming.verizon.net> X-Sender: vze1u1tg AT incoming DOT verizon DOT net Date: Wed, 16 Apr 2003 20:36:09 -0400 To: Egor Duda From: "Pierre A. Humblet" Subject: AllocConsole in inetd [Was: Re: tcgetattr problem [Was Re: 1.3.22: bug report]] Cc: cygwin AT cygwin DOT com In-Reply-To: <3E9D4CA4.3010806@corpit.ru> References: <20030416112727 DOT GA34086029 AT hpn5170x> <00e201c2feca$8cf4d660$cc0aa8c0 AT adexainc DOT com> <3 DOT 0 DOT 5 DOT 32 DOT 20030415221945 DOT 007f8950 AT incoming DOT verizon DOT net> <20030416082033 DOT GL11137 AT cygbert DOT vinschen DOT de> <20030416112727 DOT GA34086029 AT hpn5170x> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 04:29 PM 4/16/2003 +0400, Egor Duda wrote: >Pierre A. Humblet wrote: >> While we (well, you) are at it, inetd.c calls AllocConsole, which can cause >> an extra window to appear. Is it needed? When I remove that call everything >> still looks OK > >http://sources.redhat.com/ml/cygwin/2001-03/msg00764.html Thanks for the pointer, Egor. Here is the feedback I promised to Corinna: Without the AllocConsole in inetd.c, Windows programs such as net, ping and route run fine while being logged in on Win95/ME, and inetd does not open an extra window. So that call should be removed. On the other hand, "net" doesn't work on Win2000 under ssh when sshd is launched directly by cygrunsrv (and not through inetd). If this is confirmed, perhaps an AllocConsole should be added there. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/