From: kim M <km...@gm...> - 2006-10-04 09:48:11
|
Hi I am a newbie to expect, but have used perl for basic hacking for some years. Now I've decided to use the expect module for handling download of software to an embedded target over a serial link. I want to relay progress to the user, and I want to do this in fine grained intervals. It seems the easiest way to do this would be to count the number of chars received. Of cause I want this to happen in the background while I have expect statement blocking for a match. How do I extract the number of received chars from the Expect module? BTW: is this maillist available online or even better through gmane.org? thanks! KimM |