X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=uNrk0DqRsBWc1uSY
	TJLTReRyXzHdXnQv0xI87GbeoicXFnXzaK/heekPj+CIvETIinrtfVQxzrS1ljAO
	gB0J5cMUF7yHxl0mq+Fqo5hF/X0WYv6EsOFgqRlsNWtRJG5FB7HsbbjOaoW8Xda2
	6w6+2FDvQSQaiqxzukGhFIxmA54=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=4e0TaW/7Vulx7mr7vJH+ey
	7qbyY=; b=Zxgq4OoZ4yLrdMcvnojGu2uJIdokRS3gbnmpoN6Wv2EuwIG6AARcCH
	WseBdjPBbWljdn8/TKuM9t5kG3WKiO9affsMA08Bm+IsdyCdzzUW0ESYrF/l8THo
	omTCcEVA0pc4KZl8++/K5XQnByu3qFrzXkWlky/oe4yzis5aTFTUE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RDNS_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Tue, 3 Dec 2013 22:47:52 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <429170159.20131203224752@mtu-net.ru>
To: paul <paul.domaskis@gmail.com>, cygwin@cygwin.com
Subject: Re: Get old fortran executable to update screen
In-Reply-To: <loom.20131203T174612-180@post.gmane.org>
References: <loom.20131203T174612-180@post.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, paul!

> I'm using an executable compiled from a FORTRAN program  When I run it from 
> a DOS command line, I get prompts and progress updates (an iteration count 
> that rewrites the line without scrolling the screen upward).
> I get none of this when I invoke the program from a cygwin bash shell.

I suspect you are saying "bash shell" where it should be "mintty terminal",
which may be the actual culprit for your issue.
Try running bash directly (it should start in standard Windows console) and
repeat your tests.

> The output that should have been displayed to the user is in fact captured
> if I run the unix (cygwin) script command, but no guileful tricks I tried
> made the prompts and progress updates display in real time.  I tried the
> script command options -f and -c OldFortramProgram.exe.
> I managed to get around the lack of prompts by memorizing the order of the
> input required of the user, and that allows the program to proceed.
> The progress updates would be useful, though (long run times).


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 03.12.2013, <22:45>

Sorry for my terrible english...


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

