On Thu, Sep 02 2010, Larry Hall (Cygwin) wrote:
How could I simulate the Y keypress?
echo Y | DosProgram.exe does not work...
The keypress is accepted only in a dos-console.
Read http://cygwin.com/cygwin-ug-net/using-effectively.html#using-console.
Then add this fact - the SSH server
On 3 September 2010 08:53, Peter Münster wrote:
Read http://cygwin.com/cygwin-ug-net/using-effectively.html#using-console.
Then add this fact - the SSH server uses ptys. So your program will not
work with a single character put in the input buffer. One could
envision using 'yes' to fill the
On 03.09.2010 10:53, Peter Münster wrote:
So my questions are:
- Is it possible to write such a program: ConsoleKeypressSimulator.exe ?
Try http://www.autohotkey.com/
Or try VBScript/JScript:
$ cat command.js
var process = WScript.CreateObject(WScript.Shell);
On Fri, Sep 03 2010, Andy Koppe wrote:
I've written a utility called 'conin' that translates pty input to
console events. Perhaps that'll do the job. See here:
http://groups.google.com/group/mintty-discuss/browse_thread/thread/1f9cf480117b8a0b
Great, it works! It's as easy as echo y |
On 3 September 2010 10:01, Peter Münster wrote:
On Fri, Sep 03 2010, Andy Koppe wrote:
I've written a utility called 'conin' that translates pty input to
console events. Perhaps that'll do the job. See here:
http://groups.google.com/group/mintty-discuss/browse_thread/thread/1f9cf480117b8a0b
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
Greetings, Peter Munster!
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.
If the program
On 2010-09-02 9:47 AM, Peter Münster wrote:
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
On 9/2/2010 3:47 AM, Peter Münster wrote:
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.
On 9/2/2010 3:47 AM, Peter Münster wrote:
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
On 09/02/2010 03:17 PM, risin...@nationwide.com wrote:
How could I simulate the Y keypress?
echo Y | DosProgram.exe does not work...
Would an inline document work?
DosProgram.exe!
Y
!
No. Bash uses a pipe under the hood for here-docs, so it is no
different than the already-established
11 matches
Mail list logo