delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/12/12:50:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Mon, 12 Jul 2004 18:50:12 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin telnetd/xinetd and non-cygwin Python: no interaction
Message-ID: <20040712165012.GA30626@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1089641837 DOT 40f29d6d8ea25 AT webmail DOT in-berlin DOT de> <Pine DOT GSO DOT 4 DOT 58 DOT 0407121139000 DOT 11227 AT slinky DOT cs DOT nyu DOT edu> <1089650455 DOT 40f2bf1761d8f AT webmail DOT in-berlin DOT de>
Mime-Version: 1.0
In-Reply-To: <1089650455.40f2bf1761d8f@webmail.in-berlin.de>
User-Agent: Mutt/1.4.2i

On Jul 12 18:40, W. Borgert wrote:
> Quoting Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>:
> > On Mon, 12 Jul 2004, W. Borgert wrote:
> > > I managed to telnet into my XP box using cygwin xinetd, but if I run
> > > Python (not the cygwin variant, but the stock www.python.org
> > > installer) I get no interaction at all.  Running the same Python
> > > variant in the cygwin bash without telnet session, there is no
> > > problem.  Is this a known limitation?  Did I do something wrong?  Do
> > > I have to tweak the CYGWIN variable?  Many thanks in advance!
> >
> > A WAG: some Windows programs may require interaction with desktop, even
> > for non-graphical tasks.  Check out the "-i" flag to cygrunsrv, or the
> > "Allow service to interact with desktop" checkbox in the Windows service
> > properties dialog.
> 
> Interesting guess, but I did not manage to run xinetd as a service.
> Is there a way to run xinetd with "desktop interaction", but not as
> a service?  As I started xinetd manually I thought that interaction
> with the desktop would be allowed and possible.  Thanks for any hint!

The remote terminal is running through pseudo ttys which are implemented
using pipes.  There's a good chance that the native python implementation
doesn't interact interactively with the user if the stdio file descriptors
are connected to pipes.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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