This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Get old fortran executable to update screen


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]