delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/13/17:46:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <26770344.post@talk.nabble.com>
References: <26769438 DOT post AT talk DOT nabble DOT com> <416096c60912131258l33ea2650p608d3ff08e47558f AT mail DOT gmail DOT com> <26770344 DOT post AT talk DOT nabble DOT com>
Date: Sun, 13 Dec 2009 22:45:58 +0000
Message-ID: <416096c60912131445x3ae78733je137979a07446c26@mail.gmail.com>
Subject: Re: Looking for the 'stdout' of a Windows application
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

2009/12/13 Marc Girod:
>> Surprised it doesn't work in the Cygwin console, unless you've got
>> CYGWIN=tty set?
>>
> I have. Dave Korn told me to take it away.
> Anyway, no result one way or the other.

Did you restart your Cygwin session? I think that setting only gets
read once at the start of the first Cygwin process.

>> 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.
>>
> I took your binary, and tried it in my emacs shell: it didn't help, apart
> that the shell didn't die in the end.

Oh well. I obviously misdiagnosed the situation, since you'd said the
problem was that output didn't appear. That probably means that
cleartool is using console-specific output functions. 'conin' does not
address that.

Are you getting no output from cleartool at all or is it just that the
prompt that doesn't appear? Any reaction if you enter a command
anyway?

Andy

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019