delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/15/06:38:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 15 Mar 2001 12:37:05 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: problem in telnet session
Message-ID: <20010315123705.A12630@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <C57135C37E89D411836D0001FA32E63B72E45A AT c...> <20010314115838 DOT V2116 AT c...> <v5y9u8fc13 DOT fsf AT P...> <20010314201133 DOT F8866 AT c...> <v5n1aoeyh6 DOT fsf AT Phantom-Slow DOT newport DOT com>
Mime-Version: 1.0
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 AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


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