This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cannot change console mode during usage of expect
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 16 Apr 2015 21:39:00 +0200
- Subject: Re: Cannot change console mode during usage of expect
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20150415T025305-586 at post dot gmane dot org> <loom dot 20150416T022401-455 at post dot gmane dot org> <552F3C2D dot 2060808 at gmail dot com> <loom dot 20150416T081503-394 at post dot gmane dot org>
On 4/16/2015 8:20 AM, Keith Proctor wrote:
Marco Atzeri <marco.atzeri <at> gmail.com> writes:
<snip>
Thanks Marco but I'm not sure which direction your asking me
to go. Should I:
No directions.
I was giving just a link on similar discussed ones that could
give you an hint and explanation why your trial does not work.
1) Install Console2 ( I didn't find it in the Cygwin installer)
It is not a cygwin program.
2) Build the tool mentioned in the link and prepend
build/console.exe to all my DOS commands.
It is a possibility if you want to try the interaction
between your not-cygwin aware program and the cygwin version
of expect. I never used it.
The second seams like a bit of a hack and I would have to do
the equivalent of #define for Windows versus Mac in my code.
It is also a hack to use cygwin expect with a
not cygwin program.
Maybe I missed missed another option?
Inquiring minds Inquire, :)
Keith
Regards
Marco
--
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