%cpaste drops characters in very long paste operations
As reported here by John Hunter:
I can confirm this problem as well. Interestingly, I only see it if I try to paste the whole file in one shot. If I break up the operation in even just two parts, it works fine. It's as if the input buffer got too full and started dropping characters. But John reported it in OSX and I see it in linux, so I don't know if it's really a terminal issue, or a bug in our own code.
As a workaround, one can either:
- break a very large %cpaste into a few smaller ones.
- use the new %paste, if the situation doesn't require manual editing of the paste buffer or assembly from multiple sources.