delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/16/20:35:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <deo AT corpit DOT ru>
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019