Cannot change console mode during usage of expect

2015-04-14 Thread Keith Proctor
Hello, my name is Keith Proctor. I test FileMaker Server and I have written a test suite on Macintosh. The tests work beautifully on Macintosh. I’m trying to Use Cygwin on Windows to reduce the amount of rewriting that I must do on the Windows side.The test includes a dynamically created

Re: Cannot change console mode during usage of expect

2015-04-15 Thread Keith Proctor
Corinna Vinschen cygwin.com> writes: > > On Apr 15 01:17, Keith Proctor wrote: > > Hello, my name is Keith Proctor. I test FileMaker Server and I have > > written a test suite on Macintosh. The tests work beautifully on > > Macintosh. I’m trying to Use Cygw

Re: Cannot change console mode during usage of expect

2015-04-15 Thread Keith Proctor
Mark Geisert maxrnd.com> writes: > > Keith Proctor writes: > > BTW, I expect GetConsoleMode and SetConsoleMode is standard > > usage by any console application. These calls work on Macintosh, > > Windows and Cygwin window without expect. > > Are you sure yo

Re: Cannot change console mode during usage of expect

2015-04-15 Thread Keith Proctor
Mark Geisert maxrnd.com> writes: Interesting your system does the quoting. I just left it in place. Your last shows some hope for this issue. It would be great if the solution can be a configuration change so I don't have to pre-pend something. Again trying to make the original code duel pl

Re: Cannot change console mode during usage of expect

2015-04-15 Thread Keith Proctor
Interesting...I found the expect executable on disk, double clicked it and it opened a window so I typed in my original expect program without expect -c and surrounding quotes. I then ran it and found the same errors. The GetConsoleMode() and SetConsoleMode() calls are not being allowed to exit t

Re: Cannot change console mode during usage of expect

2015-04-15 Thread Keith Proctor
Marco Atzeri gmail.com> writes: Thanks Marco but I'm not sure which direction your asking me to go. Should I: 1) Install Console2 ( I didn't find it in the Cygwin installer) 2) Build the tool mentioned in the link and prepend build/console.exe to all my DOS commands. The second seams like a

Re: Cannot change console mode during usage of expect

2015-04-16 Thread Keith Proctor
Marco Atzeri gmail.com> writes: OK, I've done both this morning and neither work. I've figured out a bit more, In general, expect is working with non password tests. So I have turned off anything that would test a password and I'm running my automation now. Again to be clear... fmsadmin wor