Page 2 of 2

Re: vi Internals

Posted: Sat Jun 18, 2022 3:16 am
by qbitroot
PavelCheckov wrote:I now understand how the actual paging system works, but how much of the actual file is loaded into the buffer?
As far as I know, vi doesn't load the full file into the buffer (so it is possible to edit >2GB text files), but it does load what should be on screen and beyond. I think we need to use the force, read the source :D