On 04/05/2013 03:19 PM, Scott Talbert wrote: > On Fri, 5 Apr 2013, Phil Dibowitz wrote: > >>>> Reading config: 99% 1664 KiBReading config: 99% 1664 >>>> KiBSuccess! >>> >>> Are you talking about the fact that it goes to 99% and stays there? >>> Unfortunately, there isn't really anything we can do about that because we >>> don't actually know how much data we are going to receive. >> >> No I mean we read from the config up to 1664k, then DON"T send a newline then >> apparently "read" again (write to file)? > > OK, here's a patch for sending a "done" when we're done. The second read is > necessary since we don't know the config size at the beginning.
Ugh. I remember this now. That's particularly obnoxious given how big the configs are for these guys. It takes a LONG time to dump. Ugh. Also, this is weird: Reading config: 100% 1664 KiB done Reading config: 100% 1664 KiB done [phil@rider ~]$ ls -lh /tmp/9dump -rw-r--r-- 1 root root 457K Apr 6 18:39 /tmp/9dump That's a pretty big discrepency... :/ Either way your patch works, applying. Though I wonder if we should make that one "stage"... so we go 50% for the first read and 99% for the second read or something... otherwise it's just confusing to the user. -- Phil Dibowitz p...@ipom.com Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Seuss
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel