This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Get old fortran executable to update screen
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: paul <paul dot domaskis at gmail dot com>, cygwin at cygwin dot com
- Date: Tue, 3 Dec 2013 22:47:52 +0400
- Subject: Re: Get old fortran executable to update screen
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20131203T174612-180 at post dot gmane dot org>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
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