delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/14/04:44:07

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
Message-ID: <C57135C37E89D411836D0001FA32E63B72E45A@ccentexchange.strg.arte>
From: Kalkoul Morad <M-Kalkoul AT arte-tv DOT com>
To: "'Egor Duda'" <cygwin AT cygwin DOT com>
Subject: RE: problem in telnet session
Date: Wed, 14 Mar 2001 10:41:50 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id EAA10189

Hi,

like Corinna said that your patch runs, and because I'm not a big
programmer, 
if you can tell me everything that it hat to do update my inetd wit the
command line to compile inetd?

Thans in advance
 


-----Message d'origine-----
De : Egor Duda [mailto:deo AT logos-m DOT ru]
Envoyé : mardi 13 mars 2001 15:32
À : Kalkoul Morad
Cc : cygwin AT cygwin DOT com
Objet : Re: problem in telnet session


Hi!

Tuesday, 13 March, 2001 Kalkoul Morad M-Kalkoul AT arte-tv DOT com wrote:

KM> I did it:
>>i  believe  this is due to some net.exe "feature". it seems that if it
>>runs  out  of  console  window, it creates new console and outputs 
>>everything  there.  it's  can easily seen by setting "Allow Service to
>>interact   with   desktop"   for  inetd  service. when you run in your
>>telnet  or ssh session 'net start some_big_service' you'll see console
>>window with net.exe output popping up on your desktop.

KM> but it doesn't work, have you another idea?

what  exactly  doesn't  work?  before-mentioned  procedure?
probably  i  didn't  make myself clear enough, but if you suppose that
setting  "Allow  Service to interact with desktop" will make net start
displaying  output in your telnet session then you're wrong. it won't.
the  sole  purpose  of  this  procedure  is  to _illustrate_ where the
problem   is.   To  _solve_  the  problem, you should either apply the
patch yourself or wait for updated inetutils package.

KM> the  following simple patch to inetd solved this problem for me.
Corinna,
KM> can you please consider it?

KM> --- inetd.c.orig        Tue Mar 13 16:13:31 2001
KM> +++ inetd.c     Tue Mar 13 16:10:44 2001
KM> @@ -612,8 +612,11 @@ service_main(argc, argv)
KM>         pid_t pid;
KM>         char buf[50];
KM> +
KM> +#ifdef __CYGWIN__
KM>          exception_list except_list;
KM>          cygwin_internal (CW_INIT_EXCEPTIONS, &except_list);
 
KM> -#ifdef __CYGWIN__
KM> +        AllocConsole ();
KM> +
KM>          if (is_winnt && !debug) {
KM>              openlog("inetd", LOG_PID | LOG_NOWAIT, LOG_DAEMON);

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


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