This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin telnetd/xinetd and non-cygwin Python: no interaction


On Jul 12 18:40, W. Borgert wrote:
> Quoting Igor Pechtchanski <pechtcha@cs.nyu.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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]