This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
[b20] expect and timeout
- To: gnu-win32 <gnu-win32 at cygnus dot com>
- Subject: [b20] expect and timeout
- From: Laurent Charles <laurent dot charles at st dot com>
- Date: Tue, 17 Nov 1998 15:26:39 +0100
- Organization: STMicroelectronics
Hello,
I face some problems with 'expect' (b20) with the timeout.
The following commands:
set timeout 1
expect -re "!!!" {send_user "rrr\n"} timeout {send_user "bbb\n"}
never raises the timeout.
If I try exactly the same commands on my solaris box, it replies "bbb"
after about one second.
Any idea? Thank you.
--Laurent
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".