increasing mcedit's filesize limit


I use mc so much, that it got annoying when I had to switch to
vi or joe, to edit big files. I don't know what the exact limit was,
but I am using the following method to increase the limit to
close to 100 meg.

Pavel, would you see if this is a bad approach?
It's been working fine for me, but you never know. I'm
just a beginner at C.

Edit /edit/edit-widget.h  for huge editor file size
#define MAXBUFF 16384

Edit /edit/edit.h  for huge editor file size
#define SIZE_LIMIT (10 * (EDIT_BUF_SIZE * (MAXBUFF - 2)))


use Perl;  #powerful programmable prestidigitation

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]