Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> <1089650455 DOT 40f2bf1761d8f AT webmail DOT in-berlin DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 : > > 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/