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

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 16 Apr 2003 20:40:08 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: AllocConsole in inetd [Was: Re: tcgetattr problem [Was Re:
1.3.22: bug report]]
In-Reply-To: <3.0.5.32.20030416203609.007fc5c0@incoming.verizon.net>
Message-ID: <Pine.GSO.4.44.0304162038540.15874-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Wed, 16 Apr 2003, Pierre A. Humblet wrote:

> 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

Pierre,

Do you mean "with your patch"?  Because "net" works just fine with the
current (stock) ssh/sshd (and cygrunsrv) in Win2k.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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