delorie.com/archives/browse.cgi | search |
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:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; q=dns; s= | |
default; b=sYy9KmnANFSLC3HvrqF4Tot7uB+reVUhtKZ/rSw5+YFSUx99A7/fQ | |
3uPHQrG1J7QTTjZhXtrf4/OWn9LQyeo/tj9YQ2uhVzVzD25D+eX/3yaTjjV91+9T | |
YnyueZOjn066Lu5XlmbJH/Q11SZvtkcPU4IfGxdHa/6Kn1KP7p/4J0= | |
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:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; s=default; | |
bh=wR4rpuKTLw2UQ6+I8cQyok9Os0c=; b=qet6G+nfPDdoY5wsdF444pXF/64P | |
05P7RozwWQ+BSV6IoJ4iLE1Lj8KLtj454J8+WJTNKQOvaX3aGaJWNvyxr7Wmsrc+ | |
dMUpgylujhl8U34MqW7PWB2yMmltvWZY1Y2yJ8eOm8vhfZMlVWMvYB5udbU2WahI | |
vEdBd0Vp4/d6REQ= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2 |
X-HELO: | plane.gmane.org |
To: | cygwin AT cygwin DOT com |
From: | paul <paul DOT domaskis AT gmail DOT com> |
Subject: | Re: Get old fortran executable to update screen |
Date: | Wed, 4 Dec 2013 16:25:41 +0000 (UTC) |
Lines: | 34 |
Message-ID: | <loom.20131204T172159-843@post.gmane.org> |
References: | <loom DOT 20131203T174612-180 AT post DOT gmane DOT org> <429170159 DOT 20131203224752 AT mtu-net DOT ru> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Andrey Repin <anrdaemon <at> yandex.ru> writes: > > 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). > > Sorry for my terrible english... You English seems perfectly comprehensible, Andrey. Andrey, you're partly right about mintty. If I use a DOS command line window and directly invoke bash.exe -i, I get all the prompts and iteration count updates. However, the bottleneck then becomes the script command. Even with the -f option, it buffers the text being saved before sending accumulated content to the screen in bursts. Ah well. Thanks. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |