|
|
 |
expect
[Expect] Controlling the buffer send to Expect
by Yaron Peryanty other posts by this author
Mar 5 2008 12:01AM messages near this date
view in the new Beta List Site
[Expect] Urgent: Timed oud getting standard prompt using Expect and SSH
|
[Expect] Clear passwords in exp_internal
Hi,
I am using TCL and Expect 5.8.3.
One of my customers is using Linux and AIX and a big banner at the
logon.
When he run my script on AIX I see in the expect log that it receive
large chunks of data from the AIX.
When he run my script on Linux I see in the expect log that Linux send 1
characters after the other and it takes long time for the entire banner
to be received.
This is an example from the Expect internal log:
expect: does "*" (spawn_id exp4) match regular expression " .*\$ ?$|.*\#
?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "**" (spawn_id exp4) match regular expression " .*\$
?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "***" (spawn_id exp4) match regular expression " .*\$
?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "****" (spawn_id exp4) match regular expression " .*\$
?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "*****" (spawn_id exp4) match regular expression " .*\$
?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "******" (spawn_id exp4) match regular expression " .*\$
?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "****** " (spawn_id exp4) match regular expression " .*\$
?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "****** " (spawn_id exp4) match regular expression " .*\$
?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "****** " (spawn_id exp4) match regular expression " .*\$
?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "****** *" (spawn_id exp4) match regular expression "
.*\$ ?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
expect: does "****** **" (spawn_id exp4) match regular expression "
.*\$ ?$|.*\# ?$|.*> ?$|.*\% ?$|.*\] ?$ "? no
Do you know if I can enlarge the size of the chunks send by the remote
machine?
Thanks,
Yaron
|
|
|
 |
|