X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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 Reply-To: Andrey Repin Message-ID: <429170159.20131203224752@mtu-net.ru> To: paul , cygwin AT cygwin DOT com Subject: Re: Get old fortran executable to update screen In-Reply-To: References: 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 AT yandex DOT 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