Message6212

Author zyasoft
Recipients neuroaudio, zyasoft
Date 2010-10-26.16:54:50
SpamBayes Score 1.0807553e-07
Marked as misclassified No
Message-id <1288112091.67.0.486911155735.issue1669@psf.upfronthosting.co.za>
In-reply-to
Content
As I understand it, this issue is related to this same problem seen in JRuby of the same setup (cygwin + alt terminal):
http://jira.codehaus.org/browse/JRUBY-5068

The reason it worked in the past was that the logic was backwards - isatty should return False, given the workaround used by such terminals by using pipes. This meant that just for this setup, our previous buggy logic actually worked!

-i does seem to be the obvious thing to do, but looking at org.python.util.jython#run shows that opts.fixInteractive is treated differently than opts.interactive. Need to figure out why. But maybe we need a separate flag, or more likely property specific to Jython, that means "terminal interactive", preserving the other case where it's only has a part of the interactive quality.

This was also recommend in the JRuby case.
History
Date User Action Args
2010-10-26 16:54:51zyasoftsetmessageid: <1288112091.67.0.486911155735.issue1669@psf.upfronthosting.co.za>
2010-10-26 16:54:51zyasoftsetrecipients: + zyasoft, neuroaudio
2010-10-26 16:54:51zyasoftlinkissue1669 messages
2010-10-26 16:54:50zyasoftcreate