Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, Dear frenz I want to know can i send multiple data with different sends with one expect Ex: expect "*" send "anil kumar" send "Dev" send "\r" because I am unable to send more than 1024B using this send but i am unable to do that.... and I am unable to script generated by autoexpect if u know details then just let me know.... regards, Anil A Kunar +919902823383
Post Follow-up to this message> because I am unable to send more than 1024B using this send but i am > unable to do that.... 1. The problem you are encountering is, in all likelihood, NOT a problem with expect, but with the device to which you are sending. 2. As long as you are trying to send to that device in a buffered mode, it won't matter whether you have 1000 small sends, or one long one. The problem will remain. 3. If the remote system has the command "stty", read the documentation on that command - in particular, the "raw" argument.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.