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:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=pzH 8WstQDYBBo/csDFPOndGOZNO9zyCfF4Gnij2LY7FCQ6dCgGTsop1/DBGV1ysromR 4J4cityHO7JXjPA9L6WXLDPOLyUPI/4ZW7HnL2enGKqvekxhtVibaaCWiHgTRl4T YUcNob2KGlc/oWbT1jW+dcXM2yeVtVyl07s1ijKE= 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:mime-version :content-type:content-transfer-encoding; s=default; bh=zuAVIZNb3 PKJ5zGdneeoNyBujtk=; b=BseTchzmqKCua5vC7zN+ScOkjLHBNddmeLEtIuW2C DJ2Bm5NCLea2sPKGLXLLHwAfwgFpcQ8sCGbzqdH4ix45OgQ2W4IJqx1EvdxhR4xM c6VsEf+kHqK1n8ydxg6P6J/zSbSZLnZ0IlXmaUkhwhqTXtmtaAvBMCRUlzwI6UN2 cs= 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=0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: paul Subject: Get old fortran executable to update screen Date: Tue, 3 Dec 2013 16:50:41 +0000 (UTC) Lines: 13 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes 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