X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Date: Sun, 13 Dec 2009 13:46:49 -0800 From: Gary Johnson To: cygwin AT cygwin DOT com Subject: Re: Looking for the 'stdout' of a Windows application Message-ID: <20091213214649.GB5236@KCJs-Computer> Mail-Followup-To: cygwin AT cygwin DOT com References: <26769438 DOT post AT talk DOT nabble DOT com> <416096c60912131258l33ea2650p608d3ff08e47558f AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <416096c60912131258l33ea2650p608d3ff08e47558f@mail.gmail.com> User-Agent: Mutt/1.4.2.2i X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 2009-12-13, Andy Koppe wrote: > 2009/12/13 Marc Girod: > > I run a proprietary application, IBM Rational cleartool.exe from cygwin. > > In some usage scenarios which I am now interested in, it prompts the user > > for an interactive decision. > > I do not get this prompt under cygwin (either X --emacs shell or xterm-- or > > the Cygwin terminal. > > Surprised it doesn't work in the Cygwin console, unless you've got > CYGWIN=tty set? The problem likely is that cleartool.exe expects to > get input from a Windows console but is actually connected to a Cygwin > pty. > > I'm currently working on a little utility for this sort of situation. > It's called 'conin' and translates Cygwin pty input to Windows console > input. Source is available at > http://mintty.googlecode.com/svn/utils/conin.c and a Cygwin 1.7 > executable can be found at > http://mintty.googlecode.com/files/conin-0.0.1.zip. > > Run it as a wrapper for your program, e.g.: > > $ conin cleartool That looks really promising! I just tried it, but our ClearCase servers are apparently still down for maintenance, so I'll try again Monday. Regards, Gary -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple