Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 15 Mar 2001 12:37:05 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin <cygwin@cygwin.com>
Subject: Re: problem in telnet session
Message-ID: <20010315123705.A12630@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin@cygwin.com>
References: <C57135C37E89D411836D0001FA32E63B72E45A@c...> <20010314115838.V2116@c...> <v5y9u8fc13.fsf@P...> <20010314201133.F8866@c...> <v5n1aoeyh6.fsf@Phantom-Slow.newport.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <v5n1aoeyh6.fsf@Phantom-Slow.newport.com>; from rdong@newport.com on Wed, Mar 14, 2001 at 03:12:53PM -0800

On Wed, Mar 14, 2001 at 03:12:53PM -0800, Rui-Tao Dong wrote:
> I was thinking that if I could get 
> 
>   start.dwFlags = STARTF_USESHOWWINDOW;
>   start.wShowWindow = SW_HIDE;
> 
> into LPSTARTUPINFO before inetd forks the first client, everything
> should be OK.  However, I can't find an obvious place to insert the
> code.

You will not find that anywher in the inetd code. inetd uses fork/exec
which is in Cygwin handled by calling some dubious Windows functions
including CreateProcess. If you want to add that change to inetd you're
on your own since you would have to rewrite the call of the child
process completely by yourself. Be aware that that will heavily influence
interaction with Cygwin processes up to a full disfunctionality.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

