I just discovered something unexpected in vi (vim actually). Here's the situation:
Inside a single bash shell (RH Enterprise 4), I found that you can open a vi session on a file, use yy to yank some lines, close the vi session, vi a different file, and paste the yanked lines into it.
The surprise came when I discovered that regardless of how many lines you yank, only the first 50 lines can be pasted into the second file. It's great to be able to yank & paste between files, but why would you want to cap the number of lines at 50?
And now for a more practical question; is the 50 line limit hard coded into a binary somewhere? Can you set the number higher and if so, where?