X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Date: Thu, 2 Sep 2010 09:47:03 +0200 From: Peter =?utf-8?Q?M=C3=BCnster?= To: Cygwin List Subject: simulating console input Message-ID: <20100902074703.GA11464@gaston.couberia.bzh> Mail-Followup-To: Cygwin List MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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 Hello, I would like to run a Dos program, that needs keyboard input (just one "Y"), automatically via "make" in an ssh-session. How could I simulate the "Y" keypress? "echo Y | DosProgram.exe" does not work... The keypress is accepted only in a dos-console. TIA for any help! Peter -- Contact information: http://pmrb.free.fr/contact/ -- 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