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]

Get old fortran executable to update screen


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

Thanks for any suggestions.


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