Imported from the Apple Support Forums via the Wayback Machine 🔗
When trying to paste data into the terminal, I noticed that it was getting truncated. I started trying various lengths, and found that it only pastes 4095 characters.
Imported from the Apple Support Forums via the Wayback Machine 🔗
What are you trying to paste?
0
jrsmobile·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Just plain text, in to an emacs session.
First it was HTML, then I tried just a bunch of #'s to see where it got truncated.
0
BobHarris·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I've pasted more than 4095 characters into the terminal, however, I've found that some applications running on the terminal may limit the amount of input they will accept before their input buffers overflow.
For example, I've have problems with some editors accepting large pastes.
However, I've been able to paste large amounts into "cat".
cat >tmp.tmp
and then I would use the editor's import capabilities to read the file.
In the good old days I used vi. These days I use Vim. Not an editor for everyone, but since I've been using this editor family since '85 it is where my fingers feel at home 🙂
Your mileage may vary.
0
jrsmobile·
Imported from the Apple Support Forums via the Wayback Machine 🔗